Class: Stripe::PriceCreateParams::ProductData::TaxDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

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

Returns a new instance of TaxDetails.



102
103
104
105
# File 'lib/stripe/params/price_create_params.rb', line 102

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.



98
99
100
# File 'lib/stripe/params/price_create_params.rb', line 98

def performance_location
  @performance_location
end

#tax_codeObject



100
101
102
# File 'lib/stripe/params/price_create_params.rb', line 100

def tax_code
  @tax_code
end