Class: Stripe::ProductCreateParams::TaxDetails

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/product_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(performance_location: nil, tax_code: nil) ⇒ TaxDetails

Returns a new instance of TaxDetails.



178
179
180
181
# File 'lib/stripe/params/product_create_params.rb', line 178

def initialize(performance_location: nil, tax_code: nil)
  @performance_location = performance_location
  @tax_code = tax_code
end

Instance Attribute Details

#performance_locationObject

A tax location ID. Depending on the [tax code](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.



174
175
176
# File 'lib/stripe/params/product_create_params.rb', line 174

def performance_location
  @performance_location
end

#tax_codeObject



176
177
178
# File 'lib/stripe/params/product_create_params.rb', line 176

def tax_code
  @tax_code
end