Money v1.4.0 API Reference

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)

WARNING: this module is deprecated. Use Money.Ecto.Amount.Type module instead. Provides a type for Ecto usage. The underlying data type should be an integer