Class: Stripe::PaymentIntentService::IncrementAuthorizationParams::TransferData

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



6950
6951
6952
# File 'lib/stripe/services/payment_intent_service.rb', line 6950

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

Instance Attribute Details

#amountObject

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



6948
6949
6950
# File 'lib/stripe/services/payment_intent_service.rb', line 6948

def amount
  @amount
end