Packages
beancount_ex
0.6.0
An idiomatic Elixir interface to Beancount that serves as the long-term behavioral oracle for a future native Elixir General Ledger.
Current section
Files
Jump to
Current section
Files
lib/beancount/engine/elixir/lot.ex
defmodule Beancount.Engine.Elixir.Lot do
@moduledoc false
alias Beancount.CostSpec
@enforce_keys [:units, :currency]
defstruct units: nil, currency: nil, cost: nil
@type t :: %__MODULE__{
units: Decimal.t(),
currency: String.t(),
cost: CostSpec.t() | nil
}
end