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, 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.
-
#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, 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
#local_amusement_tax ⇒ Object (readonly)
Attribute for field local_amusement_tax
1802 1803 1804 |
# File 'lib/stripe/resources/tax/registration.rb', line 1802 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
1804 1805 1806 |
# File 'lib/stripe/resources/tax/registration.rb', line 1804 def local_lease_tax @local_lease_tax end |
#state ⇒ Object (readonly)
Two-letter US state code (ISO 3166-2).
1806 1807 1808 |
# File 'lib/stripe/resources/tax/registration.rb', line 1806 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
1808 1809 1810 |
# File 'lib/stripe/resources/tax/registration.rb', line 1808 def state_sales_tax @state_sales_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
1810 1811 1812 |
# File 'lib/stripe/resources/tax/registration.rb', line 1810 def type @type end |
Class Method Details
.field_remappings ⇒ Object
1820 1821 1822 |
# File 'lib/stripe/resources/tax/registration.rb', line 1820 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/stripe/resources/tax/registration.rb', line 1812 def self.inner_class_types @inner_class_types = { local_amusement_tax: LocalAmusementTax, local_lease_tax: LocalLeaseTax, state_sales_tax: StateSalesTax, } end |