Class: ModernTreasury::Models::InternalAccounts::BalanceReport
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::InternalAccounts::BalanceReport
- Defined in:
- lib/modern_treasury/models/internal_accounts/balance_report.rb
Overview
Defined Under Namespace
Modules: BalanceReportType Classes: Balance
Instance Attribute Summary collapse
-
#as_of_date ⇒ Date
The date of the balance report in local time.
-
#as_of_time ⇒ Time?
The time (24-hour clock) of the balance report in local time.
-
#balance_report_type ⇒ Symbol, ModernTreasury::Models::InternalAccounts::BalanceReport::BalanceReportType
The specific type of balance report.
-
#balances ⇒ Array<ModernTreasury::Models::InternalAccounts::BalanceReport::Balance>
An array of ‘Balance` objects.
- #created_at ⇒ Time
- #id ⇒ String
-
#internal_account_id ⇒ String
The ID of one of your organization’s Internal Accounts.
-
#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.
- #object ⇒ String
- #updated_at ⇒ Time
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , as_of_date: , as_of_time: , balance_report_type: , balances: , created_at: , internal_account_id: , live_mode: , object: , updated_at: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see BalanceReport 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(id: , as_of_date: , as_of_time: , balance_report_type: , balances: , created_at: , internal_account_id: , live_mode: , object: , updated_at: ) ⇒ Object
Some parameter documentations has been truncated, see ModernTreasury::Models::InternalAccounts::BalanceReport for more details.
|
|
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 68
|
Instance Attribute Details
#as_of_date ⇒ Date
The date of the balance report in local time.
17 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 17 required :as_of_date, Date |
#as_of_time ⇒ Time?
The time (24-hour clock) of the balance report in local time.
23 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 23 required :as_of_time, Time, nil?: true |
#balance_report_type ⇒ Symbol, ModernTreasury::Models::InternalAccounts::BalanceReport::BalanceReportType
The specific type of balance report. One of ‘intraday`, `previous_day`, `real_time`, or `other`.
30 31 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 30 required :balance_report_type, enum: -> { ModernTreasury::InternalAccounts::BalanceReport::BalanceReportType } |
#balances ⇒ Array<ModernTreasury::Models::InternalAccounts::BalanceReport::Balance>
An array of ‘Balance` objects.
37 38 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 37 required :balances, -> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::InternalAccounts::BalanceReport::Balance] } |
#created_at ⇒ Time
43 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 43 required :created_at, Time |
#id ⇒ String
11 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 11 required :id, String |
#internal_account_id ⇒ String
The ID of one of your organization’s Internal Accounts.
49 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 49 required :internal_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.
56 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 56 required :live_mode, ModernTreasury::Internal::Type::Boolean |
#object ⇒ String
61 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 61 required :object, String |
#updated_at ⇒ Time
66 |
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 66 required :updated_at, Time |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/internal_accounts/balance_report.rb', line 104
|