View Source AshDoubleEntry.Balance.Info (ash_double_entry v1.0.1)

Introspection helpers for AshDoubleEntry.Balance

Summary

Functions

The resource used for accounts

The resource used for accounts

Whether or not the data layer supports adding money.

Whether the balance is stored as a composite type.

balance 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.

The resource used for transfers

The resource used for transfers

Functions

Link to this function

balance_account_resource(dsl_or_extended)

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

The resource used for accounts

Link to this function

balance_account_resource!(dsl_or_extended)

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

The resource used for accounts

Link to this function

balance_data_layer_can_add_money?(dsl_or_extended)

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

Whether or not the data layer supports adding money.

Link to this function

balance_money_composite_type?(dsl_or_extended)

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

Whether the balance is stored as a composite type.

Link to this function

balance_options(dsl_or_extended)

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

balance DSL options

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

Link to this function

balance_pre_check_identities_with(dsl_or_extended)

View Source
@spec balance_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

balance_pre_check_identities_with!(dsl_or_extended)

View Source
@spec balance_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.

Link to this function

balance_transfer_resource(dsl_or_extended)

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

The resource used for transfers

Link to this function

balance_transfer_resource!(dsl_or_extended)

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

The resource used for transfers