Class: Stripe::OrderService::CreateParams::TaxDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::OrderService::CreateParams::TaxDetails
- Defined in:
- lib/stripe/services/order_service.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
Constructor Details
#initialize(tax_exempt: nil, tax_ids: nil) ⇒ TaxDetails
Returns a new instance of TaxDetails.
1022 1023 1024 1025 |
# File 'lib/stripe/services/order_service.rb', line 1022 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`.
1018 1019 1020 |
# File 'lib/stripe/services/order_service.rb', line 1018 def tax_exempt @tax_exempt end |
#tax_ids ⇒ Object
The purchaser’s tax IDs to be used for this order.
1020 1021 1022 |
# File 'lib/stripe/services/order_service.rb', line 1020 def tax_ids @tax_ids end |