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, 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.
-
#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, #_get_union_variant_class, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, inner_class_union_variant_types, #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
2337 2338 2339 |
# File 'lib/stripe/resources/tax/registration.rb', line 2337 def admissions_tax @admissions_tax end |
#attendance_tax ⇒ Object (readonly)
Attribute for field attendance_tax
2339 2340 2341 |
# File 'lib/stripe/resources/tax/registration.rb', line 2339 def attendance_tax @attendance_tax end |
#entertainment_tax ⇒ Object (readonly)
Attribute for field entertainment_tax
2341 2342 2343 |
# File 'lib/stripe/resources/tax/registration.rb', line 2341 def entertainment_tax @entertainment_tax end |
#gross_receipts_tax ⇒ Object (readonly)
Attribute for field gross_receipts_tax
2343 2344 2345 |
# File 'lib/stripe/resources/tax/registration.rb', line 2343 def gross_receipts_tax @gross_receipts_tax end |
#hospitality_tax ⇒ Object (readonly)
Attribute for field hospitality_tax
2345 2346 2347 |
# File 'lib/stripe/resources/tax/registration.rb', line 2345 def hospitality_tax @hospitality_tax end |
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
2347 2348 2349 |
# File 'lib/stripe/resources/tax/registration.rb', line 2347 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
2349 2350 2351 |
# File 'lib/stripe/resources/tax/registration.rb', line 2349 def local_lease_tax @local_lease_tax end |
#luxury_tax ⇒ Object (readonly)
Attribute for field luxury_tax
2351 2352 2353 |
# File 'lib/stripe/resources/tax/registration.rb', line 2351 def luxury_tax @luxury_tax end |
#mass_transit_parking_tax ⇒ Object (readonly)
Attribute for field mass_transit_parking_tax
2353 2354 2355 |
# File 'lib/stripe/resources/tax/registration.rb', line 2353 def mass_transit_parking_tax @mass_transit_parking_tax end |
#parking_tax ⇒ Object (readonly)
Attribute for field parking_tax
2355 2356 2357 |
# File 'lib/stripe/resources/tax/registration.rb', line 2355 def parking_tax @parking_tax end |
#resort_tax ⇒ Object (readonly)
Attribute for field resort_tax
2357 2358 2359 |
# File 'lib/stripe/resources/tax/registration.rb', line 2357 def resort_tax @resort_tax end |
#state ⇒ Object (readonly)
Two-letter US state code (ISO 3166-2).
2359 2360 2361 |
# File 'lib/stripe/resources/tax/registration.rb', line 2359 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
2361 2362 2363 |
# File 'lib/stripe/resources/tax/registration.rb', line 2361 def state_sales_tax @state_sales_tax end |
#tourism_tax ⇒ Object (readonly)
Attribute for field tourism_tax
2363 2364 2365 |
# File 'lib/stripe/resources/tax/registration.rb', line 2363 def tourism_tax @tourism_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
2365 2366 2367 |
# File 'lib/stripe/resources/tax/registration.rb', line 2365 def type @type end |
Class Method Details
.field_remappings ⇒ Object
2385 2386 2387 |
# File 'lib/stripe/resources/tax/registration.rb', line 2385 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 |
# File 'lib/stripe/resources/tax/registration.rb', line 2367 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, mass_transit_parking_tax: MassTransitParkingTax, parking_tax: ParkingTax, resort_tax: ResortTax, state_sales_tax: StateSalesTax, tourism_tax: TourismTax, } end |