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: LocalAmusementTax, LocalLeaseTax, MassTransitParkingTax, ParkingTax, StateSalesTax
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#local_amusement_tax ⇒ Object
readonly
Attribute for field local_amusement_tax.
-
#local_lease_tax ⇒ Object
readonly
Attribute for field local_lease_tax.
-
#mass_transit_parking_tax ⇒ Object
readonly
Attribute for field mass_transit_parking_tax.
-
#parking_tax ⇒ Object
readonly
Attribute for field parking_tax.
-
#state ⇒ Object
readonly
Two-letter US state code (ISO 3166-2).
-
#state_sales_tax ⇒ Object
readonly
Attribute for field state_sales_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
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
2233 2234 2235 |
# File 'lib/stripe/resources/tax/registration.rb', line 2233 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
2235 2236 2237 |
# File 'lib/stripe/resources/tax/registration.rb', line 2235 def local_lease_tax @local_lease_tax end |
#mass_transit_parking_tax ⇒ Object (readonly)
Attribute for field mass_transit_parking_tax
2237 2238 2239 |
# File 'lib/stripe/resources/tax/registration.rb', line 2237 def mass_transit_parking_tax @mass_transit_parking_tax end |
#parking_tax ⇒ Object (readonly)
Attribute for field parking_tax
2239 2240 2241 |
# File 'lib/stripe/resources/tax/registration.rb', line 2239 def parking_tax @parking_tax end |
#state ⇒ Object (readonly)
Two-letter US state code (ISO 3166-2).
2241 2242 2243 |
# File 'lib/stripe/resources/tax/registration.rb', line 2241 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
2243 2244 2245 |
# File 'lib/stripe/resources/tax/registration.rb', line 2243 def state_sales_tax @state_sales_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
2245 2246 2247 |
# File 'lib/stripe/resources/tax/registration.rb', line 2245 def type @type end |
Class Method Details
.field_remappings ⇒ Object
2257 2258 2259 |
# File 'lib/stripe/resources/tax/registration.rb', line 2257 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
2247 2248 2249 2250 2251 2252 2253 2254 2255 |
# File 'lib/stripe/resources/tax/registration.rb', line 2247 def self.inner_class_types @inner_class_types = { local_amusement_tax: LocalAmusementTax, local_lease_tax: LocalLeaseTax, mass_transit_parking_tax: MassTransitParkingTax, parking_tax: ParkingTax, state_sales_tax: StateSalesTax, } end |