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(metadata: nil, storage: nil, type: nil) ⇒ CreateParams

Returns a new instance of CreateParams.



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

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

Instance Attribute Details

#metadataObject

Metadata associated with the FinancialAccount.



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

def 
  @metadata
end

#storageObject

Parameters specific to creating ‘storage` type FinancialAccounts.



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

def storage
  @storage
end

#typeObject

The type of FinancialAccount to create.



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

def type
  @type
end