Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::Total::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::CarRentalDatum::Total::Tax
- Defined in:
- lib/stripe/params/payment_intent_capture_params.rb
Defined Under Namespace
Classes: Tax
Instance Attribute Summary collapse
-
#tax_exempt_indicator ⇒ Object
Indicates if the transaction is tax exempt.
-
#taxes ⇒ Object
Array of tax details.
Instance Method Summary collapse
-
#initialize(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
Constructor Details
#initialize(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax
Returns a new instance of Tax.
669 670 671 672 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 669 def initialize(tax_exempt_indicator: nil, taxes: nil) @tax_exempt_indicator = tax_exempt_indicator @taxes = taxes end |
Instance Attribute Details
#tax_exempt_indicator ⇒ Object
Indicates if the transaction is tax exempt.
665 666 667 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 665 def tax_exempt_indicator @tax_exempt_indicator end |
#taxes ⇒ Object
Array of tax details.
667 668 669 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 667 def taxes @taxes end |