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

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.



1503
1504
1505
1506
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1503

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

Instance Attribute Details

#jurisdictionObject

A FIPS code representing the local jurisdiction. Supported FIPS codes are: 003 (Allegheny County) and 60000 (Philadelphia City).



1499
1500
1501
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1499

def jurisdiction
  @jurisdiction
end

#typeObject

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



1501
1502
1503
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1501

def type
  @type
end