Class: Stripe::InvoiceUpdateLinesParams::Line::PriceData::ProductData::TaxDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::InvoiceUpdateLinesParams::Line::PriceData::ProductData::TaxDetails
- Defined in:
- lib/stripe/params/invoice_update_lines_params.rb
Instance Attribute Summary collapse
-
#performance_location ⇒ Object
A tax location ID.
-
#tax_code ⇒ Object
A [tax code](docs.stripe.com/tax/tax-categories) ID.
Instance Method Summary collapse
-
#initialize(performance_location: nil, tax_code: nil) ⇒ TaxDetails
constructor
A new instance of TaxDetails.
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.
70 71 72 73 |
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 70 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](/tax/tax-for-tickets/reference/tax-location-performance), this is required, optional, or not supported.
66 67 68 |
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 66 def performance_location @performance_location end |
#tax_code ⇒ Object
A [tax code](docs.stripe.com/tax/tax-categories) ID.
68 69 70 |
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 68 def tax_code @tax_code end |