Currency

@objc(GFYCurrency)
public enum Currency : Int
extension Currency: CustomStringConvertible
extension Currency: Encodable

Identifies a particular type of currency

Currently only USD is supported in this SDK. Talk to your Account Manager if you require further currency options.

  • usd

    United States Dollar

    Declaration

    Swift

    case usd
  • Retrieves the canonical string version of the Currency value

    Declaration

    Swift

    public var description: String { get }
  • Encodes an instance of Currency

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws