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.



1677
1678
1679
1680
1681
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1677

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

Instance Attribute Details

#amountObject

Tax amount in cents.



1671
1672
1673
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1671

def amount
  @amount
end

#rateObject

Tax rate.



1673
1674
1675
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1673

def rate
  @rate
end

#typeObject

Type of tax applied.



1675
1676
1677
# File 'lib/stripe/params/payment_intent_update_params.rb', line 1675

def type
  @type
end