Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::Total::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCaptureParams::PaymentDetails::LodgingDatum::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 whether the transaction is tax exempt.
-
#taxes ⇒ Object
Tax details.
Instance Method Summary collapse
-
#initialize(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(tax_exempt_indicator: nil, taxes: nil) ⇒ Tax
Returns a new instance of Tax.
1784 1785 1786 1787 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1784 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 whether the transaction is tax exempt.
1780 1781 1782 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1780 def tax_exempt_indicator @tax_exempt_indicator end |
#taxes ⇒ Object
Tax details.
1782 1783 1784 |
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1782 def taxes @taxes end |