Values accepted for Currency in the Money API.
Prefer the documented atoms returned by values/0. The type also accepts strings so a
newer server value can be preserved by an older SDK instead of failing during decoding.
Currency and integer minor-unit amount values used throughout the Inttegro API.
Summary
Functions
Returns the documented Inttegro.Money.Currency atoms known by this SDK version.
Types
@type t() :: :ghs | :usd | :gbp | :eur | :cny | String.t()
A currency atom or an unknown wire value preserved as a string.
Functions
@spec values() :: [t()]
Returns the documented Inttegro.Money.Currency atoms known by this SDK version.