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, discriminator, discriminator_fields, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of TaxDetails.



81
82
83
84
# File 'lib/stripe/params/checkout/session_update_params.rb', line 81

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

Instance Attribute Details

#performance_location ⇒ Object

A tax location ID. Depending on the tax code, this is required, optional, or not supported.



77
78
79
# File 'lib/stripe/params/checkout/session_update_params.rb', line 77

def performance_location
  @performance_location
end

#tax_code ⇒ Object

A tax code ID.



79
80
81
# File 'lib/stripe/params/checkout/session_update_params.rb', line 79

def tax_code
  @tax_code
end