- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<CurrencyCodes>
,Constable
Enum
that corresponds to ONIX Codelist 96
Description: Currency code - based on ISO 4217
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionBelarus (prices normally quoted as integers).Mauritania (prices normally quoted with 0 or 1 decimal place - 1 khoums = UM0.2).São Tome and Principe (prices normally quoted as integers).Afghanistan.Afghanistan (prices normally quoted as integers)AlgeriaArgentinaArmenia (prices normally quoted as integers)ArubaAustralia, Christmas Island, Cocos (Keeling) Islands, Heard Island and McDonald Islands, Kiribati, Nauru, Norfolk Island, TuvaluAzerbaijanBahamasBahrain (prices normally quoted with 3 decimal places)ThailandPanamaBarbadosBelarusBelgium.BelizeBermudaDeprecated, replaced by VEFVenezuela (formerly Bolívar fuerte).Venezuela (replaced VEF from August 2018 at rate of 100,000:1, and was redenominated by a further factor of 1,000,000:1 in late 2021).BoliviaBrazilBrunei DarussalamDeprecated, replaced by BGNBulgariaBurundi (prices normally quoted as integers)Cabo Verde (prices normally quoted as integers)CanadaCayman IslandsBenin, Burkina Faso, Côte D'Ivoire, Guinea-Bissau, Mali, Niger, Senegal, Togo (prices normally quoted as integers)Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon (prices normally quoted as integers)French Polynesia, New Caledonia, Wallis and Futuna (prices normally quoted as integers)Chile (prices normally quoted as integers)Colombia (prices normally quoted as integers)Comoros (prices normally quoted as integers)Bosnia and HerzegovinaNicaraguaCosta Rica (prices normally quoted as integers)Cuba (alternative currency)CubaCyprus.CzechiaGambiaDenmark, Faroe Islands, GreenlandNorth Macedonia (formerly FYR Macedonia)Djibouti (prices normally quoted as integers)São Tome and Principe.Dominican RepublicViet Nam (prices normally quoted as integers)Greece.Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the GrenadinesEgyptEl SalvadorPortugal.EthiopiaEurozone: Andorra, Austria, Belgium, Croatia, Cyprus, Estonia, Finland, France, Fr Guiana, Fr S Territories, Germany, Greece, Guadeloupe, Holy See (Vatican City), Ireland, Italy, Latvia, Lithuania, Luxembourg, Martinique, Malta, Mayotte, Monaco, Montenegro, Netherlands, Portugal, Réunion, St Barthelemy, St Martin, St Pierre and Miquelon, San Marino, Slovakia, Slovenia, SpainFalkland Islands (Malvinas)FijiHungary (prices normally quoted as integers)France.Congo (Democratic Republic of the)Deprecated, replaced by GHSGhanaGibraltarHaitiParaguay (prices normally quoted as integers)Netherlands.Now replaced by the CFA Franc BCEAO XOF use only for historical prices that pre-date use of the CFA FrancGuinea (prices normally quoted as integers)Guyana (prices normally quoted as integers)Hong KongUkraineIceland (prices normally quoted as integers)India, Bhutan (prices normally quoted as integers)Iran (Islamic Republic of) (prices normally quoted as integers)Iraq (prices normally quoted as integers)JamaicaJordan (prices normally quoted with 3 decimal places)KenyaPapua New GuineaEstonia.Now replaced by the Euro (EUR).Croatia.Kuwait (prices normally quoted with 3 decimal places)Zambia.AngolaMyanmar (prices normally quoted as integers)Lao People's Democratic Republic (prices normally quoted as integers)GeorgiaLatvia.Lebanon (prices normally quoted as integers)Albania (prices normally quoted as integers)HondurasSierra Leone (from April 2022).Sierra Leone (prices normally quoted as integers).LiberiaLibyan Arab Jamahiriya (prices normally quoted with 3 decimal places)Eswatini (formerly known as Swaziland)Italy.Lithuania.LesothoLuxembourg.Madagascar (prices normally quoted with 0 or 1 decimal place - 1 iraimbilanja = Ar0.2)Now replaced by the Ariary (MGA) (prices normally quoted as integers)MalawiMalaysiaMalta.Germany.Finland.Mauritius (prices normally quoted as integers)MexicoMoldova, Republic ofMorocco, Western SaharaMozambiqueNigeriaEritreaNamibiaNepalCuraçao, Sint MaartenIsraelTaiwan (Province of China)New Zealand, Cook Islands, Niue, Pitcairn, TokelauBhutanKorea (Democratic People's Republic of) (prices normally quoted as integers)Norway, Bouvet Island, Svalbard and Jan MayenMauritania (prices normally quoted with 0 or 1 decimal place - 1 khoums = UM0.2).TongaPakistan (prices normally quoted as integers)MacauSpain.UruguayPhilippinesUnited Kingdom, Isle of Man, Channel Islands, South Georgia, South Sandwich Islands, British Indian Ocean Territory (de jure)BotswanaIreland.QatarGuatemalaSouth Africa, Namibia, LesothoOman (prices normally quoted with 3 decimal places)CambodiaRomaniaDeprecated, replaced by RONMaldivesIndonesia (prices normally quoted as integers)Russian FederationDeprecated, replaced by RUBRwanda (prices normally quoted as integers)Saint HelenaSaudi ArabiaAustria.Deprecated, replaced by RSDSerbia (prices normally quoted as integers)SeychellesSingaporeSlovakia.Peru (formerly Nuevo Sol)Solomon IslandsKyrgyzstanSomalia (prices normally quoted as integers)TajikistanSri LankaNow replaced by the Sudanese Pound (SDG)SudanSurinameDEPRECATED, replaced by SRDSwedenSwitzerland, LiechtensteinSyrian Arab Republic (prices normally quoted as integers)BangladeshSamoaTanzania (United Republic of) (prices normally quoted as integers)KazakstanDeprecated.Slovenia.Trinidad and TobagoMongolia (prices normally quoted as integers)Tunisia (prices normally quoted with 3 decimal places)Türkiye, from 1 January 2005Deprecated, replaced by TRY (prices normally quoted as integers)Deprecated, replaced by TMT (prices normally quoted as integers)TurkmenistanUnited Arab EmiratesUganda (prices normally quoted as integers)United States, American Samoa, Bonaire, Sint Eustatius and Saba, British Indian Ocean Territory, Ecuador, El Salvador, Guam, Haiti, Marshall Is, Micronesia (Federated States of), Northern Mariana Is, Palau, Panama, Puerto Rico, Timor-Leste, Turks and Caicos Is, US Minor Outlying Is, Virgin Is (British), Virgin Is (US)Uzbekistan (prices normally quoted as integers)Vanuatu (prices normally quoted as integers)Korea (Republic of) (prices normally quoted as integers)Yemen (prices normally quoted as integers)Japan (prices normally quoted as integers)ChinaDeprecated, replaced by CSDZambiaDeprecated, replaced with ZWL (prices normally quoted as integers)ZimbabwePoland -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CurrencyCodes
static Optional<CurrencyCodes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static CurrencyCodes
Returns the enum constant of this class with the specified name.static CurrencyCodes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
UAE_Dirham
United Arab Emirates -
Afghani
Afghanistan. Deprecated, replaced by AFN -
Afghani_
Afghanistan (prices normally quoted as integers) -
Lek
Albania (prices normally quoted as integers) -
Armenian_Dram
Armenia (prices normally quoted as integers) -
Netherlands_Antillian_Guilder
Curaçao, Sint Maarten -
Kwanza
Angola -
Argentine_Peso
Argentina -
Schilling
Austria. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Australian_Dollar
Australia, Christmas Island, Cocos (Keeling) Islands, Heard Island and McDonald Islands, Kiribati, Nauru, Norfolk Island, Tuvalu -
Aruban_Florin
Aruba -
Azerbaijan_Manat
Azerbaijan -
Convertible_Marks
Bosnia and Herzegovina -
Barbados_Dollar
Barbados -
Taka
Bangladesh -
Belgian_Franc
Belgium. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Bulgarian_Lev
Deprecated, replaced by BGN -
Bulgarian_Lev_
Bulgaria -
Bahraini_Dinar
Bahrain (prices normally quoted with 3 decimal places) -
Burundi_Franc
Burundi (prices normally quoted as integers) -
Bermudian_Dollar
Bermuda -
Brunei_Dollar
Brunei Darussalam -
Boliviano
Bolivia -
Brazilian_Real
Brazil -
Bahamian_Dollar
Bahamas -
Ngultrun
Bhutan -
Pula
Botswana -
_Old
Belarus (prices normally quoted as integers). Deprecated - now replaced by new Belarussian Ruble (BYN): use only for historical prices that pre-date the introduction of the new Belarussian Ruble -
Belarussian_Ruble
Belarus -
Belize_Dollar
Belize -
Canadian_Dollar
Canada -
Franc_Congolais
Congo (Democratic Republic of the) -
Swiss_Franc
Switzerland, Liechtenstein -
Chilean_Peso
Chile (prices normally quoted as integers) -
Yuan_Renminbi
China -
Colombian_Peso
Colombia (prices normally quoted as integers) -
Costa_Rican_Colon
Costa Rica (prices normally quoted as integers) -
Serbian_Dinar
Deprecated, replaced by RSD -
Cuban_Convertible_Peso
Cuba (alternative currency) -
Cuban_Peso
Cuba -
Cabo_Verde_Escudo
Cabo Verde (prices normally quoted as integers) -
Cyprus_Pound
Cyprus. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Czech_Koruna
Czechia -
Mark
Germany. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Djibouti_Franc
Djibouti (prices normally quoted as integers) -
Danish_Krone
Denmark, Faroe Islands, Greenland -
Dominican_Peso
Dominican Republic -
Algerian_Dinar
Algeria -
Kroon
Estonia.Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Egyptian_Pound
Egypt -
Nakfa
Eritrea -
Peseta
Spain. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro (prices normally quoted as integers) -
Ethiopian_Birr
Ethiopia -
Euro
Eurozone: Andorra, Austria, Belgium, Croatia, Cyprus, Estonia, Finland, France, Fr Guiana, Fr S Territories, Germany, Greece, Guadeloupe, Holy See (Vatican City), Ireland, Italy, Latvia, Lithuania, Luxembourg, Martinique, Malta, Mayotte, Monaco, Montenegro, Netherlands, Portugal, Réunion, St Barthelemy, St Martin, St Pierre and Miquelon, San Marino, Slovakia, Slovenia, Spain -
Markka
Finland. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Fiji_Dollar
Fiji -
Falkland_Islands_Pound
Falkland Islands (Malvinas) -
Franc
France. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Pound_Sterling
United Kingdom, Isle of Man, Channel Islands, South Georgia, South Sandwich Islands, British Indian Ocean Territory (de jure) -
Lari
Georgia -
Ghana_Cedi
Deprecated, replaced by GHS -
Ghana_Cedi_
Ghana -
Gibraltar_Pound
Gibraltar -
Dalasi
Gambia -
Guinean_Franc
Guinea (prices normally quoted as integers) -
Drachma
Greece. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Quetzal
Guatemala -
Guinea_Bissau_Peso
Now replaced by the CFA Franc BCEAO XOF use only for historical prices that pre-date use of the CFA Franc -
Guyana_Dollar
Guyana (prices normally quoted as integers) -
Hong_Kong_Dollar
Hong Kong -
Lempira
Honduras -
Kuna
Croatia. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Gourde
Haiti -
Forint
Hungary (prices normally quoted as integers) -
Rupiah
Indonesia (prices normally quoted as integers) -
Punt
Ireland. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
New_Israeli_Sheqel
Israel -
Indian_Rupee
India, Bhutan (prices normally quoted as integers) -
Iraqi_Dinar
Iraq (prices normally quoted as integers) -
Iranian_Rial
Iran (Islamic Republic of) (prices normally quoted as integers) -
Iceland_Krona
Iceland (prices normally quoted as integers) -
Lira
Italy. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro (prices normally quoted as integers) -
Jamaican_Dollar
Jamaica -
Jordanian_Dinar
Jordan (prices normally quoted with 3 decimal places) -
Yen
Japan (prices normally quoted as integers) -
Kenyan_Shilling
Kenya -
Som
Kyrgyzstan -
Riel
Cambodia -
Comorian_Franc
Comoros (prices normally quoted as integers) -
North_Korean_Won
Korea (Democratic People's Republic of) (prices normally quoted as integers) -
Won
Korea (Republic of) (prices normally quoted as integers) -
Kuwaiti_Dinar
Kuwait (prices normally quoted with 3 decimal places) -
Cayman_Islands_Dollar
Cayman Islands -
Tenge
Kazakstan -
Lao_Kip
Lao People's Democratic Republic (prices normally quoted as integers) -
Lebanese_Pound
Lebanon (prices normally quoted as integers) -
Sri_Lanka_Rupee
Sri Lanka -
Liberian_Dollar
Liberia -
Loti
Lesotho -
Litus
Lithuania. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Luxembourg_Franc
Luxembourg. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro (prices normally quoted as integers) -
Latvian_Lats
Latvia. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Libyan_Dinar
Libyan Arab Jamahiriya (prices normally quoted with 3 decimal places) -
Moroccan_Dirham
Morocco, Western Sahara -
Moldovan_Leu
Moldova, Republic of -
Malagasy_Ariary
Madagascar (prices normally quoted with 0 or 1 decimal place - 1 iraimbilanja = Ar0.2) -
Malagasy_Franc
Now replaced by the Ariary (MGA) (prices normally quoted as integers) -
Denar
North Macedonia (formerly FYR Macedonia) -
Kyat
Myanmar (prices normally quoted as integers) -
Tugrik
Mongolia (prices normally quoted as integers) -
Pataca
Macau -
_Old_
Mauritania (prices normally quoted with 0 or 1 decimal place - 1 khoums = UM0.2). Was interchangeable with MRU (New) Ouguiya at rate of 10:1 until June 2018. Deprecated, use MRU instead -
Ouguiya
Mauritania (prices normally quoted with 0 or 1 decimal place - 1 khoums = UM0.2). Replaced MRO (old) Ouguiya at rate of 10:1 in June 2018. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Maltese_Lira
Malta. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Mauritius_Rupee
Mauritius (prices normally quoted as integers) -
Rufiyaa
Maldives -
Malawi_Kwacha
Malawi -
Mexican_Peso
Mexico -
Malaysian_Ringgit
Malaysia -
Mozambique_Metical
Mozambique -
Namibia_Dollar
Namibia -
Naira
Nigeria -
Cordoba_Oro
Nicaragua -
Guilder
Netherlands. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Norwegian_Krone
Norway, Bouvet Island, Svalbard and Jan Mayen -
Nepalese_Rupee
Nepal -
New_Zealand_Dollar
New Zealand, Cook Islands, Niue, Pitcairn, Tokelau -
Rial_Omani
Oman (prices normally quoted with 3 decimal places) -
Balboa
Panama -
Sol
Peru (formerly Nuevo Sol) -
Kina
Papua New Guinea -
Philippine_Peso
Philippines -
Pakistan_Rupee
Pakistan (prices normally quoted as integers) -
Zoty
Poland -
Escudo
Portugal. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Guarani
Paraguay (prices normally quoted as integers) -
Qatari_Rial
Qatar -
Romanian_Old_Leu
Deprecated, replaced by RON -
Romanian_Leu
Romania -
Serbian_Dinar_
Serbia (prices normally quoted as integers) -
Russian_Ruble
Russian Federation -
Russian_Ruble_
Deprecated, replaced by RUB -
Rwanda_Franc
Rwanda (prices normally quoted as integers) -
Saudi_Riyal
Saudi Arabia -
Solomon_Islands_Dollar
Solomon Islands -
Seychelles_Rupee
Seychelles -
Sudanese_Dinar
Now replaced by the Sudanese Pound (SDG) -
Sudanese_Pound
Sudan -
Swedish_Krona
Sweden -
Singapore_Dollar
Singapore -
Saint_Helena_Pound
Saint Helena -
Tolar
Slovenia. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Slovak_Koruna
Slovakia. Now replaced by the Euro (EUR). Deprecated - use only for historical prices that pre-date the introduction of the Euro -
Leone
Sierra Leone (from April 2022). Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Leone_
Sierra Leone (prices normally quoted as integers). Deprecated - gradually replaced by SLE from April 2022, but SLL Leone still usable until December 2023 (SLE is a redenomination of the Leone by a factor of 1,000) -
Somali_Shilling
Somalia (prices normally quoted as integers) -
Surinam_Dollar
Suriname -
Suriname_Guilder
DEPRECATED, replaced by SRD -
_Old__
São Tome and Principe (prices normally quoted as integers). Was interchangeable with STN (New) Dobra at rate of 1000:1 until June 2018. Deprecated, use STN instead -
Dobra
São Tome and Principe. Replaced STD (old) Dobra at rate of 1000:1 in June 2018. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
El_Salvador_Colon
El Salvador -
Syrian_Pound
Syrian Arab Republic (prices normally quoted as integers) -
Lilangeni
Eswatini (formerly known as Swaziland) -
Baht
Thailand -
Somoni
Tajikistan -
Turkmenistan_Manat
Deprecated, replaced by TMT (prices normally quoted as integers) -
Turkmenistan_New_Manat
Turkmenistan -
Tunisian_Dinar
Tunisia (prices normally quoted with 3 decimal places) -
Paanga
Tonga -
Timor_Escudo
Deprecated. Timor-Leste now uses the US Dollar -
Turkish_Lira_old
Deprecated, replaced by TRY (prices normally quoted as integers) -
Turkish_Lira
Türkiye, from 1 January 2005 -
Trinidad_and_Tobago_Dollar
Trinidad and Tobago -
New_Taiwan_Dollar
Taiwan (Province of China) -
Tanzanian_Shilling
Tanzania (United Republic of) (prices normally quoted as integers) -
Hryvnia
Ukraine -
Uganda_Shilling
Uganda (prices normally quoted as integers) -
US_Dollar
United States, American Samoa, Bonaire, Sint Eustatius and Saba, British Indian Ocean Territory, Ecuador, El Salvador, Guam, Haiti, Marshall Is, Micronesia (Federated States of), Northern Mariana Is, Palau, Panama, Puerto Rico, Timor-Leste, Turks and Caicos Is, US Minor Outlying Is, Virgin Is (British), Virgin Is (US) -
Peso_Uruguayo
Uruguay -
Uzbekistan_Sum
Uzbekistan (prices normally quoted as integers) -
Bolivar
Deprecated, replaced by VEF -
Bolivar_
Venezuela (formerly Bolívar fuerte). Deprecated, replaced by VES -
Bolivar_Soberano
Venezuela (replaced VEF from August 2018 at rate of 100,000:1, and was redenominated by a further factor of 1,000,000:1 in late 2021). Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Dong
Viet Nam (prices normally quoted as integers) -
Vatu
Vanuatu (prices normally quoted as integers) -
Tala
Samoa -
CFA_Franc_BEAC
Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon (prices normally quoted as integers) -
East_Caribbean_Dollar
Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines -
CFA_Franc_BCEAO
Benin, Burkina Faso, Côte D'Ivoire, Guinea-Bissau, Mali, Niger, Senegal, Togo (prices normally quoted as integers) -
CFP_Franc
French Polynesia, New Caledonia, Wallis and Futuna (prices normally quoted as integers) -
Yemeni_Rial
Yemen (prices normally quoted as integers) -
Yugoslavian_Dinar
Deprecated, replaced by CSD -
Rand
South Africa, Namibia, Lesotho -
Kwacha
Zambia. Deprecated, replaced with ZMW (prices normally quoted as integers) -
Zambian_Kwacha
Zambia -
Zimbabwe_Dollar
Deprecated, replaced with ZWL (prices normally quoted as integers) -
Zimbabwe_Dollar_
Zimbabwe
-
-
Field Details
-
code
-
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-