View Source AshDoubleEntry.Transfer.Info (ash_double_entry v1.0.6)

Introspection helpers for AshDoubleEntry.Transfer

Summary

Functions

The resource to use for account balances

The resource to use for account balances

The resource being used for balances

The resource being used for balances

Additional attributes to accept when creating a transfer

Additional attributes to accept when creating a transfer

Whether or not balances must be manually destroyed. See the getting started guide for more.

transfer DSL options

A domain to use to precheck generated identities. Required by certain data layers.

A domain to use to precheck generated identities. Required by certain data layers.

Functions

Link to this function

transfer_account_resource(dsl_or_extended)

View Source
@spec transfer_account_resource(dsl_or_extended :: module() | map()) ::
  {:ok, module()} | :error

The resource to use for account balances

Link to this function

transfer_account_resource!(dsl_or_extended)

View Source
@spec transfer_account_resource!(dsl_or_extended :: module() | map()) ::
  module() | no_return()

The resource to use for account balances

Link to this function

transfer_balance_resource(dsl_or_extended)

View Source
@spec transfer_balance_resource(dsl_or_extended :: module() | map()) ::
  {:ok, module()} | :error

The resource being used for balances

Link to this function

transfer_balance_resource!(dsl_or_extended)

View Source
@spec transfer_balance_resource!(dsl_or_extended :: module() | map()) ::
  module() | no_return()

The resource being used for balances

Link to this function

transfer_create_accept(dsl_or_extended)

View Source
@spec transfer_create_accept(dsl_or_extended :: module() | map()) ::
  {:ok, [atom()]} | :error

Additional attributes to accept when creating a transfer

Link to this function

transfer_create_accept!(dsl_or_extended)

View Source
@spec transfer_create_accept!(dsl_or_extended :: module() | map()) ::
  [atom()] | no_return()

Additional attributes to accept when creating a transfer

Link to this function

transfer_destroy_balances?(dsl_or_extended)

View Source
@spec transfer_destroy_balances?(dsl_or_extended :: module() | map()) :: boolean()

Whether or not balances must be manually destroyed. See the getting started guide for more.

Link to this function

transfer_options(dsl_or_extended)

View Source
@spec transfer_options(dsl_or_extended :: module() | map()) :: %{
  required(atom()) => any()
}

transfer DSL options

Returns a map containing the and any configured or default values.

Link to this function

transfer_pre_check_identities_with(dsl_or_extended)

View Source
@spec transfer_pre_check_identities_with(dsl_or_extended :: module() | map()) ::
  {:ok, module()} | :error

A domain to use to precheck generated identities. Required by certain data layers.

Link to this function

transfer_pre_check_identities_with!(dsl_or_extended)

View Source
@spec transfer_pre_check_identities_with!(dsl_or_extended :: module() | map()) ::
  module() | no_return()

A domain to use to precheck generated identities. Required by certain data layers.