CurrencyCode
@objc(PPCCurrencyCode)
enum CurrencyCode
extension CurrencyCode : CaseIterable, Equatable, Hashable, RawRepresentable
An enum of the possible values to be passed as the curency code. Currency code enum documentation guide
-
Undocumented
Declaration
Swift
case aud -
Undocumented
Declaration
Swift
case brl -
Undocumented
Declaration
Swift
case cad -
Undocumented
Declaration
Swift
case chf -
Undocumented
Declaration
Swift
case cny -
Get a CurrencyCode from a string value (e.g. “USD”, “EUR”, etc.)
Declaration
Swift
static func currencyCode(from stringValue: String) -> CurrencyCode?Return Value
a CurrencyCode
-
Undocumented
Declaration
Swift
case czk -
Undocumented
Declaration
Swift
case dkk -
Undocumented
Declaration
Swift
case eur -
Undocumented
Declaration
Swift
case gbp -
Undocumented
Declaration
Swift
case hkd -
Undocumented
Declaration
Swift
case huf -
Undocumented
Declaration
Swift
case ils -
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"Declaration
Swift
init?(rawValue: Int) -
Undocumented
Declaration
Swift
case inr -
Undocumented
Declaration
Swift
case jpy -
Undocumented
Declaration
Swift
case mxn -
Undocumented
Declaration
Swift
case myr -
Undocumented
Declaration
Swift
case nok -
Undocumented
Declaration
Swift
case nzd -
Undocumented
Declaration
Swift
case php -
Undocumented
Declaration
Swift
case pln -
Undocumented
Declaration
Swift
case rub -
Undocumented
Declaration
Swift
case sek -
Undocumented
Declaration
Swift
case sgd -
Undocumented
Declaration
Swift
var stringValue: String { get } -
Undocumented
Declaration
Swift
case thb -
Undocumented
Declaration
Swift
case twd -
Undocumented
Declaration
Swift
case usd
View on GitHub
Install in Dash
CurrencyCode Enumeration Reference