Class: Stripe::PaymentIntentService::CaptureParams::AmountDetails::Tax

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



7815
7816
7817
# File 'lib/stripe/services/payment_intent_service.rb', line 7815

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.



7813
7814
7815
# File 'lib/stripe/services/payment_intent_service.rb', line 7813

def total_tax_amount
  @total_tax_amount
end