Class: Stripe::PaymentIntentService::CreateParams::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.



198
199
200
# File 'lib/stripe/services/payment_intent_service.rb', line 198

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.



196
197
198
# File 'lib/stripe/services/payment_intent_service.rb', line 196

def total_tax_amount
  @total_tax_amount
end