Class: Stripe::PaymentIntentUpdateParams::PaymentDetails::LodgingDatum::Total::Tax::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil, rate: nil, type: nil) ⇒ Tax

Returns a new instance of Tax.



1690
1691
1692
1693
1694
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1690

def initialize(amount: nil, rate: nil, type: nil)
  @amount = amount
  @rate = rate
  @type = type
end

Instance Attribute Details

#amountObject

Tax amount in cents.



1684
1685
1686
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1684

def amount
  @amount
end

#rateObject

Tax rate.



1686
1687
1688
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1686

def rate
  @rate
end

#typeObject

Type of tax applied.



1688
1689
1690
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1688

def type
  @type
end