Class: Stripe::Tax::Registration::CreateParams::CountryOptions::Us::StateSalesTax::Election

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/tax/registration.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.



2448
2449
2450
2451
# File 'lib/stripe/resources/tax/registration.rb', line 2448

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).



2444
2445
2446
# File 'lib/stripe/resources/tax/registration.rb', line 2444

def jurisdiction
  @jurisdiction
end

#typeObject

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



2446
2447
2448
# File 'lib/stripe/resources/tax/registration.rb', line 2446

def type
  @type
end