Class: ModernTreasury::Models::LedgerTransactionListParams::OrderBy
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LedgerTransactionListParams::OrderBy
- Defined in:
- lib/modern_treasury/models/ledger_transaction_list_params.rb
Defined Under Namespace
Modules: CreatedAt, EffectiveAt
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(created_at: nil, effective_at: nil) ⇒ Object
constructor
Order by ‘created_at` or `effective_at` in `asc` or `desc` order.
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(created_at: nil, effective_at: nil) ⇒ Object
Order by ‘created_at` or `effective_at` in `asc` or `desc` order. For example, to order by `effective_at asc`, use `order_by%5Beffective_at%5D=asc`. Ordering by only one field at a time is supported.
|
|
# File 'lib/modern_treasury/models/ledger_transaction_list_params.rb', line 237
|
Instance Attribute Details
#created_at ⇒ Symbol, ...
230 |
# File 'lib/modern_treasury/models/ledger_transaction_list_params.rb', line 230 optional :created_at, enum: -> { ModernTreasury::LedgerTransactionListParams::OrderBy::CreatedAt } |
#effective_at ⇒ Symbol, ...
235 |
# File 'lib/modern_treasury/models/ledger_transaction_list_params.rb', line 235 optional :effective_at, enum: -> { ModernTreasury::LedgerTransactionListParams::OrderBy::EffectiveAt } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/modern_treasury/models/ledger_transaction_list_params.rb', line 252
|