Class: Stripe::Treasury::FinancialAccountUpdateParams

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

Defined Under Namespace

Classes: Features, ForwardingSettings, PlatformRestrictions

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, features: nil, forwarding_settings: nil, metadata: nil, nickname: nil, platform_restrictions: nil) ⇒ FinancialAccountUpdateParams

Returns a new instance of FinancialAccountUpdateParams.



199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 199

def initialize(
  expand: nil,
  features: nil,
  forwarding_settings: nil,
  metadata: nil,
  nickname: nil,
  platform_restrictions: nil
)
  @expand = expand
  @features = features
  @forwarding_settings = forwarding_settings
   = 
  @nickname = nickname
  @platform_restrictions = platform_restrictions
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



187
188
189
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 187

def expand
  @expand
end

#featuresObject

Encodes whether a FinancialAccount has access to a particular feature, with a status enum and associated ‘status_details`. Stripe or the platform may control features via the requested field.



189
190
191
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 189

def features
  @features
end

#forwarding_settingsObject

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



191
192
193
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 191

def forwarding_settings
  @forwarding_settings
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.



193
194
195
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 193

def 
  
end

#nicknameObject

The nickname for the FinancialAccount.



195
196
197
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 195

def nickname
  @nickname
end

#platform_restrictionsObject

The set of functionalities that the platform can restrict on the FinancialAccount.



197
198
199
# File 'lib/stripe/params/treasury/financial_account_update_params.rb', line 197

def platform_restrictions
  @platform_restrictions
end