Class: Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(total_tax_amount: nil) ⇒ Tax

Returns a new instance of Tax.



96
97
98
# File 'lib/stripe/params/payment_intent_update_params.rb', line 96

def initialize(total_tax_amount: nil)
  @total_tax_amount = total_tax_amount
end

Instance Attribute Details

#total_tax_amountObject

The total amount of tax on a single line item represented in the [smallest currency unit](docs.stripe.com/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.



94
95
96
# File 'lib/stripe/params/payment_intent_update_params.rb', line 94

def total_tax_amount
  @total_tax_amount
end