Class: ModernTreasury::Models::AccountDetailCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::AccountDetailCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/modern_treasury/models/account_detail_create_params.rb,
sig/modern_treasury/models/account_detail_create_params.rbs
Overview
Defined Under Namespace
Modules: AccountNumberType, AccountsType
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::ModernTreasury
Instance Attribute Summary collapse
- #account_id ⇒ String
-
#account_number ⇒ String
The account number for the bank account.
-
#account_number_type ⇒ Symbol, ...
One of
iban,clabe,wallet_address, orother. - #accounts_type ⇒ Symbol, ModernTreasury::Models::AccountDetailCreateParams::AccountsType
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
28 |
# File 'sig/modern_treasury/models/account_detail_create_params.rbs', line 28
def initialize: (
|
Instance Attribute Details
#account_id ⇒ String
18 |
# File 'lib/modern_treasury/models/account_detail_create_params.rb', line 18 required :account_id, String |
#account_number ⇒ String
The account number for the bank account.
24 |
# File 'lib/modern_treasury/models/account_detail_create_params.rb', line 24 required :account_number, String |
#account_number_type ⇒ Symbol, ...
One of iban, clabe, wallet_address, or other. Use other if the bank
account number is in a generic format.
31 |
# File 'lib/modern_treasury/models/account_detail_create_params.rb', line 31 optional :account_number_type, enum: -> { ModernTreasury::AccountDetailCreateParams::AccountNumberType } |
#accounts_type ⇒ Symbol, ModernTreasury::Models::AccountDetailCreateParams::AccountsType
13 |
# File 'lib/modern_treasury/models/account_detail_create_params.rb', line 13 required :accounts_type, enum: -> { ModernTreasury::AccountDetailCreateParams::AccountsType } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/account_detail_create_params.rb', line 52
|
Instance Method Details
#to_hash ⇒ {
36 |
# File 'sig/modern_treasury/models/account_detail_create_params.rbs', line 36
def to_hash: -> {
|