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

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/tax/registration.rb

Defined Under Namespace

Classes: LocalAmusementTax, LocalLeaseTax, StateSalesTax

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Us.



1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
# File 'lib/stripe/resources/tax/registration.rb', line 1918

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

Instance Attribute Details

#local_amusement_taxObject

Options for the local amusement tax registration.



1908
1909
1910
# File 'lib/stripe/resources/tax/registration.rb', line 1908

def local_amusement_tax
  @local_amusement_tax
end

#local_lease_taxObject

Options for the local lease tax registration.



1910
1911
1912
# File 'lib/stripe/resources/tax/registration.rb', line 1910

def local_lease_tax
  @local_lease_tax
end

#stateObject

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



1912
1913
1914
# File 'lib/stripe/resources/tax/registration.rb', line 1912

def state
  @state
end

#state_sales_taxObject

Options for the state sales tax registration.



1914
1915
1916
# File 'lib/stripe/resources/tax/registration.rb', line 1914

def state_sales_tax
  @state_sales_tax
end

#typeObject

Type of registration to be created in the US.



1916
1917
1918
# File 'lib/stripe/resources/tax/registration.rb', line 1916

def type
  @type
end