ash_double_entry/documentation/dsls/DSL:-AshDoubleEntry.Balance.md
2023-12-22 21:36:36 -05:00

32 lines
1 KiB
Markdown

<!--
This file was generated by Spark. Do not edit it by hand.
-->
# 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`](#balance-transfer_resource){: #balance-transfer_resource .spark-required} | `module` | | The resource used for transfers |
| [`account_resource`](#balance-account_resource){: #balance-account_resource .spark-required} | `module` | | The resource used for accounts |
| [`pre_check_identities_with`](#balance-pre_check_identities_with){: #balance-pre_check_identities_with } | `module` | | An api to use to precheck generated identities. Required by certain data layers. |
| [`money_composite_type?`](#balance-money_composite_type?){: #balance-money_composite_type? } | `boolean` | `true` | Whether the balance is stored as a composite type. |
<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>