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

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

Defined Under Namespace

Classes: AdmissionsTax, AttendanceTax, EntertainmentTax, GrossReceiptsTax, HospitalityTax, LocalAmusementTax, LocalLeaseTax, LuxuryTax, ResortTax, StateSalesTax, TourismTax

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods inherited from StripeObject

#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#admissions_taxObject (readonly)

Attribute for field admissions_tax



1906
1907
1908
# File 'lib/stripe/resources/tax/registration.rb', line 1906

def admissions_tax
  @admissions_tax
end

#attendance_taxObject (readonly)

Attribute for field attendance_tax



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

def attendance_tax
  @attendance_tax
end

#entertainment_taxObject (readonly)

Attribute for field entertainment_tax



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

def entertainment_tax
  @entertainment_tax
end

#gross_receipts_taxObject (readonly)

Attribute for field gross_receipts_tax



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

def gross_receipts_tax
  @gross_receipts_tax
end

#hospitality_taxObject (readonly)

Attribute for field hospitality_tax



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

def hospitality_tax
  @hospitality_tax
end

#local_amusement_taxObject (readonly)

Attribute for field local_amusement_tax



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

def local_amusement_tax
  @local_amusement_tax
end

#local_lease_taxObject (readonly)

Attribute for field local_lease_tax



1918
1919
1920
# File 'lib/stripe/resources/tax/registration.rb', line 1918

def local_lease_tax
  @local_lease_tax
end

#luxury_taxObject (readonly)

Attribute for field luxury_tax



1920
1921
1922
# File 'lib/stripe/resources/tax/registration.rb', line 1920

def luxury_tax
  @luxury_tax
end

#resort_taxObject (readonly)

Attribute for field resort_tax



1922
1923
1924
# File 'lib/stripe/resources/tax/registration.rb', line 1922

def resort_tax
  @resort_tax
end

#stateObject (readonly)

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



1924
1925
1926
# File 'lib/stripe/resources/tax/registration.rb', line 1924

def state
  @state
end

#state_sales_taxObject (readonly)

Attribute for field state_sales_tax



1926
1927
1928
# File 'lib/stripe/resources/tax/registration.rb', line 1926

def state_sales_tax
  @state_sales_tax
end

#tourism_taxObject (readonly)

Attribute for field tourism_tax



1928
1929
1930
# File 'lib/stripe/resources/tax/registration.rb', line 1928

def tourism_tax
  @tourism_tax
end

#typeObject (readonly)

Type of registration in the US.



1930
1931
1932
# File 'lib/stripe/resources/tax/registration.rb', line 1930

def type
  @type
end

Class Method Details

.field_remappingsObject



1948
1949
1950
# File 'lib/stripe/resources/tax/registration.rb', line 1948

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
# File 'lib/stripe/resources/tax/registration.rb', line 1932

def self.inner_class_types
  @inner_class_types = {
    admissions_tax: AdmissionsTax,
    attendance_tax: AttendanceTax,
    entertainment_tax: EntertainmentTax,
    gross_receipts_tax: GrossReceiptsTax,
    hospitality_tax: HospitalityTax,
    local_amusement_tax: LocalAmusementTax,
    local_lease_tax: LocalLeaseTax,
    luxury_tax: LuxuryTax,
    resort_tax: ResortTax,
    state_sales_tax: StateSalesTax,
    tourism_tax: TourismTax,
  }
end