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
2350 2351 2352 |
# File 'lib/stripe/resources/tax/registration.rb', line 2350 def admissions_tax @admissions_tax end |
#attendance_tax ⇒ Object (readonly)
Attribute for field attendance_tax
2352 2353 2354 |
# File 'lib/stripe/resources/tax/registration.rb', line 2352 def attendance_tax @attendance_tax end |
#entertainment_tax ⇒ Object (readonly)
Attribute for field entertainment_tax
2354 2355 2356 |
# File 'lib/stripe/resources/tax/registration.rb', line 2354 def entertainment_tax @entertainment_tax end |
#gross_receipts_tax ⇒ Object (readonly)
Attribute for field gross_receipts_tax
2356 2357 2358 |
# File 'lib/stripe/resources/tax/registration.rb', line 2356 def gross_receipts_tax @gross_receipts_tax end |
#home_rule_tax ⇒ Object (readonly)
Attribute for field home_rule_tax
2358 2359 2360 |
# File 'lib/stripe/resources/tax/registration.rb', line 2358 def home_rule_tax @home_rule_tax end |
#hospitality_tax ⇒ Object (readonly)
Attribute for field hospitality_tax
2360 2361 2362 |
# File 'lib/stripe/resources/tax/registration.rb', line 2360 def hospitality_tax @hospitality_tax end |
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
2362 2363 2364 |
# File 'lib/stripe/resources/tax/registration.rb', line 2362 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
2364 2365 2366 |
# File 'lib/stripe/resources/tax/registration.rb', line 2364 def local_lease_tax @local_lease_tax end |
#luxury_tax ⇒ Object (readonly)
Attribute for field luxury_tax
2366 2367 2368 |
# File 'lib/stripe/resources/tax/registration.rb', line 2366 def luxury_tax @luxury_tax end |
#mass_transit_parking_tax ⇒ Object (readonly)
Attribute for field mass_transit_parking_tax
2368 2369 2370 |
# File 'lib/stripe/resources/tax/registration.rb', line 2368 def mass_transit_parking_tax @mass_transit_parking_tax end |
#parking_tax ⇒ Object (readonly)
Attribute for field parking_tax
2370 2371 2372 |
# File 'lib/stripe/resources/tax/registration.rb', line 2370 def parking_tax @parking_tax end |
#resort_tax ⇒ Object (readonly)
Attribute for field resort_tax
2372 2373 2374 |
# File 'lib/stripe/resources/tax/registration.rb', line 2372 def resort_tax @resort_tax end |
#state ⇒ Object (readonly)
Two-letter US state code (ISO 3166-2).
2374 2375 2376 |
# File 'lib/stripe/resources/tax/registration.rb', line 2374 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
2376 2377 2378 |
# File 'lib/stripe/resources/tax/registration.rb', line 2376 def state_sales_tax @state_sales_tax end |
#tourism_tax ⇒ Object (readonly)
Attribute for field tourism_tax
2378 2379 2380 |
# File 'lib/stripe/resources/tax/registration.rb', line 2378 def tourism_tax @tourism_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
2380 2381 2382 |
# File 'lib/stripe/resources/tax/registration.rb', line 2380 def type @type end |
Class Method Details
.field_remappings ⇒ Object
2401 2402 2403 |
# File 'lib/stripe/resources/tax/registration.rb', line 2401 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 |
# File 'lib/stripe/resources/tax/registration.rb', line 2382 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 |