Class: Stripe::Treasury::OutboundTransfer::CreateParams::DestinationPaymentMethodData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(financial_account: nil, type: nil) ⇒ DestinationPaymentMethodData

Returns a new instance of DestinationPaymentMethodData.



157
158
159
160
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 157

def initialize(financial_account: nil, type: nil)
  @financial_account = 
  @type = type
end

Instance Attribute Details

#financial_accountObject

Required if type is set to ‘financial_account`. The FinancialAccount ID to send funds to.



153
154
155
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 153

def 
  @financial_account
end

#typeObject

The type of the destination.



155
156
157
# File 'lib/stripe/resources/treasury/outbound_transfer.rb', line 155

def type
  @type
end