View Source Appwrite.Types.Currency (appwrite v0.2.1)

A currency record returned by GET /v1/locale/currencies.

Fields

  • symbol (String.t()) — display symbol (e.g. "$").
  • name (String.t()) — human-readable name (e.g. "US Dollar").
  • symbol_native (String.t()) — native script symbol (e.g. "$").
  • decimal_digits (non_neg_integer()) — standard decimal precision.
  • rounding (float()) — smallest currency unit for rounding (e.g. 0.0 for most currencies, 0.05 for Swiss francs).
  • code (String.t()) — ISO 4217 code (e.g. "USD").
  • name_plural (String.t()) — plural name (e.g. "US dollars").

Summary

Types

t()

@type t() :: %Appwrite.Types.Currency{
  code: String.t(),
  decimal_digits: non_neg_integer(),
  name: String.t(),
  name_plural: String.t(),
  rounding: float(),
  symbol: String.t(),
  symbol_native: String.t()
}