View Source DSL: AshDoubleEntry.Balance

An extension for creating a double entry ledger balance. See the getting started guide for more.

balance

Options

NameTypeDefaultDocs
transfer_resourcemoduleThe resource used for transfers
account_resourcemoduleThe resource used for accounts
pre_check_identities_withmoduleA domain to use to precheck generated identities. Required by certain data layers.
money_composite_type?booleantrueWhether the balance is stored as a composite type.
data_layer_can_add_money?booleantrueWhether or not the data layer supports adding money.