Class: Stripe::InvoiceUpdateLinesParams::Line::PriceData::ProductData::TaxDetails

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_update_lines_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.



42
43
44
45
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 42

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.



38
39
40
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 38

def performance_location
  @performance_location
end

#tax_code ⇒ Object

A tax code ID.



40
41
42
# File 'lib/stripe/params/invoice_update_lines_params.rb', line 40

def tax_code
  @tax_code
end