Class: Stripe::PaymentIntent::CreateParams::AmountDetails::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.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.



3582
3583
3584
# File 'lib/stripe/resources/payment_intent.rb', line 3582

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

Instance Attribute Details

#total_tax_amountObject

Total portion of the amount that is for tax.



3580
3581
3582
# File 'lib/stripe/resources/payment_intent.rb', line 3580

def total_tax_amount
  @total_tax_amount
end