Class: Stripe::PaymentIntent::CaptureParams::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.



9806
9807
9808
# File 'lib/stripe/resources/payment_intent.rb', line 9806

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.



9804
9805
9806
# File 'lib/stripe/resources/payment_intent.rb', line 9804

def total_tax_amount
  @total_tax_amount
end