Class: Stripe::PaymentIntentDecrementAuthorizationParams::TransferData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_decrement_authorization_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) ⇒ TransferData

Returns a new instance of TransferData.



251
252
253
# File 'lib/stripe/params/payment_intent_decrement_authorization_params.rb', line 251

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

Instance Attribute Details

#amountObject

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



249
250
251
# File 'lib/stripe/params/payment_intent_decrement_authorization_params.rb', line 249

def amount
  @amount
end