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](en.wikipedia.org/wiki/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?, #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
1789 1790 1791 |
# File 'lib/stripe/resources/tax/registration.rb', line 1789 def local_amusement_tax @local_amusement_tax end |
#local_lease_tax ⇒ Object (readonly)
Attribute for field local_lease_tax
1791 1792 1793 |
# File 'lib/stripe/resources/tax/registration.rb', line 1791 def local_lease_tax @local_lease_tax end |
#state ⇒ Object (readonly)
Two-letter US state code ([ISO 3166-2](en.wikipedia.org/wiki/ISO_3166-2)).
1793 1794 1795 |
# File 'lib/stripe/resources/tax/registration.rb', line 1793 def state @state end |
#state_sales_tax ⇒ Object (readonly)
Attribute for field state_sales_tax
1795 1796 1797 |
# File 'lib/stripe/resources/tax/registration.rb', line 1795 def state_sales_tax @state_sales_tax end |
#type ⇒ Object (readonly)
Type of registration in the US.
1797 1798 1799 |
# File 'lib/stripe/resources/tax/registration.rb', line 1797 def type @type end |
Class Method Details
.field_remappings ⇒ Object
1807 1808 1809 |
# File 'lib/stripe/resources/tax/registration.rb', line 1807 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
1799 1800 1801 1802 1803 1804 1805 |
# File 'lib/stripe/resources/tax/registration.rb', line 1799 def self.inner_class_types @inner_class_types = { local_amusement_tax: LocalAmusementTax, local_lease_tax: LocalLeaseTax, state_sales_tax: StateSalesTax, } end |