Class: Stripe::V2::Payments::OffSessionPaymentCreateParams::AmountDetails::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/payments/off_session_payment_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(total_tax_amount: nil) ⇒ Tax

Returns a new instance of Tax.



72
73
74
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 72

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.



70
71
72
# File 'lib/stripe/params/v2/payments/off_session_payment_create_params.rb', line 70

def total_tax_amount
  @total_tax_amount
end