Class: Stripe::Tax::RegistrationCreateParams::CountryOptions::Us::StateSalesTax::Election

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/tax/registration_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(jurisdiction: nil, type: nil) ⇒ Election

Returns a new instance of Election.



1476
1477
1478
1479
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1476

def initialize(jurisdiction: nil, type: nil)
  @jurisdiction = jurisdiction
  @type = type
end

Instance Attribute Details

#jurisdictionObject

A [FIPS code](www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: ‘003` (Allegheny County) and `60000` (Philadelphia City).



1472
1473
1474
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1472

def jurisdiction
  @jurisdiction
end

#typeObject

The type of the election for the state sales tax registration.



1474
1475
1476
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1474

def type
  @type
end