Class: Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::MoneyManagement::PayoutIntentCreateParams::To
- Defined in:
- lib/stripe/params/v2/money_management/payout_intent_create_params.rb
Defined Under Namespace
Classes: PayoutMethodOptions
Instance Attribute Summary collapse
-
#currency ⇒ Object
The currency to send to the recipient.
-
#payout_method ⇒ Object
The payout method ID.
-
#payout_method_options ⇒ Object
Payout method options for the PayoutIntent.
-
#recipient ⇒ Object
The recipient ID.
Instance Method Summary collapse
-
#initialize(currency: nil, payout_method: nil, payout_method_options: nil, recipient: nil) ⇒ To
constructor
A new instance of To.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(currency: nil, payout_method: nil, payout_method_options: nil, recipient: nil) ⇒ To
Returns a new instance of To.
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/stripe/params/v2/money_management/payout_intent_create_params.rb', line 87 def initialize( currency: nil, payout_method: nil, payout_method_options: nil, recipient: nil ) @currency = currency @payout_method = payout_method @payout_method_options = @recipient = recipient end |
Instance Attribute Details
#currency ⇒ Object
The currency to send to the recipient.
79 80 81 |
# File 'lib/stripe/params/v2/money_management/payout_intent_create_params.rb', line 79 def currency @currency end |
#payout_method ⇒ Object
The payout method ID. Optional for OutboundPayment if recipient has default payment method. Required for OutboundTransfer.
81 82 83 |
# File 'lib/stripe/params/v2/money_management/payout_intent_create_params.rb', line 81 def payout_method @payout_method end |
#payout_method_options ⇒ Object
Payout method options for the PayoutIntent.
83 84 85 |
# File 'lib/stripe/params/v2/money_management/payout_intent_create_params.rb', line 83 def @payout_method_options end |
#recipient ⇒ Object
The recipient ID. Only relevant for OutboundPayment.
85 86 87 |
# File 'lib/stripe/params/v2/money_management/payout_intent_create_params.rb', line 85 def recipient @recipient end |