Class: Stripe::Treasury::FinancialAccountCloseParams

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

Defined Under Namespace

Classes: ForwardingSettings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, forwarding_settings: nil) ⇒ FinancialAccountCloseParams

Returns a new instance of FinancialAccountCloseParams.



26
27
28
29
# File 'lib/stripe/params/treasury/financial_account_close_params.rb', line 26

def initialize(expand: nil, forwarding_settings: nil)
  @expand = expand
  @forwarding_settings = forwarding_settings
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



22
23
24
# File 'lib/stripe/params/treasury/financial_account_close_params.rb', line 22

def expand
  @expand
end

#forwarding_settingsObject

A different bank account where funds can be deposited/debited in order to get the closing FA’s balance to $0



24
25
26
# File 'lib/stripe/params/treasury/financial_account_close_params.rb', line 24

def forwarding_settings
  @forwarding_settings
end