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



137
138
139
# File 'lib/stripe/services/payment_intent_service.rb', line 137

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

Instance Attribute Details

#total_tax_amountObject

The total tax on an item. Non-negative integer.



135
136
137
# File 'lib/stripe/services/payment_intent_service.rb', line 135

def total_tax_amount
  @total_tax_amount
end