ash_double_entry/documentation/dsls/DSL:-AshDoubleEntry.Account.md

33 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2023-12-23 15:36:36 +13:00
<!--
This file was generated by Spark. Do not edit it by hand.
-->
# DSL: AshDoubleEntry.Account
An extension for creating a double entry ledger account. See the getting started guide for more.
## account
### Options
| Name | Type | Default | Docs |
|------|------|---------|------|
| [`transfer_resource`](#account-transfer_resource){: #account-transfer_resource .spark-required} | `module` | | The resource used for transfers |
| [`balance_resource`](#account-balance_resource){: #account-balance_resource .spark-required} | `module` | | The resource used for balances |
| [`open_action_accept`](#account-open_action_accept){: #account-open_action_accept } | `list(atom)` | `[]` | A list of extra attributes to be accepted by the open action. The `identifier` and `currency` attributes are always accepted. |
2024-04-02 10:21:49 +13:00
| [`pre_check_identities_with`](#account-pre_check_identities_with){: #account-pre_check_identities_with } | `module` | | A domain to use to precheck generated identities. Required by certain data layers. |
2023-12-23 15:36:36 +13:00
<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>