Class: Stripe::Tax::Registration::CountryOptions::Us
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::Tax::Registration::CountryOptions::Us
- 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
-
#admissions_tax ⇒ Object
readonly
Attribute for field admissions_tax.
-
#attendance_tax ⇒ Object
readonly
Attribute for field attendance_tax.
-
#entertainment_tax ⇒ Object
readonly
Attribute for field entertainment_tax.
-
#gross_receipts_tax ⇒ Object
readonly
Attribute for field gross_receipts_tax.
-
#hospitality_tax ⇒ Object
readonly
Attribute for field hospitality_tax.
-
#local_amusement_tax ⇒ Object
readonly
Attribute for field local_amusement_tax.
-
#local_lease_tax ⇒ Object
readonly
Attribute for field local_lease_tax.
-
#luxury_tax ⇒ Object
readonly
Attribute for field luxury_tax.
-
#resort_tax ⇒ Object
readonly
Attribute for field resort_tax.
-
#state ⇒ Object
readonly
Two-letter US state code ([ISO 3166-2](en.wikipedia.org/wiki/ISO_3166-2)).
-
#state_sales_tax ⇒ Object
readonly
Attribute for field state_sales_tax.
-
#tourism_tax ⇒ Object
readonly
Attribute for field tourism_tax.
-
#type ⇒ Object
readonly
Type of registration in the US.
Attributes inherited from StripeObject
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?, #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_tax ⇒ Object (readonly)
Attribute for field admissions_tax
1893 1894 1895 |
# File 'lib/stripe/resources/tax/registration.rb', line 1893 def admissions_tax @admissions_tax end |
#attendance_tax ⇒ Object (readonly)
Attribute for field attendance_tax
1895 1896 1897 |
# File 'lib/stripe/resources/tax/registration.rb', line 1895 def attendance_tax @attendance_tax end |
#entertainment_tax ⇒ Object (readonly)
Attribute for field entertainment_tax
1897 1898 1899 |
# File 'lib/stripe/resources/tax/registration.rb', line 1897 def entertainment_tax @entertainment_tax end |
#gross_receipts_tax ⇒ Object (readonly)
Attribute for field gross_receipts_tax
1899 1900 1901 |
# File 'lib/stripe/resources/tax/registration.rb', line 1899 def gross_receipts_tax @gross_receipts_tax end |
#hospitality_tax ⇒ Object (readonly)
Attribute for field hospitality_tax
1901 1902 1903 |
# File 'lib/stripe/resources/tax/registration.rb', line 1901 def hospitality_tax @hospitality_tax end |
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
1903 1904 1905 |
# File 'lib/stripe/resources/tax/registration.rb', line 1903 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
1905 1906 1907 |
# File 'lib/stripe/resources/tax/registration.rb', line 1905 def local_lease_tax @local_lease_tax end |
#luxury_tax ⇒ Object (readonly)
Attribute for field luxury_tax
1907 1908 1909 |
# File 'lib/stripe/resources/tax/registration.rb', line 1907 def luxury_tax @luxury_tax end |
#resort_tax ⇒ Object (readonly)
Attribute for field resort_tax
1909 1910 1911 |
# File 'lib/stripe/resources/tax/registration.rb', line 1909 def resort_tax @resort_tax end |
#state ⇒ Object (readonly)
Two-letter US state code ([ISO 3166-2](en.wikipedia.org/wiki/ISO_3166-2)).
1911 1912 1913 |
# File 'lib/stripe/resources/tax/registration.rb', line 1911 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
1913 1914 1915 |
# File 'lib/stripe/resources/tax/registration.rb', line 1913 def state_sales_tax @state_sales_tax end |
#tourism_tax ⇒ Object (readonly)
Attribute for field tourism_tax
1915 1916 1917 |
# File 'lib/stripe/resources/tax/registration.rb', line 1915 def tourism_tax @tourism_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
1917 1918 1919 |
# File 'lib/stripe/resources/tax/registration.rb', line 1917 def type @type end |
Class Method Details
.field_remappings ⇒ Object
1935 1936 1937 |
# File 'lib/stripe/resources/tax/registration.rb', line 1935 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 |
# File 'lib/stripe/resources/tax/registration.rb', line 1919 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 |