Class: Stripe::PaymentIntentCreateParams::AmountDetails::LineItem::Tax
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::AmountDetails::LineItem::Tax
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#total_tax_amount ⇒ Object
The total amount of tax on a single line item represented in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal).
Instance Method Summary collapse
-
#initialize(total_tax_amount: nil) ⇒ Tax
constructor
A new instance of Tax.
Methods inherited from RequestParams
Constructor Details
#initialize(total_tax_amount: nil) ⇒ Tax
Returns a new instance of Tax.
87 88 89 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 87 def initialize(total_tax_amount: nil) @total_tax_amount = total_tax_amount end |
Instance Attribute Details
#total_tax_amount ⇒ Object
The total amount of tax on a single line item represented in the [smallest currency unit](stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
This field is mutually exclusive with the ‘amount_details[total_tax_amount]` field.
85 86 87 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 85 def total_tax_amount @total_tax_amount end |