Class: Stripe::ProductUpdateParams::TaxDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::ProductUpdateParams::TaxDetails
- Defined in:
- lib/stripe/params/product_update_params.rb
Instance Attribute Summary collapse
-
#performance_location ⇒ Object
A tax location ID.
-
#tax_code ⇒ Object
A tax code 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.
39 40 41 42 |
# File 'lib/stripe/params/product_update_params.rb', line 39 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.
35 36 37 |
# File 'lib/stripe/params/product_update_params.rb', line 35 def performance_location @performance_location end |
#tax_code ⇒ Object
A tax code ID.
37 38 39 |
# File 'lib/stripe/params/product_update_params.rb', line 37 def tax_code @tax_code end |