Class: Stripe::PlanCreateParams::Product::TaxDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PlanCreateParams::Product::TaxDetails
- Defined in:
- lib/stripe/params/plan_create_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.
13 14 15 16 |
# File 'lib/stripe/params/plan_create_params.rb', line 13 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.
9 10 11 |
# File 'lib/stripe/params/plan_create_params.rb', line 9 def performance_location @performance_location end |
#tax_code ⇒ Object
A tax code ID.
11 12 13 |
# File 'lib/stripe/params/plan_create_params.rb', line 11 def tax_code @tax_code end |