Class: Stripe::Treasury::FinancialAccountCloseParams::ForwardingSettings

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/treasury/financial_account_close_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(financial_account: nil, payment_method: nil, type: nil) ⇒ ForwardingSettings

Returns a new instance of ForwardingSettings.



15
16
17
18
19
# File 'lib/stripe/params/treasury/financial_account_close_params.rb', line 15

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

Instance Attribute Details

#financial_accountObject

The financial_account id



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

def 
  
end

#payment_methodObject

The payment_method or bank account id. This needs to be a verified bank account.



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

def payment_method
  @payment_method
end

#typeObject

The type of the bank account provided. This can be either “financial_account” or “payment_method”



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

def type
  @type
end