Class: Stripe::Treasury::OutboundTransfer::CreateParams::DestinationPaymentMethodData
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::OutboundTransfer::CreateParams::DestinationPaymentMethodData
- Defined in:
- lib/stripe/resources/treasury/outbound_transfer.rb
Instance Attribute Summary collapse
-
#financial_account ⇒ Object
Required if type is set to ‘financial_account`.
-
#type ⇒ Object
The type of the destination.
Instance Method Summary collapse
-
#initialize(financial_account: nil, type: nil) ⇒ DestinationPaymentMethodData
constructor
A new instance of DestinationPaymentMethodData.
Methods inherited from RequestParams
Constructor Details
#initialize(financial_account: nil, type: nil) ⇒ DestinationPaymentMethodData
Returns a new instance of DestinationPaymentMethodData.
268 269 270 271 |
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 268 def initialize(financial_account: nil, type: nil) @financial_account = financial_account @type = type end |
Instance Attribute Details
#financial_account ⇒ Object
Required if type is set to ‘financial_account`. The FinancialAccount ID to send funds to.
264 265 266 |
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 264 def financial_account @financial_account end |
#type ⇒ Object
The type of the destination.
266 267 268 |
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 266 def type @type end |