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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of ExtraCharge.



1401
1402
1403
1404
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1401

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

Instance Attribute Details

#amountObject

Amount of additional charges.



1397
1398
1399
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1397

def amount
  @amount
end

#typeObject

Type of additional charges.



1399
1400
1401
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1399

def type
  @type
end