Class: ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance
- Defined in:
- lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb
Defined Under Namespace
Modules: BalanceType
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The balance amount.
-
#balance_type ⇒ Symbol, ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType
The specific type of balance reported.
-
#vendor_code ⇒ String
The code used by the bank when reporting this specific balance.
-
#vendor_code_type ⇒ String?
The type of ‘vendor_code` being reported.
Instance Method Summary collapse
-
#initialize(amount: , balance_type: , vendor_code: , vendor_code_type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Balance for more details.
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(amount: , balance_type: , vendor_code: , vendor_code_type: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance for more details.
|
|
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 99
|
Instance Attribute Details
#amount ⇒ Integer
The balance amount.
72 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 72 required :amount, Integer |
#balance_type ⇒ Symbol, ModernTreasury::Models::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType
The specific type of balance reported. One of ‘opening_ledger`, `closing_ledger`, `current_ledger`, `opening_available`, `opening_available_next_business_day`, `closing_available`, `current_available`, ’previously_closed_book’, or ‘other`.
81 82 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 81 required :balance_type, enum: -> { ModernTreasury::InternalAccounts::BalanceReportCreateParams::Balance::BalanceType } |
#vendor_code ⇒ String
The code used by the bank when reporting this specific balance.
88 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 88 required :vendor_code, String |
#vendor_code_type ⇒ String?
The type of ‘vendor_code` being reported. Can be one of `bai2`, `bankprov`, `bnk_dev`, `cleartouch`, `currencycloud`, `cross_river`, `dc_bank`, `dwolla`, `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `signet`, `silvergate`, `swift`, or `us_bank`.
97 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb', line 97 required :vendor_code_type, String, nil?: true |