Class: Stripe::InvoiceLineItemUpdateParams::PriceData::ProductData::TaxDetails

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



41
42
43
44
# File 'lib/stripe/params/invoice_line_item_update_params.rb', line 41

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.



37
38
39
# File 'lib/stripe/params/invoice_line_item_update_params.rb', line 37

def performance_location
  @performance_location
end

#tax_code ⇒ Object

A tax code ID.



39
40
41
# File 'lib/stripe/params/invoice_line_item_update_params.rb', line 39

def tax_code
  @tax_code
end