Class: ModernTreasury::Models::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState
- Defined in:
- lib/modern_treasury/models/ledger_account_balance_monitor.rb
Overview
Instance Attribute Summary collapse
- #balances ⇒ ModernTreasury::Models::LedgerBalances
-
#ledger_account_lock_version ⇒ Integer
The current lock version of the ledger account.
-
#triggered ⇒ Boolean
If ‘true`, the ledger account’s balances satisfy the ‘alert_condition` at this lock version.
Instance Method Summary collapse
-
#initialize(balances: , ledger_account_lock_version: , triggered: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see CurrentLedgerAccountBalanceState 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(balances: , ledger_account_lock_version: , triggered: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState for more details.
The ledger account’s balances and the monitor state as of the current ledger account lock version.
|
|
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 157
|
Instance Attribute Details
#balances ⇒ ModernTreasury::Models::LedgerBalances
142 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 142 required :balances, -> { ModernTreasury::LedgerBalances } |
#ledger_account_lock_version ⇒ Integer
The current lock version of the ledger account.
148 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 148 required :ledger_account_lock_version, Integer |
#triggered ⇒ Boolean
If ‘true`, the ledger account’s balances satisfy the ‘alert_condition` at this lock version.
155 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 155 required :triggered, ModernTreasury::Internal::Type::Boolean |