Class: Stripe::Tax::Registration::CountryOptions::Us

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

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_taxObject (readonly)

Attribute for field local_amusement_tax



1828
1829
1830
# File 'lib/stripe/resources/tax/registration.rb', line 1828

def local_amusement_tax
  @local_amusement_tax
end

#local_lease_taxObject (readonly)

Attribute for field local_lease_tax



1830
1831
1832
# File 'lib/stripe/resources/tax/registration.rb', line 1830

def local_lease_tax
  @local_lease_tax
end

#mass_transit_parking_taxObject (readonly)

Attribute for field mass_transit_parking_tax



1832
1833
1834
# File 'lib/stripe/resources/tax/registration.rb', line 1832

def mass_transit_parking_tax
  @mass_transit_parking_tax
end

#parking_taxObject (readonly)

Attribute for field parking_tax



1834
1835
1836
# File 'lib/stripe/resources/tax/registration.rb', line 1834

def parking_tax
  @parking_tax
end

#stateObject (readonly)

Two-letter US state code (ISO 3166-2).



1836
1837
1838
# File 'lib/stripe/resources/tax/registration.rb', line 1836

def state
  @state
end

#state_sales_taxObject (readonly)

Attribute for field state_sales_tax



1838
1839
1840
# File 'lib/stripe/resources/tax/registration.rb', line 1838

def state_sales_tax
  @state_sales_tax
end

#typeObject (readonly)

Type of registration in the US.



1840
1841
1842
# File 'lib/stripe/resources/tax/registration.rb', line 1840

def type
  @type
end

Class Method Details

.field_remappingsObject



1852
1853
1854
# File 'lib/stripe/resources/tax/registration.rb', line 1852

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



1842
1843
1844
1845
1846
1847
1848
1849
1850
# File 'lib/stripe/resources/tax/registration.rb', line 1842

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