Class: Stripe::Checkout::SessionUpdateParams::LineItem::PriceData::ProductData::TaxDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of TaxDetails.



171
172
173
174
# File 'lib/stripe/params/checkout/session_update_params.rb', line 171

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.



167
168
169
# File 'lib/stripe/params/checkout/session_update_params.rb', line 167

def performance_location
  @performance_location
end

#tax_codeObject



169
170
171
# File 'lib/stripe/params/checkout/session_update_params.rb', line 169

def tax_code
  @tax_code
end