Module: ModernTreasury::Models::LedgerEntryListParams::Status

Extended by:
Internal::Type::Enum
Defined in:
lib/modern_treasury/models/ledger_entry_list_params.rb,
sig/modern_treasury/models/ledger_entry_list_params.rbs

Overview

Get all ledger entries that match the status specified. One of pending, posted, or archived. For multiple statuses, use status[]=pending&status[]=posted.

Constant Summary collapse

PENDING =

Returns:

  • (:pending)
:pending
POSTED =

Returns:

  • (:posted)
:posted
ARCHIVED =

Returns:

  • (:archived)
:archived

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/modern_treasury/models/ledger_entry_list_params.rb', line 287

Instance Method Details

#self?.values::Array[ModernTreasury::Models::LedgerEntryListParams::status]

Returns:

  • (::Array[ModernTreasury::Models::LedgerEntryListParams::status])


277
# File 'sig/modern_treasury/models/ledger_entry_list_params.rbs', line 277

def self?.values: -> ::Array[ModernTreasury::Models::LedgerEntryListParams::status]