Class: Stripe::Treasury::FinancialAccountService::CloseParams

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

Returns a new instance of CloseParams.



492
493
494
495
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 492

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.



488
489
490
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 488

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



490
491
492
# File 'lib/stripe/services/treasury/financial_account_service.rb', line 490

def forwarding_settings
  @forwarding_settings
end