View Source DSL: AshDoubleEntry.Balance
An extension for creating a double entry ledger balance. See the getting started guide for more.
balance
Options
Name | Type | Default | Docs |
---|---|---|---|
transfer_resource | module | The resource used for transfers | |
account_resource | module | The resource used for accounts | |
pre_check_identities_with | module | A domain to use to precheck generated identities. Required by certain data layers. | |
money_composite_type? | boolean | true | Whether the balance is stored as a composite type. |
data_layer_can_add_money? | boolean | true | Whether or not the data layer supports adding money. |