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, HomeRuleTax, 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.
-
#home_rule_tax ⇒ Object
readonly
Attribute for field home_rule_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
1919 1920 1921 |
# File 'lib/stripe/resources/tax/registration.rb', line 1919 def admissions_tax @admissions_tax end |
#attendance_tax ⇒ Object (readonly)
Attribute for field attendance_tax
1921 1922 1923 |
# File 'lib/stripe/resources/tax/registration.rb', line 1921 def attendance_tax @attendance_tax end |
#entertainment_tax ⇒ Object (readonly)
Attribute for field entertainment_tax
1923 1924 1925 |
# File 'lib/stripe/resources/tax/registration.rb', line 1923 def entertainment_tax @entertainment_tax end |
#gross_receipts_tax ⇒ Object (readonly)
Attribute for field gross_receipts_tax
1925 1926 1927 |
# File 'lib/stripe/resources/tax/registration.rb', line 1925 def gross_receipts_tax @gross_receipts_tax end |
#home_rule_tax ⇒ Object (readonly)
Attribute for field home_rule_tax
1945 1946 1947 |
# File 'lib/stripe/resources/tax/registration.rb', line 1945 def home_rule_tax @home_rule_tax end |
#hospitality_tax ⇒ Object (readonly)
Attribute for field hospitality_tax
1927 1928 1929 |
# File 'lib/stripe/resources/tax/registration.rb', line 1927 def hospitality_tax @hospitality_tax end |
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
1929 1930 1931 |
# File 'lib/stripe/resources/tax/registration.rb', line 1929 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
1931 1932 1933 |
# File 'lib/stripe/resources/tax/registration.rb', line 1931 def local_lease_tax @local_lease_tax end |
#luxury_tax ⇒ Object (readonly)
Attribute for field luxury_tax
1933 1934 1935 |
# File 'lib/stripe/resources/tax/registration.rb', line 1933 def luxury_tax @luxury_tax end |
#resort_tax ⇒ Object (readonly)
Attribute for field resort_tax
1935 1936 1937 |
# File 'lib/stripe/resources/tax/registration.rb', line 1935 def resort_tax @resort_tax end |
#state ⇒ Object (readonly)
Two-letter US state code ([ISO 3166-2](en.wikipedia.org/wiki/ISO_3166-2)).
1937 1938 1939 |
# File 'lib/stripe/resources/tax/registration.rb', line 1937 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
1939 1940 1941 |
# File 'lib/stripe/resources/tax/registration.rb', line 1939 def state_sales_tax @state_sales_tax end |
#tourism_tax ⇒ Object (readonly)
Attribute for field tourism_tax
1941 1942 1943 |
# File 'lib/stripe/resources/tax/registration.rb', line 1941 def tourism_tax @tourism_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
1943 1944 1945 |
# File 'lib/stripe/resources/tax/registration.rb', line 1943 def type @type end |
Class Method Details
.field_remappings ⇒ Object
1964 1965 1966 |
# File 'lib/stripe/resources/tax/registration.rb', line 1964 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# File 'lib/stripe/resources/tax/registration.rb', line 1947 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, home_rule_tax: HomeRuleTax, } end |