DoubleEntryLedger.PendingTransactionLookup (double_entry_ledger v0.2.0)

View Source

Lightweight correlation row keyed by external idempotency tuple. Creates transaction keys for andy new pending transaction to make it easier to find updates

Summary

Types

t()

@type t() :: %DoubleEntryLedger.PendingTransactionLookup{
  __meta__: term(),
  command: DoubleEntryLedger.Command.t() | Ecto.Association.NotLoaded.t(),
  command_id: Ecto.UUID.t(),
  inserted_at: term(),
  instance: DoubleEntryLedger.Instance.t() | Ecto.Association.NotLoaded.t(),
  instance_id: Ecto.UUID.t(),
  journal_event:
    DoubleEntryLedger.JournalEvent.t() | Ecto.Association.NotLoaded.t() | nil,
  journal_event_id: Ecto.UUID.t(),
  source: String.t(),
  source_idempk: String.t(),
  transaction:
    DoubleEntryLedger.Transaction.t() | Ecto.Association.NotLoaded.t() | nil,
  transaction_id: Ecto.UUID.t() | nil,
  updated_at: term()
}

Functions

upsert_changeset(struct, attrs)