Module: ModernTreasury::Models::LedgerTransactionListParams::Status

Extended by:
Internal::Type::Union
Defined in:
lib/modern_treasury/models/ledger_transaction_list_params.rb

Defined Under Namespace

Modules: UnionMember1

collapse

PENDING =
:pending
POSTED =
:posted
ARCHIVED =
:archived

Constant Summary collapse

UnionMember1Array =
ModernTreasury::Internal::Type::ArrayOf[enum: -> {
  ModernTreasury::LedgerTransactionListParams::Status::UnionMember1
}]

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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_transaction_list_params.rb', line 286

.variantsArray(Symbol, Array<Symbol, ModernTreasury::Models::LedgerTransactionListParams::Status::UnionMember1>)



293
294
295
296
297
298
299
300
# File 'lib/modern_treasury/models/ledger_transaction_list_params.rb', line 293

define_sorbet_constant!(:Variants) do
  T.type_alias do
    T.any(
      ModernTreasury::LedgerTransactionListParams::Status::TaggedSymbol,
      T::Array[ModernTreasury::LedgerTransactionListParams::Status::UnionMember1::TaggedSymbol]
    )
  end
end