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

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

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(funds_usage_type: nil, holds_currencies: nil) ⇒ Storage

Returns a new instance of Storage.



14
15
16
17
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 14

def initialize(funds_usage_type: nil, holds_currencies: nil)
  @funds_usage_type = funds_usage_type
  @holds_currencies = holds_currencies
end

Instance Attribute Details

#funds_usage_typeObject

The usage type for funds in this FinancialAccount. Can be used to specify that the funds are for Consumer activity.



10
11
12
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 10

def funds_usage_type
  @funds_usage_type
end

#holds_currenciesObject

The currencies that this FinancialAccount can hold.



12
13
14
# File 'lib/stripe/params/v2/money_management/financial_account_create_params.rb', line 12

def holds_currencies
  @holds_currencies
end