Class: Stripe::Tax::RegistrationCreateParams::CountryOptions::Us

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

Defined Under Namespace

Classes: HomeRuleTax, LocalAmusementTax, LocalLeaseTax, StateSalesTax

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(local_amusement_tax: nil, local_lease_tax: nil, state: nil, state_sales_tax: nil, type: nil, home_rule_tax: nil) ⇒ Us

Returns a new instance of Us.



1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1519

def initialize(
  local_amusement_tax: nil,
  local_lease_tax: nil,
  state: nil,
  state_sales_tax: nil,
  type: nil,
  home_rule_tax: nil
)
  @local_amusement_tax = local_amusement_tax
  @local_lease_tax = local_lease_tax
  @state = state
  @state_sales_tax = state_sales_tax
  @type = type
  @home_rule_tax = home_rule_tax
end

Instance Attribute Details

#home_rule_taxObject

Options for the home rule tax registration.



1517
1518
1519
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1517

def home_rule_tax
  @home_rule_tax
end

#local_amusement_taxObject

Options for the local amusement tax registration.



1507
1508
1509
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1507

def local_amusement_tax
  @local_amusement_tax
end

#local_lease_taxObject

Options for the local lease tax registration.



1509
1510
1511
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1509

def local_lease_tax
  @local_lease_tax
end

#stateObject

Two-letter US state code ([ISO 3166-2](en.wikipedia.org/wiki/ISO_3166-2)).



1511
1512
1513
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1511

def state
  @state
end

#state_sales_taxObject

Options for the state sales tax registration.



1513
1514
1515
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1513

def state_sales_tax
  @state_sales_tax
end

#typeObject

Type of registration to be created in the US.



1515
1516
1517
# File 'lib/stripe/params/tax/registration_create_params.rb', line 1515

def type
  @type
end