Class: Stripe::OrderUpdateParams::TaxDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderUpdateParams::TaxDetails
- Defined in:
- lib/stripe/params/order_update_params.rb
Defined Under Namespace
Classes: TaxId
Instance Attribute Summary collapse
-
#tax_exempt ⇒ Object
The purchaser’s tax exemption status.
-
#tax_ids ⇒ Object
The purchaser’s tax IDs to be used for this order.
Instance Method Summary collapse
-
#initialize(tax_exempt: nil, tax_ids: 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(tax_exempt: nil, tax_ids: nil) ⇒ TaxDetails
Returns a new instance of TaxDetails.
2040 2041 2042 2043 |
# File 'lib/stripe/params/order_update_params.rb', line 2040 def initialize(tax_exempt: nil, tax_ids: nil) @tax_exempt = tax_exempt @tax_ids = tax_ids end |
Instance Attribute Details
#tax_exempt ⇒ Object
The purchaser’s tax exemption status. One of ‘none`, `exempt`, or `reverse`.
2036 2037 2038 |
# File 'lib/stripe/params/order_update_params.rb', line 2036 def tax_exempt @tax_exempt end |
#tax_ids ⇒ Object
The purchaser’s tax IDs to be used for this order.
2038 2039 2040 |
# File 'lib/stripe/params/order_update_params.rb', line 2038 def tax_ids @tax_ids end |