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.



28
29
30
31
32
33
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 28

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.



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

def display_name
  @display_name
end

#metadataObject

Metadata associated with the FinancialAccount.



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

def 
  @metadata
end

#storageObject

Parameters specific to creating ‘storage` type FinancialAccounts.



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

def storage
  @storage
end

#typeObject

The type of FinancialAccount to create.



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

def type
  @type
end