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

Attribute for field parking_tax



2239
2240
2241
# File 'lib/stripe/resources/tax/registration.rb', line 2239

def parking_tax
  @parking_tax
end

#stateObject (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_taxObject (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

#typeObject (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_remappingsObject



2257
2258
2259
# File 'lib/stripe/resources/tax/registration.rb', line 2257

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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