Class: Stripe::PaymentIntent::DecrementAuthorizationParams::TransferData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(amount: nil) ⇒ TransferData

Returns a new instance of TransferData.



13130
13131
13132
# File 'lib/stripe/resources/payment_intent.rb', line 13130

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

Instance Attribute Details

#amountObject

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



13128
13129
13130
# File 'lib/stripe/resources/payment_intent.rb', line 13128

def amount
  @amount
end