Class: Stripe::Treasury::OutboundTransferService::CreateParams::DestinationPaymentMethodData

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



45
46
47
48
# File 'lib/stripe/services/treasury/outbound_transfer_service.rb', line 45

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.



41
42
43
# File 'lib/stripe/services/treasury/outbound_transfer_service.rb', line 41

def 
  @financial_account
end

#typeObject

The type of the destination.



43
44
45
# File 'lib/stripe/services/treasury/outbound_transfer_service.rb', line 43

def type
  @type
end