Logistiki.Accounting.AccountingPolicy (logistiki v0.1.0)

Copy Markdown View Source

A record of the accounting policy selected for an event.

Policies are selected by the knowledge layer (Logistiki.Knowledge.Program) and recorded on the journal for explanation and replay.

Fields

  • nameatom() — the policy name (e.g. :cash_deposit, :corporate_wire_fee)
  • descriptionString.t() | nil — optional human-readable description

Example

%Logistiki.Accounting.AccountingPolicy{
  name: :cash_deposit,
  description: "Debit cash, credit client liability"
}

Summary

Types

t()

The struct type. See the module documentation for field details and examples.

Types

t()

@type t() :: %Logistiki.Accounting.AccountingPolicy{
  description: String.t() | nil,
  name: atom()
}

The struct type. See the module documentation for field details and examples.