API Reference Money v1.12.1

modules

Modules

Defines a Money struct along with convenience methods for working with currencies.

Provides currency support to Money.

Provides a type for Ecto to store a currency. The underlying data type is a string.

Provides a type for Ecto to store a amount. The underlying data type should be an integer.

Provides a type for Ecto to store a multi-currency price. The underlying data type should be an user-defined Postgres composite type :money_with_currency.

Provides a type for Ecto to store a currency. The underlying data type is a string.

Provides a type for Ecto to store a multi-currency price. The underlying data type should be a map(JSON). Suitable for databases that do not support composite types, but support JSON (e.g. MySQL).

Provides a type for Ecto to store a currency. The underlying data type is a integer.

WARNING: This module is deprecated. Use Money.Ecto.Amount.Type module instead.