Class: ModernTreasury::Models::LedgerAccountBalanceMonitor
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LedgerAccountBalanceMonitor
- Defined in:
- lib/modern_treasury/models/ledger_account_balance_monitor.rb
Overview
Defined Under Namespace
Classes: AlertCondition, CurrentLedgerAccountBalanceState
Instance Attribute Summary collapse
-
#alert_condition ⇒ ModernTreasury::Models::LedgerAccountBalanceMonitor::AlertCondition
Describes the condition that must be satisfied for the monitor to be triggered.
- #created_at ⇒ Time
-
#current_ledger_account_balance_state ⇒ ModernTreasury::Models::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState
The ledger account’s balances and the monitor state as of the current ledger account lock version.
-
#description ⇒ String?
An optional, free-form description for internal use.
- #discarded_at ⇒ Time?
- #id ⇒ String
-
#ledger_account_id ⇒ String
The ledger account associated with this balance monitor.
-
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
-
#metadata ⇒ Hash{Symbol=>String}
Additional data represented as key-value pairs.
- #object ⇒ String
- #updated_at ⇒ Time
Instance Method Summary collapse
-
#initialize(field: , operator: , value: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see AlertCondition 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(field: , operator: , value: ) ⇒ Object
Some parameter documentations has been truncated, see AlertCondition for more details.
Describes the condition that must be satisfied for the monitor to be triggered.
|
|
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 72
|
Instance Attribute Details
#alert_condition ⇒ ModernTreasury::Models::LedgerAccountBalanceMonitor::AlertCondition
Describes the condition that must be satisfied for the monitor to be triggered.
16 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 16 required :alert_condition, -> { ModernTreasury::LedgerAccountBalanceMonitor::AlertCondition } |
#created_at ⇒ Time
21 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 21 required :created_at, Time |
#current_ledger_account_balance_state ⇒ ModernTreasury::Models::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState
The ledger account’s balances and the monitor state as of the current ledger account lock version.
28 29 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 28 required :current_ledger_account_balance_state, -> { ModernTreasury::LedgerAccountBalanceMonitor::CurrentLedgerAccountBalanceState } |
#description ⇒ String?
An optional, free-form description for internal use.
35 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 35 required :description, String, nil?: true |
#discarded_at ⇒ Time?
40 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 40 required :discarded_at, Time, nil?: true |
#id ⇒ String
10 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 10 required :id, String |
#ledger_account_id ⇒ String
The ledger account associated with this balance monitor.
46 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 46 required :ledger_account_id, String |
#live_mode ⇒ Boolean
This field will be true if this object exists in the live environment or false if it exists in the test environment.
53 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 53 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#metadata ⇒ Hash{Symbol=>String}
Additional data represented as key-value pairs. Both the key and value must be strings.
60 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 60 required :metadata, ModernTreasury::Internal::Type::HashOf[String] |
#object ⇒ String
65 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 65 required :object, String |
#updated_at ⇒ Time
70 |
# File 'lib/modern_treasury/models/ledger_account_balance_monitor.rb', line 70 required :updated_at, Time |