Class: Stripe::V2::MoneyManagement::FinancialAccountService::CreateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/v2/money_management/financial_account_service.rb

Defined Under Namespace

Classes: Storage

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(display_name: nil, metadata: nil, storage: nil, type: nil) ⇒ CreateParams

Returns a new instance of CreateParams.



38
39
40
41
42
43
# File 'lib/stripe/services/v2/money_management/financial_account_service.rb', line 38

def initialize(display_name: nil, metadata: nil, storage: nil, type: nil)
  @display_name = display_name
  @metadata = 
  @storage = storage
  @type = type
end

Instance Attribute Details

#display_nameObject

A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.



30
31
32
# File 'lib/stripe/services/v2/money_management/financial_account_service.rb', line 30

def display_name
  @display_name
end

#metadataObject

Metadata associated with the FinancialAccount.



32
33
34
# File 'lib/stripe/services/v2/money_management/financial_account_service.rb', line 32

def 
  @metadata
end

#storageObject

Parameters specific to creating ‘storage` type FinancialAccounts.



34
35
36
# File 'lib/stripe/services/v2/money_management/financial_account_service.rb', line 34

def storage
  @storage
end

#typeObject

The type of FinancialAccount to create.



36
37
38
# File 'lib/stripe/services/v2/money_management/financial_account_service.rb', line 36

def type
  @type
end