Class: Stripe::PaymentIntentCreateParams::PaymentDetails::FlightDatum::Total::ExtraCharge

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(amount: nil, type: nil) ⇒ ExtraCharge

Returns a new instance of ExtraCharge.



1274
1275
1276
1277
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1274

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

Instance Attribute Details

#amountObject

Amount of additional charges.



1270
1271
1272
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1270

def amount
  @amount
end

#typeObject

Type of additional charges.



1272
1273
1274
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1272

def type
  @type
end