Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
2441 lines (1952 sloc) 41.4 KB
// This file was automatically generated and should not be edited.
/// A monetary unit.
public protocol CurrencyType {
/// The three letter ISO 4217 currency code.
static var code: String { get }
/// The name of the currency.
static var name: String { get }
/**
The number of decimal places used to express
any minor units for the currency.
For example, the US Dollar (USD)
has a minor unit (cents)
equal to 1/100 of a dollar,
and therefore takes 2 decimal places.
The Japanese Yen (JPY)
doesn't have a minor unit,
and therefore takes 0 decimal places.
*/
static var minorUnit: Int { get }
}
/// UAE Dirham (AED)
public enum AED: CurrencyType {
public static var code: String {
return "AED"
}
public static var name: String {
return "UAE Dirham"
}
public static var minorUnit: Int {
return 2
}
}
/// Afghani (AFN)
public enum AFN: CurrencyType {
public static var code: String {
return "AFN"
}
public static var name: String {
return "Afghani"
}
public static var minorUnit: Int {
return 2
}
}
/// Lek (ALL)
public enum ALL: CurrencyType {
public static var code: String {
return "ALL"
}
public static var name: String {
return "Lek"
}
public static var minorUnit: Int {
return 2
}
}
/// Armenian Dram (AMD)
public enum AMD: CurrencyType {
public static var code: String {
return "AMD"
}
public static var name: String {
return "Armenian Dram"
}
public static var minorUnit: Int {
return 2
}
}
/// Netherlands Antillean Guilder (ANG)
public enum ANG: CurrencyType {
public static var code: String {
return "ANG"
}
public static var name: String {
return "Netherlands Antillean Guilder"
}
public static var minorUnit: Int {
return 2
}
}
/// Kwanza (AOA)
public enum AOA: CurrencyType {
public static var code: String {
return "AOA"
}
public static var name: String {
return "Kwanza"
}
public static var minorUnit: Int {
return 2
}
}
/// Argentine Peso (ARS)
public enum ARS: CurrencyType {
public static var code: String {
return "ARS"
}
public static var name: String {
return "Argentine Peso"
}
public static var minorUnit: Int {
return 2
}
}
/// Australian Dollar (AUD)
public enum AUD: CurrencyType {
public static var code: String {
return "AUD"
}
public static var name: String {
return "Australian Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Aruban Florin (AWG)
public enum AWG: CurrencyType {
public static var code: String {
return "AWG"
}
public static var name: String {
return "Aruban Florin"
}
public static var minorUnit: Int {
return 2
}
}
/// Azerbaijan Manat (AZN)
public enum AZN: CurrencyType {
public static var code: String {
return "AZN"
}
public static var name: String {
return "Azerbaijan Manat"
}
public static var minorUnit: Int {
return 2
}
}
/// Convertible Mark (BAM)
public enum BAM: CurrencyType {
public static var code: String {
return "BAM"
}
public static var name: String {
return "Convertible Mark"
}
public static var minorUnit: Int {
return 2
}
}
/// Barbados Dollar (BBD)
public enum BBD: CurrencyType {
public static var code: String {
return "BBD"
}
public static var name: String {
return "Barbados Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Taka (BDT)
public enum BDT: CurrencyType {
public static var code: String {
return "BDT"
}
public static var name: String {
return "Taka"
}
public static var minorUnit: Int {
return 2
}
}
/// Bulgarian Lev (BGN)
public enum BGN: CurrencyType {
public static var code: String {
return "BGN"
}
public static var name: String {
return "Bulgarian Lev"
}
public static var minorUnit: Int {
return 2
}
}
/// Bahraini Dinar (BHD)
public enum BHD: CurrencyType {
public static var code: String {
return "BHD"
}
public static var name: String {
return "Bahraini Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Burundi Franc (BIF)
public enum BIF: CurrencyType {
public static var code: String {
return "BIF"
}
public static var name: String {
return "Burundi Franc"
}
public static var minorUnit: Int {
return 0
}
}
/// Bermudian Dollar (BMD)
public enum BMD: CurrencyType {
public static var code: String {
return "BMD"
}
public static var name: String {
return "Bermudian Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Brunei Dollar (BND)
public enum BND: CurrencyType {
public static var code: String {
return "BND"
}
public static var name: String {
return "Brunei Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Boliviano (BOB)
public enum BOB: CurrencyType {
public static var code: String {
return "BOB"
}
public static var name: String {
return "Boliviano"
}
public static var minorUnit: Int {
return 2
}
}
/// Mvdol (BOV)
public enum BOV: CurrencyType {
public static var code: String {
return "BOV"
}
public static var name: String {
return "Mvdol"
}
public static var minorUnit: Int {
return 2
}
}
/// Brazilian Real (BRL)
public enum BRL: CurrencyType {
public static var code: String {
return "BRL"
}
public static var name: String {
return "Brazilian Real"
}
public static var minorUnit: Int {
return 2
}
}
/// Bahamian Dollar (BSD)
public enum BSD: CurrencyType {
public static var code: String {
return "BSD"
}
public static var name: String {
return "Bahamian Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Ngultrum (BTN)
public enum BTN: CurrencyType {
public static var code: String {
return "BTN"
}
public static var name: String {
return "Ngultrum"
}
public static var minorUnit: Int {
return 2
}
}
/// Pula (BWP)
public enum BWP: CurrencyType {
public static var code: String {
return "BWP"
}
public static var name: String {
return "Pula"
}
public static var minorUnit: Int {
return 2
}
}
/// Belarusian Ruble (BYN)
public enum BYN: CurrencyType {
public static var code: String {
return "BYN"
}
public static var name: String {
return "Belarusian Ruble"
}
public static var minorUnit: Int {
return 2
}
}
/// Belize Dollar (BZD)
public enum BZD: CurrencyType {
public static var code: String {
return "BZD"
}
public static var name: String {
return "Belize Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Canadian Dollar (CAD)
public enum CAD: CurrencyType {
public static var code: String {
return "CAD"
}
public static var name: String {
return "Canadian Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Congolese Franc (CDF)
public enum CDF: CurrencyType {
public static var code: String {
return "CDF"
}
public static var name: String {
return "Congolese Franc"
}
public static var minorUnit: Int {
return 2
}
}
/// WIR Euro (CHE)
public enum CHE: CurrencyType {
public static var code: String {
return "CHE"
}
public static var name: String {
return "WIR Euro"
}
public static var minorUnit: Int {
return 2
}
}
/// Swiss Franc (CHF)
public enum CHF: CurrencyType {
public static var code: String {
return "CHF"
}
public static var name: String {
return "Swiss Franc"
}
public static var minorUnit: Int {
return 2
}
}
/// WIR Franc (CHW)
public enum CHW: CurrencyType {
public static var code: String {
return "CHW"
}
public static var name: String {
return "WIR Franc"
}
public static var minorUnit: Int {
return 2
}
}
/// Unidad de Fomento (CLF)
public enum CLF: CurrencyType {
public static var code: String {
return "CLF"
}
public static var name: String {
return "Unidad de Fomento"
}
public static var minorUnit: Int {
return 4
}
}
/// Chilean Peso (CLP)
public enum CLP: CurrencyType {
public static var code: String {
return "CLP"
}
public static var name: String {
return "Chilean Peso"
}
public static var minorUnit: Int {
return 0
}
}
/// Yuan Renminbi (CNY)
public enum CNY: CurrencyType {
public static var code: String {
return "CNY"
}
public static var name: String {
return "Yuan Renminbi"
}
public static var minorUnit: Int {
return 2
}
}
/// Colombian Peso (COP)
public enum COP: CurrencyType {
public static var code: String {
return "COP"
}
public static var name: String {
return "Colombian Peso"
}
public static var minorUnit: Int {
return 2
}
}
/// Unidad de Valor Real (COU)
public enum COU: CurrencyType {
public static var code: String {
return "COU"
}
public static var name: String {
return "Unidad de Valor Real"
}
public static var minorUnit: Int {
return 2
}
}
/// Costa Rican Colon (CRC)
public enum CRC: CurrencyType {
public static var code: String {
return "CRC"
}
public static var name: String {
return "Costa Rican Colon"
}
public static var minorUnit: Int {
return 2
}
}
/// Peso Convertible (CUC)
public enum CUC: CurrencyType {
public static var code: String {
return "CUC"
}
public static var name: String {
return "Peso Convertible"
}
public static var minorUnit: Int {
return 2
}
}
/// Cuban Peso (CUP)
public enum CUP: CurrencyType {
public static var code: String {
return "CUP"
}
public static var name: String {
return "Cuban Peso"
}
public static var minorUnit: Int {
return 2
}
}
/// Cabo Verde Escudo (CVE)
public enum CVE: CurrencyType {
public static var code: String {
return "CVE"
}
public static var name: String {
return "Cabo Verde Escudo"
}
public static var minorUnit: Int {
return 2
}
}
/// Czech Koruna (CZK)
public enum CZK: CurrencyType {
public static var code: String {
return "CZK"
}
public static var name: String {
return "Czech Koruna"
}
public static var minorUnit: Int {
return 2
}
}
/// Djibouti Franc (DJF)
public enum DJF: CurrencyType {
public static var code: String {
return "DJF"
}
public static var name: String {
return "Djibouti Franc"
}
public static var minorUnit: Int {
return 0
}
}
/// Danish Krone (DKK)
public enum DKK: CurrencyType {
public static var code: String {
return "DKK"
}
public static var name: String {
return "Danish Krone"
}
public static var minorUnit: Int {
return 2
}
}
/// Dominican Peso (DOP)
public enum DOP: CurrencyType {
public static var code: String {
return "DOP"
}
public static var name: String {
return "Dominican Peso"
}
public static var minorUnit: Int {
return 2
}
}
/// Algerian Dinar (DZD)
public enum DZD: CurrencyType {
public static var code: String {
return "DZD"
}
public static var name: String {
return "Algerian Dinar"
}
public static var minorUnit: Int {
return 2
}
}
/// Egyptian Pound (EGP)
public enum EGP: CurrencyType {
public static var code: String {
return "EGP"
}
public static var name: String {
return "Egyptian Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Nakfa (ERN)
public enum ERN: CurrencyType {
public static var code: String {
return "ERN"
}
public static var name: String {
return "Nakfa"
}
public static var minorUnit: Int {
return 2
}
}
/// Ethiopian Birr (ETB)
public enum ETB: CurrencyType {
public static var code: String {
return "ETB"
}
public static var name: String {
return "Ethiopian Birr"
}
public static var minorUnit: Int {
return 2
}
}
/// Euro (EUR)
public enum EUR: CurrencyType {
public static var code: String {
return "EUR"
}
public static var name: String {
return "Euro"
}
public static var minorUnit: Int {
return 2
}
}
/// Fiji Dollar (FJD)
public enum FJD: CurrencyType {
public static var code: String {
return "FJD"
}
public static var name: String {
return "Fiji Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Falkland Islands Pound (FKP)
public enum FKP: CurrencyType {
public static var code: String {
return "FKP"
}
public static var name: String {
return "Falkland Islands Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Pound Sterling (GBP)
public enum GBP: CurrencyType {
public static var code: String {
return "GBP"
}
public static var name: String {
return "Pound Sterling"
}
public static var minorUnit: Int {
return 2
}
}
/// Lari (GEL)
public enum GEL: CurrencyType {
public static var code: String {
return "GEL"
}
public static var name: String {
return "Lari"
}
public static var minorUnit: Int {
return 2
}
}
/// Ghana Cedi (GHS)
public enum GHS: CurrencyType {
public static var code: String {
return "GHS"
}
public static var name: String {
return "Ghana Cedi"
}
public static var minorUnit: Int {
return 2
}
}
/// Gibraltar Pound (GIP)
public enum GIP: CurrencyType {
public static var code: String {
return "GIP"
}
public static var name: String {
return "Gibraltar Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Dalasi (GMD)
public enum GMD: CurrencyType {
public static var code: String {
return "GMD"
}
public static var name: String {
return "Dalasi"
}
public static var minorUnit: Int {
return 2
}
}
/// Guinean Franc (GNF)
public enum GNF: CurrencyType {
public static var code: String {
return "GNF"
}
public static var name: String {
return "Guinean Franc"
}
public static var minorUnit: Int {
return 0
}
}
/// Quetzal (GTQ)
public enum GTQ: CurrencyType {
public static var code: String {
return "GTQ"
}
public static var name: String {
return "Quetzal"
}
public static var minorUnit: Int {
return 2
}
}
/// Guyana Dollar (GYD)
public enum GYD: CurrencyType {
public static var code: String {
return "GYD"
}
public static var name: String {
return "Guyana Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Hong Kong Dollar (HKD)
public enum HKD: CurrencyType {
public static var code: String {
return "HKD"
}
public static var name: String {
return "Hong Kong Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Lempira (HNL)
public enum HNL: CurrencyType {
public static var code: String {
return "HNL"
}
public static var name: String {
return "Lempira"
}
public static var minorUnit: Int {
return 2
}
}
/// Kuna (HRK)
public enum HRK: CurrencyType {
public static var code: String {
return "HRK"
}
public static var name: String {
return "Kuna"
}
public static var minorUnit: Int {
return 2
}
}
/// Gourde (HTG)
public enum HTG: CurrencyType {
public static var code: String {
return "HTG"
}
public static var name: String {
return "Gourde"
}
public static var minorUnit: Int {
return 2
}
}
/// Forint (HUF)
public enum HUF: CurrencyType {
public static var code: String {
return "HUF"
}
public static var name: String {
return "Forint"
}
public static var minorUnit: Int {
return 2
}
}
/// Rupiah (IDR)
public enum IDR: CurrencyType {
public static var code: String {
return "IDR"
}
public static var name: String {
return "Rupiah"
}
public static var minorUnit: Int {
return 2
}
}
/// New Israeli Sheqel (ILS)
public enum ILS: CurrencyType {
public static var code: String {
return "ILS"
}
public static var name: String {
return "New Israeli Sheqel"
}
public static var minorUnit: Int {
return 2
}
}
/// Indian Rupee (INR)
public enum INR: CurrencyType {
public static var code: String {
return "INR"
}
public static var name: String {
return "Indian Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// Iraqi Dinar (IQD)
public enum IQD: CurrencyType {
public static var code: String {
return "IQD"
}
public static var name: String {
return "Iraqi Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Iranian Rial (IRR)
public enum IRR: CurrencyType {
public static var code: String {
return "IRR"
}
public static var name: String {
return "Iranian Rial"
}
public static var minorUnit: Int {
return 2
}
}
/// Iceland Krona (ISK)
public enum ISK: CurrencyType {
public static var code: String {
return "ISK"
}
public static var name: String {
return "Iceland Krona"
}
public static var minorUnit: Int {
return 0
}
}
/// Jamaican Dollar (JMD)
public enum JMD: CurrencyType {
public static var code: String {
return "JMD"
}
public static var name: String {
return "Jamaican Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Jordanian Dinar (JOD)
public enum JOD: CurrencyType {
public static var code: String {
return "JOD"
}
public static var name: String {
return "Jordanian Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Yen (JPY)
public enum JPY: CurrencyType {
public static var code: String {
return "JPY"
}
public static var name: String {
return "Yen"
}
public static var minorUnit: Int {
return 0
}
}
/// Kenyan Shilling (KES)
public enum KES: CurrencyType {
public static var code: String {
return "KES"
}
public static var name: String {
return "Kenyan Shilling"
}
public static var minorUnit: Int {
return 2
}
}
/// Som (KGS)
public enum KGS: CurrencyType {
public static var code: String {
return "KGS"
}
public static var name: String {
return "Som"
}
public static var minorUnit: Int {
return 2
}
}
/// Riel (KHR)
public enum KHR: CurrencyType {
public static var code: String {
return "KHR"
}
public static var name: String {
return "Riel"
}
public static var minorUnit: Int {
return 2
}
}
/// Comorian Franc (KMF)
public enum KMF: CurrencyType {
public static var code: String {
return "KMF"
}
public static var name: String {
return "Comorian Franc"
}
public static var minorUnit: Int {
return 0
}
}
/// North Korean Won (KPW)
public enum KPW: CurrencyType {
public static var code: String {
return "KPW"
}
public static var name: String {
return "North Korean Won"
}
public static var minorUnit: Int {
return 2
}
}
/// Won (KRW)
public enum KRW: CurrencyType {
public static var code: String {
return "KRW"
}
public static var name: String {
return "Won"
}
public static var minorUnit: Int {
return 0
}
}
/// Kuwaiti Dinar (KWD)
public enum KWD: CurrencyType {
public static var code: String {
return "KWD"
}
public static var name: String {
return "Kuwaiti Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Cayman Islands Dollar (KYD)
public enum KYD: CurrencyType {
public static var code: String {
return "KYD"
}
public static var name: String {
return "Cayman Islands Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Tenge (KZT)
public enum KZT: CurrencyType {
public static var code: String {
return "KZT"
}
public static var name: String {
return "Tenge"
}
public static var minorUnit: Int {
return 2
}
}
/// Lao Kip (LAK)
public enum LAK: CurrencyType {
public static var code: String {
return "LAK"
}
public static var name: String {
return "Lao Kip"
}
public static var minorUnit: Int {
return 2
}
}
/// Lebanese Pound (LBP)
public enum LBP: CurrencyType {
public static var code: String {
return "LBP"
}
public static var name: String {
return "Lebanese Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Sri Lanka Rupee (LKR)
public enum LKR: CurrencyType {
public static var code: String {
return "LKR"
}
public static var name: String {
return "Sri Lanka Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// Liberian Dollar (LRD)
public enum LRD: CurrencyType {
public static var code: String {
return "LRD"
}
public static var name: String {
return "Liberian Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Loti (LSL)
public enum LSL: CurrencyType {
public static var code: String {
return "LSL"
}
public static var name: String {
return "Loti"
}
public static var minorUnit: Int {
return 2
}
}
/// Libyan Dinar (LYD)
public enum LYD: CurrencyType {
public static var code: String {
return "LYD"
}
public static var name: String {
return "Libyan Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Moroccan Dirham (MAD)
public enum MAD: CurrencyType {
public static var code: String {
return "MAD"
}
public static var name: String {
return "Moroccan Dirham"
}
public static var minorUnit: Int {
return 2
}
}
/// Moldovan Leu (MDL)
public enum MDL: CurrencyType {
public static var code: String {
return "MDL"
}
public static var name: String {
return "Moldovan Leu"
}
public static var minorUnit: Int {
return 2
}
}
/// Malagasy Ariary (MGA)
public enum MGA: CurrencyType {
public static var code: String {
return "MGA"
}
public static var name: String {
return "Malagasy Ariary"
}
public static var minorUnit: Int {
return 2
}
}
/// Denar (MKD)
public enum MKD: CurrencyType {
public static var code: String {
return "MKD"
}
public static var name: String {
return "Denar"
}
public static var minorUnit: Int {
return 2
}
}
/// Kyat (MMK)
public enum MMK: CurrencyType {
public static var code: String {
return "MMK"
}
public static var name: String {
return "Kyat"
}
public static var minorUnit: Int {
return 2
}
}
/// Tugrik (MNT)
public enum MNT: CurrencyType {
public static var code: String {
return "MNT"
}
public static var name: String {
return "Tugrik"
}
public static var minorUnit: Int {
return 2
}
}
/// Pataca (MOP)
public enum MOP: CurrencyType {
public static var code: String {
return "MOP"
}
public static var name: String {
return "Pataca"
}
public static var minorUnit: Int {
return 2
}
}
/// Ouguiya (MRU)
public enum MRU: CurrencyType {
public static var code: String {
return "MRU"
}
public static var name: String {
return "Ouguiya"
}
public static var minorUnit: Int {
return 2
}
}
/// Mauritius Rupee (MUR)
public enum MUR: CurrencyType {
public static var code: String {
return "MUR"
}
public static var name: String {
return "Mauritius Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// Rufiyaa (MVR)
public enum MVR: CurrencyType {
public static var code: String {
return "MVR"
}
public static var name: String {
return "Rufiyaa"
}
public static var minorUnit: Int {
return 2
}
}
/// Malawi Kwacha (MWK)
public enum MWK: CurrencyType {
public static var code: String {
return "MWK"
}
public static var name: String {
return "Malawi Kwacha"
}
public static var minorUnit: Int {
return 2
}
}
/// Mexican Peso (MXN)
public enum MXN: CurrencyType {
public static var code: String {
return "MXN"
}
public static var name: String {
return "Mexican Peso"
}
public static var minorUnit: Int {
return 2
}
}
/// Mexican Unidad de Inversion (UDI) (MXV)
public enum MXV: CurrencyType {
public static var code: String {
return "MXV"
}
public static var name: String {
return "Mexican Unidad de Inversion (UDI)"
}
public static var minorUnit: Int {
return 2
}
}
/// Malaysian Ringgit (MYR)
public enum MYR: CurrencyType {
public static var code: String {
return "MYR"
}
public static var name: String {
return "Malaysian Ringgit"
}
public static var minorUnit: Int {
return 2
}
}
/// Mozambique Metical (MZN)
public enum MZN: CurrencyType {
public static var code: String {
return "MZN"
}
public static var name: String {
return "Mozambique Metical"
}
public static var minorUnit: Int {
return 2
}
}
/// Namibia Dollar (NAD)
public enum NAD: CurrencyType {
public static var code: String {
return "NAD"
}
public static var name: String {
return "Namibia Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Naira (NGN)
public enum NGN: CurrencyType {
public static var code: String {
return "NGN"
}
public static var name: String {
return "Naira"
}
public static var minorUnit: Int {
return 2
}
}
/// Cordoba Oro (NIO)
public enum NIO: CurrencyType {
public static var code: String {
return "NIO"
}
public static var name: String {
return "Cordoba Oro"
}
public static var minorUnit: Int {
return 2
}
}
/// Norwegian Krone (NOK)
public enum NOK: CurrencyType {
public static var code: String {
return "NOK"
}
public static var name: String {
return "Norwegian Krone"
}
public static var minorUnit: Int {
return 2
}
}
/// Nepalese Rupee (NPR)
public enum NPR: CurrencyType {
public static var code: String {
return "NPR"
}
public static var name: String {
return "Nepalese Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// New Zealand Dollar (NZD)
public enum NZD: CurrencyType {
public static var code: String {
return "NZD"
}
public static var name: String {
return "New Zealand Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Rial Omani (OMR)
public enum OMR: CurrencyType {
public static var code: String {
return "OMR"
}
public static var name: String {
return "Rial Omani"
}
public static var minorUnit: Int {
return 3
}
}
/// Balboa (PAB)
public enum PAB: CurrencyType {
public static var code: String {
return "PAB"
}
public static var name: String {
return "Balboa"
}
public static var minorUnit: Int {
return 2
}
}
/// Sol (PEN)
public enum PEN: CurrencyType {
public static var code: String {
return "PEN"
}
public static var name: String {
return "Sol"
}
public static var minorUnit: Int {
return 2
}
}
/// Kina (PGK)
public enum PGK: CurrencyType {
public static var code: String {
return "PGK"
}
public static var name: String {
return "Kina"
}
public static var minorUnit: Int {
return 2
}
}
/// Philippine Piso (PHP)
public enum PHP: CurrencyType {
public static var code: String {
return "PHP"
}
public static var name: String {
return "Philippine Piso"
}
public static var minorUnit: Int {
return 2
}
}
/// Pakistan Rupee (PKR)
public enum PKR: CurrencyType {
public static var code: String {
return "PKR"
}
public static var name: String {
return "Pakistan Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// Zloty (PLN)
public enum PLN: CurrencyType {
public static var code: String {
return "PLN"
}
public static var name: String {
return "Zloty"
}
public static var minorUnit: Int {
return 2
}
}
/// Guarani (PYG)
public enum PYG: CurrencyType {
public static var code: String {
return "PYG"
}
public static var name: String {
return "Guarani"
}
public static var minorUnit: Int {
return 0
}
}
/// Qatari Rial (QAR)
public enum QAR: CurrencyType {
public static var code: String {
return "QAR"
}
public static var name: String {
return "Qatari Rial"
}
public static var minorUnit: Int {
return 2
}
}
/// Romanian Leu (RON)
public enum RON: CurrencyType {
public static var code: String {
return "RON"
}
public static var name: String {
return "Romanian Leu"
}
public static var minorUnit: Int {
return 2
}
}
/// Serbian Dinar (RSD)
public enum RSD: CurrencyType {
public static var code: String {
return "RSD"
}
public static var name: String {
return "Serbian Dinar"
}
public static var minorUnit: Int {
return 2
}
}
/// Russian Ruble (RUB)
public enum RUB: CurrencyType {
public static var code: String {
return "RUB"
}
public static var name: String {
return "Russian Ruble"
}
public static var minorUnit: Int {
return 2
}
}
/// Rwanda Franc (RWF)
public enum RWF: CurrencyType {
public static var code: String {
return "RWF"
}
public static var name: String {
return "Rwanda Franc"
}
public static var minorUnit: Int {
return 0
}
}
/// Saudi Riyal (SAR)
public enum SAR: CurrencyType {
public static var code: String {
return "SAR"
}
public static var name: String {
return "Saudi Riyal"
}
public static var minorUnit: Int {
return 2
}
}
/// Solomon Islands Dollar (SBD)
public enum SBD: CurrencyType {
public static var code: String {
return "SBD"
}
public static var name: String {
return "Solomon Islands Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Seychelles Rupee (SCR)
public enum SCR: CurrencyType {
public static var code: String {
return "SCR"
}
public static var name: String {
return "Seychelles Rupee"
}
public static var minorUnit: Int {
return 2
}
}
/// Sudanese Pound (SDG)
public enum SDG: CurrencyType {
public static var code: String {
return "SDG"
}
public static var name: String {
return "Sudanese Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Swedish Krona (SEK)
public enum SEK: CurrencyType {
public static var code: String {
return "SEK"
}
public static var name: String {
return "Swedish Krona"
}
public static var minorUnit: Int {
return 2
}
}
/// Singapore Dollar (SGD)
public enum SGD: CurrencyType {
public static var code: String {
return "SGD"
}
public static var name: String {
return "Singapore Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Saint Helena Pound (SHP)
public enum SHP: CurrencyType {
public static var code: String {
return "SHP"
}
public static var name: String {
return "Saint Helena Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Leone (SLL)
public enum SLL: CurrencyType {
public static var code: String {
return "SLL"
}
public static var name: String {
return "Leone"
}
public static var minorUnit: Int {
return 2
}
}
/// Somali Shilling (SOS)
public enum SOS: CurrencyType {
public static var code: String {
return "SOS"
}
public static var name: String {
return "Somali Shilling"
}
public static var minorUnit: Int {
return 2
}
}
/// Surinam Dollar (SRD)
public enum SRD: CurrencyType {
public static var code: String {
return "SRD"
}
public static var name: String {
return "Surinam Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// South Sudanese Pound (SSP)
public enum SSP: CurrencyType {
public static var code: String {
return "SSP"
}
public static var name: String {
return "South Sudanese Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Dobra (STN)
public enum STN: CurrencyType {
public static var code: String {
return "STN"
}
public static var name: String {
return "Dobra"
}
public static var minorUnit: Int {
return 2
}
}
/// El Salvador Colon (SVC)
public enum SVC: CurrencyType {
public static var code: String {
return "SVC"
}
public static var name: String {
return "El Salvador Colon"
}
public static var minorUnit: Int {
return 2
}
}
/// Syrian Pound (SYP)
public enum SYP: CurrencyType {
public static var code: String {
return "SYP"
}
public static var name: String {
return "Syrian Pound"
}
public static var minorUnit: Int {
return 2
}
}
/// Lilangeni (SZL)
public enum SZL: CurrencyType {
public static var code: String {
return "SZL"
}
public static var name: String {
return "Lilangeni"
}
public static var minorUnit: Int {
return 2
}
}
/// Baht (THB)
public enum THB: CurrencyType {
public static var code: String {
return "THB"
}
public static var name: String {
return "Baht"
}
public static var minorUnit: Int {
return 2
}
}
/// Somoni (TJS)
public enum TJS: CurrencyType {
public static var code: String {
return "TJS"
}
public static var name: String {
return "Somoni"
}
public static var minorUnit: Int {
return 2
}
}
/// Turkmenistan New Manat (TMT)
public enum TMT: CurrencyType {
public static var code: String {
return "TMT"
}
public static var name: String {
return "Turkmenistan New Manat"
}
public static var minorUnit: Int {
return 2
}
}
/// Tunisian Dinar (TND)
public enum TND: CurrencyType {
public static var code: String {
return "TND"
}
public static var name: String {
return "Tunisian Dinar"
}
public static var minorUnit: Int {
return 3
}
}
/// Pa’anga (TOP)
public enum TOP: CurrencyType {
public static var code: String {
return "TOP"
}
public static var name: String {
return "Pa’anga"
}
public static var minorUnit: Int {
return 2
}
}
/// Turkish Lira (TRY)
public enum TRY: CurrencyType {
public static var code: String {
return "TRY"
}
public static var name: String {
return "Turkish Lira"
}
public static var minorUnit: Int {
return 2
}
}
/// Trinidad and Tobago Dollar (TTD)
public enum TTD: CurrencyType {
public static var code: String {
return "TTD"
}
public static var name: String {
return "Trinidad and Tobago Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// New Taiwan Dollar (TWD)
public enum TWD: CurrencyType {
public static var code: String {
return "TWD"
}
public static var name: String {
return "New Taiwan Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Tanzanian Shilling (TZS)
public enum TZS: CurrencyType {
public static var code: String {
return "TZS"
}
public static var name: String {
return "Tanzanian Shilling"
}
public static var minorUnit: Int {
return 2
}
}
/// Hryvnia (UAH)
public enum UAH: CurrencyType {
public static var code: String {
return "UAH"
}
public static var name: String {
return "Hryvnia"
}
public static var minorUnit: Int {
return 2
}
}
/// Uganda Shilling (UGX)
public enum UGX: CurrencyType {
public static var code: String {
return "UGX"
}
public static var name: String {
return "Uganda Shilling"
}
public static var minorUnit: Int {
return 0
}
}
/// US Dollar (USD)
public enum USD: CurrencyType {
public static var code: String {
return "USD"
}
public static var name: String {
return "US Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Uruguay Peso en Unidades Indexadas (UI) (UYI)
public enum UYI: CurrencyType {
public static var code: String {
return "UYI"
}
public static var name: String {
return "Uruguay Peso en Unidades Indexadas (UI)"
}
public static var minorUnit: Int {
return 0
}
}
/// Peso Uruguayo (UYU)
public enum UYU: CurrencyType {
public static var code: String {
return "UYU"
}
public static var name: String {
return "Peso Uruguayo"
}
public static var minorUnit: Int {
return 2
}
}
/// Uzbekistan Sum (UZS)
public enum UZS: CurrencyType {
public static var code: String {
return "UZS"
}
public static var name: String {
return "Uzbekistan Sum"
}
public static var minorUnit: Int {
return 2
}
}
/// Bolívar (VEF)
public enum VEF: CurrencyType {
public static var code: String {
return "VEF"
}
public static var name: String {
return "Bolívar"
}
public static var minorUnit: Int {
return 2
}
}
/// Dong (VND)
public enum VND: CurrencyType {
public static var code: String {
return "VND"
}
public static var name: String {
return "Dong"
}
public static var minorUnit: Int {
return 0
}
}
/// Vatu (VUV)
public enum VUV: CurrencyType {
public static var code: String {
return "VUV"
}
public static var name: String {
return "Vatu"
}
public static var minorUnit: Int {
return 0
}
}
/// Tala (WST)
public enum WST: CurrencyType {
public static var code: String {
return "WST"
}
public static var name: String {
return "Tala"
}
public static var minorUnit: Int {
return 2
}
}
/// East Caribbean Dollar (XCD)
public enum XCD: CurrencyType {
public static var code: String {
return "XCD"
}
public static var name: String {
return "East Caribbean Dollar"
}
public static var minorUnit: Int {
return 2
}
}
/// Yemeni Rial (YER)
public enum YER: CurrencyType {
public static var code: String {
return "YER"
}
public static var name: String {
return "Yemeni Rial"
}
public static var minorUnit: Int {
return 2
}
}
/// Rand (ZAR)
public enum ZAR: CurrencyType {
public static var code: String {
return "ZAR"
}
public static var name: String {
return "Rand"
}
public static var minorUnit: Int {
return 2
}
}
/// Zambian Kwacha (ZMW)
public enum ZMW: CurrencyType {
public static var code: String {
return "ZMW"
}
public static var name: String {
return "Zambian Kwacha"
}
public static var minorUnit: Int {
return 2
}
}
/// Zimbabwe Dollar (ZWL)
public enum ZWL: CurrencyType {
public static var code: String {
return "ZWL"
}
public static var name: String {
return "Zimbabwe Dollar"
}
public static var minorUnit: Int {
return 2
}
}
You can’t perform that action at this time.