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, MassTransitParkingTax, ParkingTax, 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.
-
#mass_transit_parking_tax ⇒ Object
readonly
Attribute for field mass_transit_parking_tax.
-
#parking_tax ⇒ Object
readonly
Attribute for field parking_tax.
-
#resort_tax ⇒ Object
readonly
Attribute for field resort_tax.
-
#state ⇒ Object
readonly
Two-letter US state code (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?, 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_tax ⇒ Object (readonly)
Attribute for field admissions_tax
1945 1946 1947 |
# File 'lib/stripe/resources/tax/registration.rb', line 1945 def admissions_tax @admissions_tax end |
#attendance_tax ⇒ Object (readonly)
Attribute for field attendance_tax
1947 1948 1949 |
# File 'lib/stripe/resources/tax/registration.rb', line 1947 def attendance_tax @attendance_tax end |
#entertainment_tax ⇒ Object (readonly)
Attribute for field entertainment_tax
1949 1950 1951 |
# File 'lib/stripe/resources/tax/registration.rb', line 1949 def entertainment_tax @entertainment_tax end |
#gross_receipts_tax ⇒ Object (readonly)
Attribute for field gross_receipts_tax
1951 1952 1953 |
# File 'lib/stripe/resources/tax/registration.rb', line 1951 def gross_receipts_tax @gross_receipts_tax end |
#home_rule_tax ⇒ Object (readonly)
Attribute for field home_rule_tax
1953 1954 1955 |
# File 'lib/stripe/resources/tax/registration.rb', line 1953 def home_rule_tax @home_rule_tax end |
#hospitality_tax ⇒ Object (readonly)
Attribute for field hospitality_tax
1955 1956 1957 |
# File 'lib/stripe/resources/tax/registration.rb', line 1955 def hospitality_tax @hospitality_tax end |
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
1957 1958 1959 |
# File 'lib/stripe/resources/tax/registration.rb', line 1957 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
1959 1960 1961 |
# File 'lib/stripe/resources/tax/registration.rb', line 1959 def local_lease_tax @local_lease_tax end |
#luxury_tax ⇒ Object (readonly)
Attribute for field luxury_tax
1961 1962 1963 |
# File 'lib/stripe/resources/tax/registration.rb', line 1961 def luxury_tax @luxury_tax end |
#mass_transit_parking_tax ⇒ Object (readonly)
Attribute for field mass_transit_parking_tax
1963 1964 1965 |
# File 'lib/stripe/resources/tax/registration.rb', line 1963 def mass_transit_parking_tax @mass_transit_parking_tax end |
#parking_tax ⇒ Object (readonly)
Attribute for field parking_tax
1965 1966 1967 |
# File 'lib/stripe/resources/tax/registration.rb', line 1965 def parking_tax @parking_tax end |
#resort_tax ⇒ Object (readonly)
Attribute for field resort_tax
1967 1968 1969 |
# File 'lib/stripe/resources/tax/registration.rb', line 1967 def resort_tax @resort_tax end |
#state ⇒ Object (readonly)
Two-letter US state code (ISO 3166-2).
1969 1970 1971 |
# File 'lib/stripe/resources/tax/registration.rb', line 1969 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
1971 1972 1973 |
# File 'lib/stripe/resources/tax/registration.rb', line 1971 def state_sales_tax @state_sales_tax end |
#tourism_tax ⇒ Object (readonly)
Attribute for field tourism_tax
1973 1974 1975 |
# File 'lib/stripe/resources/tax/registration.rb', line 1973 def tourism_tax @tourism_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
1975 1976 1977 |
# File 'lib/stripe/resources/tax/registration.rb', line 1975 def type @type end |
Class Method Details
.field_remappings ⇒ Object
1996 1997 1998 |
# File 'lib/stripe/resources/tax/registration.rb', line 1996 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 |
# File 'lib/stripe/resources/tax/registration.rb', line 1977 def self.inner_class_types @inner_class_types = { admissions_tax: AdmissionsTax, attendance_tax: AttendanceTax, entertainment_tax: EntertainmentTax, gross_receipts_tax: GrossReceiptsTax, home_rule_tax: HomeRuleTax, hospitality_tax: HospitalityTax, local_amusement_tax: LocalAmusementTax, local_lease_tax: LocalLeaseTax, luxury_tax: LuxuryTax, mass_transit_parking_tax: MassTransitParkingTax, parking_tax: ParkingTax, resort_tax: ResortTax, state_sales_tax: StateSalesTax, tourism_tax: TourismTax, } end |