Class: Stripe::Tax::RegistrationCreateParams::CountryOptions::Us::StateSalesTax::Election
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Tax::RegistrationCreateParams::CountryOptions::Us::StateSalesTax::Election
- Defined in:
- lib/stripe/params/tax/registration_create_params.rb
Instance Attribute Summary collapse
-
#jurisdiction ⇒ Object
A FIPS code representing the local jurisdiction.
-
#type ⇒ Object
The type of the election for the state sales tax registration.
Instance Method Summary collapse
-
#initialize(jurisdiction: nil, type: nil) ⇒ Election
constructor
A new instance of Election.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(jurisdiction: nil, type: nil) ⇒ Election
Returns a new instance of Election.
1485 1486 1487 1488 |
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1485 def initialize(jurisdiction: nil, type: nil) @jurisdiction = jurisdiction @type = type end |
Instance Attribute Details
#jurisdiction ⇒ Object
A FIPS code representing the local jurisdiction. Supported FIPS codes are: 003 (Allegheny County) and 60000 (Philadelphia City).
1481 1482 1483 |
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1481 def jurisdiction @jurisdiction end |
#type ⇒ Object
The type of the election for the state sales tax registration.
1483 1484 1485 |
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1483 def type @type end |