Class: Stripe::PaymentIntentUpdateParams::TransferData

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

attr_accessor, new, #to_h

Constructor Details

#initialize(amount: nil) ⇒ TransferData

Returns a new instance of TransferData.



2557
2558
2559
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2557

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

Instance Attribute Details

#amountObject

The amount that will be transferred automatically when a charge succeeds.



2555
2556
2557
# File 'lib/stripe/params/payment_intent_update_params.rb', line 2555

def amount
  @amount
end