Class: Stripe::Treasury::OutboundTransferCreateParams::DestinationPaymentMethodData

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



13
14
15
16
# File 'lib/stripe/params/treasury/outbound_transfer_create_params.rb', line 13

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.



9
10
11
# File 'lib/stripe/params/treasury/outbound_transfer_create_params.rb', line 9

def 
  @financial_account
end

#typeObject

The type of the destination.



11
12
13
# File 'lib/stripe/params/treasury/outbound_transfer_create_params.rb', line 11

def type
  @type
end