Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::FlightDatum::Total::Tax::Tax

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_capture_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.



1197
1198
1199
1200
1201
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1197

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

Instance Attribute Details

#amountObject

Tax amount.



1191
1192
1193
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1191

def amount
  @amount
end

#rateObject

Tax rate.



1193
1194
1195
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1193

def rate
  @rate
end

#typeObject

Type of tax.



1195
1196
1197
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1195

def type
  @type
end