Currency

open class Currency : Codable

Represents a Currency in Moltin

  • id

    The id of this currency

    Declaration

    Swift

    public let id: String
  • The type of this object

    Declaration

    Swift

    public let type: String
  • The currency code

    Declaration

    Swift

    public let code: String
  • The exchange rate between this currency and the default currency

    Declaration

    Swift

    public let exchangeRate: Float
  • The format of this currency

    Declaration

    Swift

    public let format: String
  • The decimal point character of this currency

    Declaration

    Swift

    public let decimalPoint: String
  • The thousands separator character of this currency

    Declaration

    Swift

    public let thousandSeparator: String
  • The amount of decimal places this currency has

    Declaration

    Swift

    public let decimalPlaces: Int
  • Whether this currency is the default currency

    Declaration

    Swift

    public let `default`: Bool
  • If this currency is enabled

    Declaration

    Swift

    public let enabled: Bool
  • The external links of this currency

    Declaration

    Swift

    public let links: [String : String]
  • The meta information for this currency

    Declaration

    Swift

    public let meta: CurrencyMeta