Class: Stripe::Treasury::FinancialAccount::UpdateParams

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

Returns a new instance of UpdateParams.



496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
# File 'lib/stripe/resources/treasury/financial_account.rb', line 496

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.



484
485
486
# File 'lib/stripe/resources/treasury/financial_account.rb', line 484

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.



486
487
488
# File 'lib/stripe/resources/treasury/financial_account.rb', line 486

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



488
489
490
# File 'lib/stripe/resources/treasury/financial_account.rb', line 488

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`.



490
491
492
# File 'lib/stripe/resources/treasury/financial_account.rb', line 490

def 
  
end

#nicknameObject

The nickname for the FinancialAccount.



492
493
494
# File 'lib/stripe/resources/treasury/financial_account.rb', line 492

def nickname
  @nickname
end

#platform_restrictionsObject

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



494
495
496
# File 'lib/stripe/resources/treasury/financial_account.rb', line 494

def platform_restrictions
  @platform_restrictions
end