Class: Stripe::V2::MoneyManagement::FinancialAccountCreateParams

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

Defined Under Namespace

Classes: Storage

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of FinancialAccountCreateParams.



25
26
27
28
29
30
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 25

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.



17
18
19
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 17

def display_name
  @display_name
end

#metadataObject

Metadata associated with the FinancialAccount.



19
20
21
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 19

def 
  @metadata
end

#storageObject

Parameters specific to creating ‘storage` type FinancialAccounts.



21
22
23
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 21

def storage
  @storage
end

#typeObject

The type of FinancialAccount to create.



23
24
25
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 23

def type
  @type
end