Class: ModernTreasury::Models::LedgerAccountCategoryListParams::Balances

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/modern_treasury/models/ledger_account_category_list_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(effective_at: nil) ⇒ Object

For example, if you want the balances as of a particular time (ISO8601), the encoded query string would be ‘balances%5Beffective_at%5D=2000-12-31T12:00:00Z`. The balances as of a time are inclusive of entries with that exact time, but with respect to the ledger accounts that are currently present in the category.

Parameters:

  • effective_at (Time) (defaults to: nil)


107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/modern_treasury/models/ledger_account_category_list_params.rb', line 107

class Balances < ModernTreasury::Internal::Type::BaseModel
  # @!attribute effective_at
  #
  #   @return [Time, nil]
  optional :effective_at, Time

  # @!method initialize(effective_at: nil)
  #   For example, if you want the balances as of a particular time (ISO8601), the
  #   encoded query string would be `balances%5Beffective_at%5D=2000-12-31T12:00:00Z`.
  #   The balances as of a time are inclusive of entries with that exact time, but
  #   with respect to the ledger accounts that are currently present in the category.
  #
  #   @param effective_at [Time]
end

Instance Attribute Details

#effective_atTime?

Returns:

  • (Time, nil)


111
# File 'lib/modern_treasury/models/ledger_account_category_list_params.rb', line 111

optional :effective_at, Time