diff --git a/CHANGELOG.md b/CHANGELOG.md index 6220b5f..b6f87fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,4 +17,6 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Internal +- Alphabetically sort `IsoCurrency`, `Holidays` and `BbanStructure` enums entries (#161). + ### Thanks diff --git a/src/main/java/fr/marcwrobel/jbanking/IsoCurrency.java b/src/main/java/fr/marcwrobel/jbanking/IsoCurrency.java index 60dbfbb..01693a4 100644 --- a/src/main/java/fr/marcwrobel/jbanking/IsoCurrency.java +++ b/src/main/java/fr/marcwrobel/jbanking/IsoCurrency.java @@ -43,11 +43,11 @@ @LastVerification("2022-04-20") public enum IsoCurrency { /** - * ADB (African Development Bank) Unit of Account. + * United Arab Emirates dirham. * - * @see wikipedia.org + * @see wikipedia.org */ - XUA(965, null, OTHER), + AED(784, 2, AE), /** * Afghan afghani. @@ -57,18 +57,11 @@ public enum IsoCurrency { AFN(971, 2, AF), /** - * Algerian dinar. - * - * @see wikipedia.org - */ - DZD(12, 2, DZ), - - /** - * Argentine peso. + * Albanian lek. * - * @see wikipedia.org + * @see wikipedia.org */ - ARS(32, 2, AR), + ALL(8, 2, AL), /** * Armenian dram. @@ -78,53 +71,53 @@ public enum IsoCurrency { AMD(51, 2, AM), /** - * Aruban florin. + * Netherlands Antillean guilder. * - * @see wikipedia.org + * @see wikipedia.org */ - AWG(533, 2, AW), + ANG(532, 2, SX, CW), /** - * Australian dollar. + * Angolan kwanza. * - * @see wikipedia.org + * @see wikipedia.org */ - AUD(36, 2, HM, TV, KI, AU, NF, NR, CX, CC), + AOA(973, 2, AO), /** - * Azerbaijani manat. + * Argentine peso. * - * @see wikipedia.org + * @see wikipedia.org */ - AZN(944, 2, AZ), + ARS(32, 2, AR), /** - * Bahamian dollar. + * Australian dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - BSD(44, 2, BS), + AUD(36, 2, HM, TV, KI, AU, NF, NR, CX, CC), /** - * Bahraini dinar. + * Aruban florin. * - * @see wikipedia.org + * @see wikipedia.org */ - BHD(48, 3, BH), + AWG(533, 2, AW), /** - * Thai baht. + * Azerbaijani manat. * - * @see wikipedia.org + * @see wikipedia.org */ - THB(764, 2, TH), + AZN(944, 2, AZ), /** - * Panamanian balboa. + * Bosnia and Herzegovina convertible mark. * - * @see wikipedia.org + * @see wikipedia.org */ - PAB(590, 2, PA), + BAM(977, 2, BA), /** * Barbadian dollar. @@ -134,57 +127,46 @@ public enum IsoCurrency { BBD(52, 2, BB), /** - * Belarusian ruble. + * Bangladeshi taka. * - * @see wikipedia.org + * @see wikipedia.org */ - BYN(933, 2, BY), + BDT(50, 2, BD), /** - * Belize dollar. + * Bulgarian lev. * - * @see wikipedia.org + * @see wikipedia.org */ - BZD(84, 2, BZ), + BGN(975, 2, BG), /** - * Bermudian dollar. + * Bahraini dinar. * - * @see wikipedia.org + * @see wikipedia.org */ - BMD(60, 2, BM), + BHD(48, 3, BH), /** - * Venezuelan bolívar digital (as designated on Wikipedia). - * - *
- * This currency code was introduced by ISO-4217 amendment number 170 and is effective from 1 October 2021 : - * - *
- *+ * @see wikipedia.org + */ + BIF(108, 0, BI), + + /** + * Bermudian dollar. * - * @see wikipedia.org - * @see ISO-4217 amendment number - * 170 - * @since 3.2.0 + * @see wikipedia.org */ - VED(926, 2, VE), + BMD(60, 2, BM), /** - * Venezuelan bolívar soberano. + * Brunei dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - VES(928, 2, VE), + BND(96, 2, BN), /** * Bolivian boliviano. @@ -193,6 +175,17 @@ public enum IsoCurrency { */ BOB(68, 2, BO), + /** + * Bolivian Mvdol (funds code). + * + *- * The Bolívar Soberano (VES) is redenominated by removing six zeros from the denominations. A new currency code VED/926 - * representing the new valuation (1,000,000 times old VES/928) is introduced on 1 October 2021 for any internal needs during - * the redenomination process, but is not replacing VES as the official currency code. The Central Bank of Venezuela will not - * adopt the new codes in the local system, VES/928 remains in use. + * Burundian franc. * - *
- * The actual currency code VES/928 remains the valid code after 1 October 2021 to use in any future transactions to indicate - * the redenominated Bolívar Soberano. - *
+ * For indexation purposes and denomination of certain financial instruments (e.g. treasury bills). The Mvdol is set daily by + * the Central Bank of Bolivia based on the official USD/BOB rate. + * + * @see tradinghours.com + */ + BOV(984, 2, FUND, BO), + /** * Brazilian real. * @@ -201,109 +194,126 @@ public enum IsoCurrency { BRL(986, 2, BR), /** - * Brunei dollar. + * Bahamian dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - BND(96, 2, BN), + BSD(44, 2, BS), /** - * Bulgarian lev. + * Bhutanese ngultrum. * - * @see wikipedia.org + * @see wikipedia.org */ - BGN(975, 2, BG), + BTN(64, 2, BT), /** - * Burundian franc. + * Botswana pula. * - * @see wikipedia.org + * @see wikipedia.org */ - BIF(108, 0, BI), + BWP(72, 2, BW), /** - * Canadian dollar. + * Belarusian ruble. * - * @see wikipedia.org + * @see wikipedia.org */ - CAD(124, 2, CA), + BYN(933, 2, BY), /** - * Cape Verdean escudo. + * Belize dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - CVE(132, 2, CV), + BZD(84, 2, BZ), /** - * Cayman Islands dollar. + * Canadian dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - KYD(136, 2, KY), + CAD(124, 2, CA), /** - * West African CFA franc. + * Congolese franc. * - * @see wikipedia.org + * @see wikipedia.org */ - XOF(952, 0, ML, NE, BJ, TG, BF, SN, CI, GW), + CDF(976, 2, CD), /** - * Central African CFA franc. + * WIR euro (complementary currency). * - * @see wikipedia.org + *
+ * WIR Bank for use with the EFTPOS system with their own WIR-card and the Electronic Banking Services. + * + * @see wikipedia.org */ - XAF(950, 0, TD, GA, GQ, CM, CF, CG), + CHE(947, 2, FUND, CH), /** - * CFP franc. + * Swiss franc. * - * @see wikipedia.org + * @see wikipedia.org */ - XPF(953, 0, PF, WF, NC), + CHF(756, 2, LI, CH), /** - * Chilean peso. + * WIR franc (complementary currency). * - * @see wikipedia.org + *
+ * WIR Bank for use with the EFTPOS system with their own WIR-card and the Electronic Banking Services. + * + * @see wikipedia.org */ - CLP(152, 0, CL), + CHW(948, 2, FUND, CH), /** - * Colombian peso. + * Unidad de Fomento (funds code). * - * @see wikipedia.org + *
+ * The CLF is a daily economically-financial unit calculated by the Central Bank of Chile according to inflation (as measured + * by the Chilean Consumer Price Index of the previous month). The value of the CLF is expressed in terms of Chilean Pesos per + * CLF. The use of CLF has been widely extended to all types of bank loans, financial investments (time deposits, mortgages + * and other public or private indexed instruments), contracts and fees in some cases. + * + * @see wikipedia.org */ - COP(170, 2, CO), + CLF(990, 4, FUND, CL), /** - * Comorian franc. + * Chilean peso. * - * @see wikipedia.org + * @see wikipedia.org */ - KMF(174, 0, KM), + CLP(152, 0, CL), /** - * Congolese franc. + * Yuan Renminbi. * - * @see wikipedia.org + * @see wikipedia.org */ - CDF(976, 2, CD), + CNY(156, 2, CN), /** - * Bosnia and Herzegovina convertible mark. + * Colombian peso. * - * @see wikipedia.org + * @see wikipedia.org */ - BAM(977, 2, BA), + COP(170, 2, CO), /** - * Nicaraguan córdoba. + * Unidad de Valor Real (UVR) (funds code). * - * @see wikipedia.org + *
+ * The UVR is a daily account unit set by the Central Bank of Colombia according to the variation in the Consumer Price Index + * of Colombia. The value of UVR is expressed in terms of Colombian Pesos per UVR. It is used to denominate and update + * mortgage loans and some public debt bonds. + * + * @see wikipedia.org */ - NIO(558, 2, NI), + COU(970, 2, FUND, CO), /** * Costa Rican colón. @@ -313,11 +323,11 @@ public enum IsoCurrency { CRC(188, 2, CR), /** - * Croatian kuna. + * Cuban convertible peso. * - * @see wikipedia.org + * @see wikipedia.org */ - HRK(191, 2, HR), + CUC(931, 2, CU), /** * Cuban peso. @@ -326,6 +336,13 @@ public enum IsoCurrency { */ CUP(192, 2, CU), + /** + * Cape Verdean escudo. + * + * @see wikipedia.org + */ + CVE(132, 2, CV), + /** * Czech koruna. * @@ -334,11 +351,11 @@ public enum IsoCurrency { CZK(203, 2, CZ), /** - * Gambian dalasi. + * Djiboutian franc. * - * @see wikipedia.org + * @see wikipedia.org */ - GMD(270, 2, GM), + DJF(262, 0, DJ), /** * Danish krone. @@ -348,46 +365,18 @@ public enum IsoCurrency { DKK(208, 2, DK, FO, GL), /** - * Macedonian denar. + * Dominican peso. * - * @see wikipedia.org - */ - MKD(807, 2, MK), - - /** - * Djiboutian franc. - * - * @see wikipedia.org - */ - DJF(262, 0, DJ), - - /** - * São Tomé and Príncipe dobra. - * - * @see wikipedia.org - */ - STN(930, 2, ST), - - /** - * Dominican peso. - * - * @see wikipedia.org + * @see wikipedia.org */ DOP(214, 2, DO), /** - * Vietnamese đồng. - * - * @see wikipedia.org - */ - VND(704, 0, VN), - - /** - * Eastern Caribbean dollar. + * Algerian dinar. * - * @see wikipedia.org + * @see wikipedia.org */ - XCD(951, 2, DM, VC, MS, AG, LC, AI, KN, GD), + DZD(12, 2, DZ), /** * Egyptian pound. @@ -397,18 +386,11 @@ public enum IsoCurrency { EGP(818, 2, EG), /** - * Salvadoran colón. - * - * @see wikipedia.org - */ - SVC(222, 2, SV), - - /** - * European Monetary Unit (E.M.U.-6). + * Eritrean nakfa. * - * @see wikipedia.org + * @see wikipedia.org */ - XBB(956, null, BOND), + ERN(232, 2, ER), /** * Ethiopian birr. @@ -417,27 +399,6 @@ public enum IsoCurrency { */ ETB(230, 2, ET), - /** - * European Unit of Account 17 (E.U.A.-17). - * - * @see wikipedia.org - */ - XBD(958, null, BOND), - - /** - * European Unit of Account 9 (E.U.A.-9). - * - * @see wikipedia.org - */ - XBC(957, null, BOND), - - /** - * European Composite Unit (EURCO). - * - * @see wikipedia.org - */ - XBA(955, null, BOND), - /** * Euro. * @@ -446,6 +407,13 @@ public enum IsoCurrency { EUR(978, 2, PT, RE, LU, IT, SK, MF, AD, YT, BL, AX, GP, GF, PM, DE, BE, ES, SM, FI, MT, VA, MC, GR, MQ, TF, EE, IE, NL, ME, SI, FR, AT, CY, XK, LV, LT), + /** + * Fijian dollar. + * + * @see wikipedia.org + */ + FJD(242, 2, FJ), + /** * Falkland Islands pound. * @@ -454,18 +422,18 @@ public enum IsoCurrency { FKP(238, 2, FK), /** - * Fijian dollar. + * Pound sterling. * - * @see wikipedia.org + * @see wikipedia.org */ - FJD(242, 2, FJ), + GBP(826, 2, GB, IM, JE, GG), /** - * Hungarian forint. + * Georgian lari. * - * @see wikipedia.org + * @see wikipedia.org */ - HUF(348, 2, HU), + GEL(981, 2, GE), /** * Ghanaian cedi. @@ -482,32 +450,25 @@ public enum IsoCurrency { GIP(292, 2, GI), /** - * Gold. - * - * @see wikipedia.org - */ - XAU(959, null, METAL), - - /** - * Haitian gourde. + * Gambian dalasi. * - * @see wikipedia.org + * @see wikipedia.org */ - HTG(332, 2, HT), + GMD(270, 2, GM), /** - * Paraguayan guaraní. + * Guinean franc. * - * @see wikipedia.org + * @see wikipedia.org */ - PYG(600, 0, PY), + GNF(324, 0, GN), /** - * Guinean franc. + * Guatemalan quetzal. * - * @see wikipedia.org + * @see wikipedia.org */ - GNF(324, 0, GN), + GTQ(320, 2, GT), /** * Guyanese dollar. @@ -524,18 +485,46 @@ public enum IsoCurrency { HKD(344, 2, HK), /** - * Ukrainian hryvnia. + * Honduran lempira. * - * @see wikipedia.org + * @see wikipedia.org */ - UAH(980, 2, UA), + HNL(340, 2, HN), /** - * Icelandic króna. + * Croatian kuna. * - * @see wikipedia.org + * @see wikipedia.org */ - ISK(352, 0, IS), + HRK(191, 2, HR), + + /** + * Haitian gourde. + * + * @see wikipedia.org + */ + HTG(332, 2, HT), + + /** + * Hungarian forint. + * + * @see wikipedia.org + */ + HUF(348, 2, HU), + + /** + * Indonesian rupiah. + * + * @see wikipedia.org + */ + IDR(360, 2, ID), + + /** + * Israeli new shekel. + * + * @see wikipedia.org + */ + ILS(376, 2, IL), /** * Indian rupee. @@ -544,6 +533,13 @@ public enum IsoCurrency { */ INR(356, 2, IN, BT), + /** + * Iraqi dinar. + * + * @see wikipedia.org + */ + IQD(368, 3, IQ), + /** * Iranian rial. * @@ -552,11 +548,11 @@ public enum IsoCurrency { IRR(364, 2, IR), /** - * Iraqi dinar. + * Icelandic króna. * - * @see wikipedia.org + * @see wikipedia.org */ - IQD(368, 3, IQ), + ISK(352, 0, IS), /** * Jamaican dollar. @@ -572,6 +568,13 @@ public enum IsoCurrency { */ JOD(400, 3, JO), + /** + * Japanese yen. + * + * @see wikipedia.org + */ + JPY(392, 0, JP), + /** * Kenyan shilling. * @@ -580,53 +583,67 @@ public enum IsoCurrency { KES(404, 2, KE), /** - * Papua New Guinean kina. + * Kyrgyzstani som. * - * @see wikipedia.org + * @see wikipedia.org */ - PGK(598, 2, PG), + KGS(417, 2, KG), /** - * Lao kip. + * Cambodian riel. * - * @see wikipedia.org + * @see wikipedia.org */ - LAK(418, 2, LA), + KHR(116, 2, KH), /** - * Kuwaiti dinar. + * Comorian franc. * - * @see wikipedia.org + * @see wikipedia.org */ - KWD(414, 3, KW), + KMF(174, 0, KM), /** - * Malawian kwacha. + * North Korean won. * - * @see wikipedia.org + * @see wikipedia.org */ - MWK(454, 2, MW), + KPW(408, 2, KP), /** - * Angolan kwanza. + * South Korean won. * - * @see wikipedia.org + * @see wikipedia.org */ - AOA(973, 2, AO), + KRW(410, 0, KR), /** - * Burmese kyat. + * Kuwaiti dinar. * - * @see wikipedia.org + * @see wikipedia.org */ - MMK(104, 2, MM), + KWD(414, 3, KW), /** - * Georgian lari. + * Cayman Islands dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - GEL(981, 2, GE), + KYD(136, 2, KY), + + /** + * Kazakhstani tenge. + * + * @see wikipedia.org + */ + KZT(398, 2, KZ), + + /** + * Lao kip. + * + * @see wikipedia.org + */ + LAK(418, 2, LA), /** * Lebanese pound. @@ -636,95 +653,88 @@ public enum IsoCurrency { LBP(422, 2, LB), /** - * Albanian lek. + * Sri Lankan rupee. * - * @see wikipedia.org + * @see wikipedia.org */ - ALL(8, 2, AL), + LKR(144, 2, LK), /** - * Honduran lempira. + * Liberian dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - HNL(340, 2, HN), + LRD(430, 2, LR), /** - * Sierra Leonean leone. - * - *
- * This currency code was introduced by ISO-4217 amendment number 171 and is effective from 1 April 2022 : + * Lesotho loti. * - *
- *+ * @see wikipedia.org + */ + LYD(434, 3, LY), + + /** + * Moroccan dirham. * - * @see wikipedia.org - * @see ISO-4217 amendment - * number 171 - * @see wikipedia.org - * @since 3.2.0 + * @see wikipedia.org */ - SLE(925, 2, SL), + MAD(504, 2, EH, MA), /** - * Sierra Leonean leone. + * Moldovan leu. * - * @see wikipedia.org + * @see wikipedia.org */ - SLL(694, 2, SL), + MDL(498, 2, MD), /** - * Liberian dollar. + * Malagasy ariary. * - * @see wikipedia.org + * @see wikipedia.org */ - LRD(430, 2, LR), + MGA(969, 2, MG), /** - * Libyan dinar. + * Macedonian denar. * - * @see wikipedia.org + * @see wikipedia.org */ - LYD(434, 3, LY), + MKD(807, 2, MK), /** - * Swazi lilangeni. + * Burmese kyat. * - * @see wikipedia.org + * @see wikipedia.org */ - SZL(748, 2, SZ), + MMK(104, 2, MM), /** - * Lesotho loti. + * Mongolian tögrög (or tugrik). * - * @see wikipedia.org + * @see wikipedia.org */ - LSL(426, 2, LS), + MNT(496, 2, MN), /** - * Malagasy ariary. + * Macanese pataca. * - * @see wikipedia.org + * @see wikipedia.org */ - MGA(969, 2, MG), + MOP(446, 2, MO), /** - * Malaysian ringgit. + * Mauritanian ouguiya. * - * @see wikipedia.org + * @see wikipedia.org */ - MYR(458, 2, MY), + MRU(929, 2, MR), /** * Mauritian rupee. @@ -733,6 +743,20 @@ public enum IsoCurrency { */ MUR(480, 2, MU), + /** + * Maldivian rufiyaa. + * + * @see wikipedia.org + */ + MVR(462, 2, MV), + + /** + * Malawian kwacha. + * + * @see wikipedia.org + */ + MWK(454, 2, MW), + /** * Mexican peso. * @@ -753,18 +777,11 @@ public enum IsoCurrency { MXV(979, 2, FUND, MX), /** - * Moldovan leu. - * - * @see wikipedia.org - */ - MDL(498, 2, MD), - - /** - * Moroccan dirham. + * Malaysian ringgit. * - * @see wikipedia.org + * @see wikipedia.org */ - MAD(504, 2, EH, MA), + MYR(458, 2, MY), /** * Mozambican metical. @@ -774,15 +791,11 @@ public enum IsoCurrency { MZN(943, 2, MZ), /** - * Bolivian Mvdol (funds code). - * - *- * The Sierra Leonean LEONE (SLL) is redenominated by removing three (3) zeros from the denominations. A new currency code - * SLE/925 representing the new valuation (1’000 times old SLL/694) is introduced on 1 st April 2022 for any internal needs - * during the redenomination process, and is replacing SLL as the official currency code, after the transition period to be - * determined. + * @see wikipedia.org + */ + LSL(426, 2, LS), + + /** + * Libyan dinar. * - *
- * During this transition period, both the old Leone and new Leone will be in physical circulation for at least 90 days. - * - *
- * The Bank of Sierra Leone will adopt the new code in the local system but SLL/694 shall remain in use until further notice. - *
- * For indexation purposes and denomination of certain financial instruments (e.g. treasury bills). The Mvdol is set daily by - * the Central Bank of Bolivia based on the official USD/BOB rate. + * Namibian dollar. * - * @see tradinghours.com + * @see wikipedia.org */ - BOV(984, 2, FUND, BO), + NAD(516, 2, NA), /** * Nigerian naira. @@ -792,18 +805,18 @@ public enum IsoCurrency { NGN(566, 2, NG), /** - * Eritrean nakfa. + * Nicaraguan córdoba. * - * @see wikipedia.org + * @see wikipedia.org */ - ERN(232, 2, ER), + NIO(558, 2, NI), /** - * Namibian dollar. + * Norwegian krone. * - * @see wikipedia.org + * @see wikipedia.org */ - NAD(516, 2, NA), + NOK(578, 2, NO, SJ, BV), /** * Nepalese rupee. @@ -812,34 +825,6 @@ public enum IsoCurrency { */ NPR(524, 2, NP), - /** - * Netherlands Antillean guilder. - * - * @see wikipedia.org - */ - ANG(532, 2, SX, CW), - - /** - * Israeli new shekel. - * - * @see wikipedia.org - */ - ILS(376, 2, IL), - - /** - * Romanian leu. - * - * @see wikipedia.org - */ - RON(946, 2, RO), - - /** - * New Taiwan dollar. - * - * @see wikipedia.org - */ - TWD(901, 2, TW), - /** * New Zealand dollar. * @@ -848,25 +833,18 @@ public enum IsoCurrency { NZD(554, 2, TK, NZ, CK, NU, PN), /** - * Bhutanese ngultrum. - * - * @see wikipedia.org - */ - BTN(64, 2, BT), - - /** - * North Korean won. + * Omani rial. * - * @see wikipedia.org + * @see wikipedia.org */ - KPW(408, 2, KP), + OMR(512, 3, OM), /** - * Norwegian krone. + * Panamanian balboa. * - * @see wikipedia.org + * @see wikipedia.org */ - NOK(578, 2, NO, SJ, BV), + PAB(590, 2, PA), /** * Peruvian sol. @@ -876,18 +854,18 @@ public enum IsoCurrency { PEN(604, 2, PE), /** - * No currency. + * Papua New Guinean kina. * - * @see wikipedia.org + * @see wikipedia.org */ - XXX(999, null, OTHER), + PGK(598, 2, PG), /** - * Mauritanian ouguiya. + * Philippine peso. * - * @see wikipedia.org + * @see wikipedia.org */ - MRU(929, 2, MR), + PHP(608, 2, PH), /** * Pakistani rupee. @@ -897,485 +875,514 @@ public enum IsoCurrency { PKR(586, 2, PK), /** - * Palladium. + * Polish złoty. * - * @see wikipedia.org + * @see wikipedia.org */ - XPD(964, null, METAL), + PLN(985, 2, PL), /** - * Macanese pataca. + * Paraguayan guaraní. * - * @see wikipedia.org + * @see wikipedia.org */ - MOP(446, 2, MO), + PYG(600, 0, PY), /** - * Tongan paʻanga. + * Qatari riyal. * - * @see wikipedia.org + * @see wikipedia.org */ - TOP(776, 2, TO), + QAR(634, 2, QA), /** - * Cuban convertible peso. + * Romanian leu. * - * @see wikipedia.org + * @see wikipedia.org */ - CUC(931, 2, CU), + RON(946, 2, RO), /** - * Uruguayan peso. + * Serbian dinar. * - * @see wikipedia.org + * @see wikipedia.org */ - UYU(858, 2, UY), + RSD(941, 2, RS), /** - * Philippine peso. + * Russian ruble. * - * @see wikipedia.org + * @see wikipedia.org */ - PHP(608, 2, PH), + RUB(643, 2, RU), /** - * Platinum. + * Rwandan franc. * - * @see wikipedia.org + * @see wikipedia.org */ - XPT(962, null, METAL), + RWF(646, 0, RW), /** - * Pound sterling. + * Saudi riyal. * - * @see wikipedia.org + * @see wikipedia.org */ - GBP(826, 2, GB, IM, JE, GG), + SAR(682, 2, SA), /** - * Botswana pula. + * Solomon Islands dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - BWP(72, 2, BW), + SBD(90, 2, SB), /** - * Qatari riyal. + * Seychellois rupee. * - * @see wikipedia.org + * @see wikipedia.org */ - QAR(634, 2, QA), + SCR(690, 2, SC), /** - * Guatemalan quetzal. + * Sudanese pound. * - * @see wikipedia.org + * @see wikipedia.org */ - GTQ(320, 2, GT), + SDG(938, 2, SD), /** - * South African rand. + * Swedish króna. * - * @see wikipedia.org + * @see wikipedia.org */ - ZAR(710, 2, NA, LS, ZA), + SEK(752, 2, SE), /** - * Omani rial. + * Singapore dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - OMR(512, 3, OM), + SGD(702, 2, SG), /** - * Cambodian riel. + * Saint Helena pound. * - * @see wikipedia.org + * @see wikipedia.org */ - KHR(116, 2, KH), + SHP(654, 2, SH), /** - * Maldivian rufiyaa. + * Sierra Leonean leone. * - * @see wikipedia.org + *
+ * This currency code was introduced by ISO-4217 amendment number 171 and is effective from 1 April 2022 : + * + *
+ *+ * + * @see wikipedia.org + * @see ISO-4217 amendment + * number 171 + * @see wikipedia.org + * @since 3.2.0 */ - MVR(462, 2, MV), + SLE(925, 2, SL), /** - * Indonesian rupiah. + * Sierra Leonean leone. * - * @see wikipedia.org + * @see wikipedia.org */ - IDR(360, 2, ID), + SLL(694, 2, SL), /** - * Russian ruble. + * Somali shilling. * - * @see wikipedia.org + * @see wikipedia.org */ - RUB(643, 2, RU), + SOS(706, 2, SO), /** - * Rwandan franc. + * Surinamese dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - RWF(646, 0, RW), + SRD(968, 2, SR), /** - * Saint Helena pound. + * South Sudanese pound. * - * @see wikipedia.org + * @see wikipedia.org */ - SHP(654, 2, SH), + SSP(728, 2, SS), /** - * Saudi riyal. + * São Tomé and Príncipe dobra. * - * @see wikipedia.org + * @see wikipedia.org */ - SAR(682, 2, SA), + STN(930, 2, ST), /** - * Special drawing rights. + * Salvadoran colón. * - * @see wikipedia.org + * @see wikipedia.org */ - XDR(960, null, OTHER), + SVC(222, 2, SV), /** - * Serbian dinar. + * Syrian pound. * - * @see wikipedia.org + * @see wikipedia.org */ - RSD(941, 2, RS), + SYP(760, 2, SY), /** - * Seychellois rupee. + * Swazi lilangeni. * - * @see wikipedia.org + * @see wikipedia.org */ - SCR(690, 2, SC), + SZL(748, 2, SZ), /** - * Silver. + * Thai baht. * - * @see wikipedia.org + * @see wikipedia.org */ - XAG(961, null, METAL), + THB(764, 2, TH), /** - * Singapore dollar. + * Tajikistani somoni. * - * @see wikipedia.org + * @see wikipedia.org */ - SGD(702, 2, SG), + TJS(972, 2, TJ), /** - * Solomon Islands dollar. + * Turkmenistan manat. * - * @see wikipedia.org + * @see wikipedia.org */ - SBD(90, 2, SB), + TMT(934, 2, TM), /** - * Kyrgyzstani som. + * Tunisian dinar. * - * @see wikipedia.org + * @see wikipedia.org */ - KGS(417, 2, KG), + TND(788, 3, TN), /** - * Somali shilling. + * Tongan paʻanga. * - * @see wikipedia.org + * @see wikipedia.org */ - SOS(706, 2, SO), + TOP(776, 2, TO), /** - * Tajikistani somoni. + * Turkish lira. * - * @see wikipedia.org + * @see wikipedia.org */ - TJS(972, 2, TJ), + TRY(949, 2, TR), /** - * South Sudanese pound. + * Trinidad and Tobago dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - SSP(728, 2, SS), + TTD(780, 2, TT), /** - * Sri Lankan rupee. + * New Taiwan dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - LKR(144, 2, LK), + TWD(901, 2, TW), /** - * The SUCRE (a.k.a Sistema Unitario de Compensación Regional, or Unified System for Regional Compensation). + * Tanzanian shilling. * - * @see wikipedia.org + * @see wikipedia.org */ - XSU(994, null, OTHER), + TZS(834, 2, TZ), /** - * Sudanese pound. + * Ukrainian hryvnia. * - * @see wikipedia.org + * @see wikipedia.org */ - SDG(938, 2, SD), + UAH(980, 2, UA), /** - * Surinamese dollar. + * Ugandan shilling. * - * @see wikipedia.org + * @see wikipedia.org */ - SRD(968, 2, SR), + UGX(800, 0, UG), /** - * Swedish króna. + * United States dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - SEK(752, 2, SE), + USD(840, 2, VG, TL, MP, FM, PW, GU, HT, EC, UM, IO, VI, BQ, SV, US, PA, MH, PR, AS, TC), /** - * Swiss franc. + * United States dollar (next day) (funds code). * - * @see wikipedia.org + *+ * The Sierra Leonean LEONE (SLL) is redenominated by removing three (3) zeros from the denominations. A new currency code + * SLE/925 representing the new valuation (1’000 times old SLL/694) is introduced on 1 st April 2022 for any internal needs + * during the redenomination process, and is replacing SLL as the official currency code, after the transition period to be + * determined. + * + *
+ * During this transition period, both the old Leone and new Leone will be in physical circulation for at least 90 days. + * + *
+ * The Bank of Sierra Leone will adopt the new code in the local system but SLL/694 shall remain in use until further notice. + *
+ * "Next day" funds are immediately available for transfer in like funds, and, subject to settlement, available the next + * business day for same day funds transfer or withdrawal in cash. + * + * @see wikipedia.org */ - CHF(756, 2, LI, CH), + USN(997, 2, FUND, US), /** - * Syrian pound. + * United States dollar (same day) (funds code). * - * @see wikipedia.org + * @see wikipedia.org */ - SYP(760, 2, SY), + USS(998, 2, FUND, US), /** - * Bangladeshi taka. + * Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code). * - * @see wikipedia.org + *
+ * The UYI (UI) is used for issuance of debt instruments by the Uruguayan government in the international global bond market. + * It is calculated based on an established methodology using underlying inflationary statistics in the Uruguayan market + * (introduced in 2002). + * + * @see wikipedia.org */ - BDT(50, 2, BD), + UYI(940, 0, FUND, UY), /** - * Samoan tālā. + * Uruguayan peso. * - * @see wikipedia.org + * @see wikipedia.org */ - WST(882, 2, WS), + UYU(858, 2, UY), /** - * Tanzanian shilling. + * Uruguayan Unidad Previsional (Fund currency). * - * @see wikipedia.org + *
+ * The Unidad Previsional (UP) is a daily accounting unit that tracks changes to the nominal wage index. The value of UP is + * expressed in terms of Uruguayan Pesos per UP, with the initial value of one peso (UYU 1.00) on 04/30/2018. The institution + * responsible for the calculation and publication is the Instituto Nacional de Estadística (National Bureau of Statistics) + * according to Law 19,608. + * + * @see ISO 4217 AMENDMENT NUMBER + * 169 */ - TZS(834, 2, TZ), + UYW(927, 4, FUND, UY), /** - * Kazakhstani tenge. + * Uzbekistani soʻm. * - * @see wikipedia.org + * @see wikipedia.org */ - KZT(398, 2, KZ), + UZS(860, 2, UZ), /** - * Trinidad and Tobago dollar. + * Venezuelan bolívar digital (as designated on Wikipedia). * - * @see wikipedia.org + *
+ * This currency code was introduced by ISO-4217 amendment number 170 and is effective from 1 October 2021 : + * + *
+ *+ * + * @see wikipedia.org + * @see ISO-4217 amendment number + * 170 + * @since 3.2.0 */ - TTD(780, 2, TT), + VED(926, 2, VE), /** - * Mongolian tögrög (or tugrik). + * Venezuelan bolívar soberano. * - * @see wikipedia.org + * @see wikipedia.org */ - MNT(496, 2, MN), + VES(928, 2, VE), /** - * Tunisian dinar. + * Vietnamese đồng. * - * @see wikipedia.org + * @see wikipedia.org */ - TND(788, 3, TN), + VND(704, 0, VN), /** - * Turkish lira. + * Vanuatu vatu. * - * @see wikipedia.org + * @see wikipedia.org */ - TRY(949, 2, TR), + VUV(548, 0, VU), /** - * Turkmenistan manat. + * Samoan tālā. * - * @see wikipedia.org + * @see wikipedia.org */ - TMT(934, 2, TM), + WST(882, 2, WS), /** - * Code reserved for testing. + * Central African CFA franc. * - * @see wikipedia.org + * @see wikipedia.org */ - XTS(963, null, OTHER), + XAF(950, 0, TD, GA, GQ, CM, CF, CG), /** - * United Arab Emirates dirham. + * Silver. * - * @see wikipedia.org + * @see wikipedia.org */ - AED(784, 2, AE), + XAG(961, null, METAL), /** - * Ugandan shilling. + * Gold. * - * @see wikipedia.org + * @see wikipedia.org */ - UGX(800, 0, UG), + XAU(959, null, METAL), /** - * Unidad de Valor Real (UVR) (funds code). - * - *+ * The Bolívar Soberano (VES) is redenominated by removing six zeros from the denominations. A new currency code VED/926 + * representing the new valuation (1,000,000 times old VES/928) is introduced on 1 October 2021 for any internal needs during + * the redenomination process, but is not replacing VES as the official currency code. The Central Bank of Venezuela will not + * adopt the new codes in the local system, VES/928 remains in use. + * + *
+ * The actual currency code VES/928 remains the valid code after 1 October 2021 to use in any future transactions to indicate + * the redenominated Bolívar Soberano. + *
- * The UVR is a daily account unit set by the Central Bank of Colombia according to the variation in the Consumer Price Index - * of Colombia. The value of UVR is expressed in terms of Colombian Pesos per UVR. It is used to denominate and update - * mortgage loans and some public debt bonds. + * European Composite Unit (EURCO). * - * @see wikipedia.org + * @see wikipedia.org */ - COU(970, 2, FUND, CO), + XBA(955, null, BOND), /** - * Unidad de Fomento (funds code). - * - *
- * The CLF is a daily economically-financial unit calculated by the Central Bank of Chile according to inflation (as measured - * by the Chilean Consumer Price Index of the previous month). The value of the CLF is expressed in terms of Chilean Pesos per - * CLF. The use of CLF has been widely extended to all types of bank loans, financial investments (time deposits, mortgages - * and other public or private indexed instruments), contracts and fees in some cases. + * European Monetary Unit (E.M.U.-6). * - * @see wikipedia.org + * @see wikipedia.org */ - CLF(990, 4, FUND, CL), + XBB(956, null, BOND), /** - * Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code). - * - *
- * The UYI (UI) is used for issuance of debt instruments by the Uruguayan government in the international global bond market. - * It is calculated based on an established methodology using underlying inflationary statistics in the Uruguayan market - * (introduced in 2002). + * European Unit of Account 9 (E.U.A.-9). * - * @see wikipedia.org + * @see wikipedia.org */ - UYI(940, 0, FUND, UY), + XBC(957, null, BOND), /** - * United States dollar. + * European Unit of Account 17 (E.U.A.-17). * - * @see wikipedia.org + * @see wikipedia.org */ - USD(840, 2, VG, TL, MP, FM, PW, GU, HT, EC, UM, IO, VI, BQ, SV, US, PA, MH, PR, AS, TC), + XBD(958, null, BOND), /** - * United States dollar (next day) (funds code). - * - *
- * "Next day" funds are immediately available for transfer in like funds, and, subject to settlement, available the next - * business day for same day funds transfer or withdrawal in cash. + * Eastern Caribbean dollar. * - * @see wikipedia.org + * @see wikipedia.org */ - USN(997, 2, FUND, US), + XCD(951, 2, DM, VC, MS, AG, LC, AI, KN, GD), /** - * United States dollar (same day) (funds code). + * Special drawing rights. * - * @see wikipedia.org + * @see wikipedia.org */ - USS(998, 2, FUND, US), + XDR(960, null, OTHER), /** - * Uruguayan Unidad Previsional (Fund currency). - * - *
- * The Unidad Previsional (UP) is a daily accounting unit that tracks changes to the nominal wage index. The value of UP is - * expressed in terms of Uruguayan Pesos per UP, with the initial value of one peso (UYU 1.00) on 04/30/2018. The institution - * responsible for the calculation and publication is the Instituto Nacional de Estadística (National Bureau of Statistics) - * according to Law 19,608. + * West African CFA franc. * - * @see ISO 4217 AMENDMENT NUMBER - * 169 + * @see wikipedia.org */ - UYW(927, 4, FUND, UY), + XOF(952, 0, ML, NE, BJ, TG, BF, SN, CI, GW), /** - * Uzbekistani soʻm. + * Palladium. * - * @see wikipedia.org + * @see wikipedia.org */ - UZS(860, 2, UZ), + XPD(964, null, METAL), /** - * Vanuatu vatu. + * CFP franc. * - * @see wikipedia.org + * @see wikipedia.org */ - VUV(548, 0, VU), + XPF(953, 0, PF, WF, NC), /** - * WIR euro (complementary currency). - * - *
- * WIR Bank for use with the EFTPOS system with their own WIR-card and the Electronic Banking Services. + * Platinum. * - * @see wikipedia.org + * @see wikipedia.org */ - CHE(947, 2, FUND, CH), + XPT(962, null, METAL), /** - * WIR franc (complementary currency). + * The SUCRE (a.k.a Sistema Unitario de Compensación Regional, or Unified System for Regional Compensation). * - *
- * WIR Bank for use with the EFTPOS system with their own WIR-card and the Electronic Banking Services.
+ * @see wikipedia.org
+ */
+ XSU(994, null, OTHER),
+
+ /**
+ * Code reserved for testing.
*
* @see wikipedia.org
*/
- CHW(948, 2, FUND, CH),
+ XTS(963, null, OTHER),
/**
- * South Korean won.
+ * ADB (African Development Bank) Unit of Account.
*
- * @see wikipedia.org
+ * @see wikipedia.org
*/
- KRW(410, 0, KR),
+ XUA(965, null, OTHER),
/**
- * Yemeni rial.
+ * No currency.
*
- * @see wikipedia.org
+ * @see wikipedia.org
*/
- YER(886, 2, YE),
+ XXX(999, null, OTHER),
/**
- * Japanese yen.
+ * Yemeni rial.
*
- * @see wikipedia.org
+ * @see wikipedia.org
*/
- JPY(392, 0, JP),
+ YER(886, 2, YE),
/**
- * Yuan Renminbi.
+ * South African rand.
*
- * @see wikipedia.org
+ * @see wikipedia.org
*/
- CNY(156, 2, CN),
+ ZAR(710, 2, NA, LS, ZA),
/**
* Zambian kwacha.
@@ -1389,14 +1396,7 @@ public enum IsoCurrency {
*
* @see wikipedia.org
*/
- ZWL(932, 2, ZW),
-
- /**
- * Polish złoty.
- *
- * @see wikipedia.org
- */
- PLN(985, 2, PL);
+ ZWL(932, 2, ZW);
// Enum.valueOf throws Exception on null or not found
private static final Map
+ *
+ */
+ AE(IsoCountry.AE, "3!n16!n"),
+
/**
* BBAN structure for Albania as defined by the Banka e Shqipërisë (Bank of
* Albania).
@@ -77,57 +88,57 @@ enum BbanStructure {
AZ(IsoCountry.AZ, "4!a20!c"),
/**
- * BBAN structure for Bahrain as defined by the Central Bank of Bahrain (CBB).
+ * BBAN structure for Bosnia and Herzegovina as defined by the Centralna banka I
+ * Bosne Hercegovine (Central Bank of Bosnia and Herzegovina - CBBH).
*
*
- *
*/
- BH(IsoCountry.BH, "4!a14!c"),
+ BA(IsoCountry.BA, "3!n3!n8!n2!n"),
/**
- * BBAN structure for Burundi as defined by the Banque de la République du Burundi (BRB).
+ * BBAN structure for Belgium as defined by the Fédération belge du secteur financier
+ * (Febelfin).
*
*
- *
*/
- BI(IsoCountry.BI, "5!n5!n11!n2!n"),
+ BE(IsoCountry.BE, "3!n7!n2!n"),
/**
- * BBAN structure for the Republic of Belarus as defined by the National Bank of the Republic of
- * Belarus.
+ * BBAN structure for Bulgaria as defined by the Balgarska narodna banka (Bulgarian National
+ * Bank).
*
*
- *
*/
- BY(IsoCountry.BY, "4!c4!n16!c"),
+ BG(IsoCountry.BG, "4!a4!n2!n8!c"),
/**
- * BBAN structure for Belgium as defined by the Fédération belge du secteur financier
- * (Febelfin).
+ * BBAN structure for Bahrain as defined by the Central Bank of Bahrain (CBB).
*
*
- *
*/
- BE(IsoCountry.BE, "3!n7!n2!n"),
+ BH(IsoCountry.BH, "4!a14!c"),
/**
- * BBAN structure for Bosnia and Herzegovina as defined by the Centralna banka I
- * Bosne Hercegovine (Central Bank of Bosnia and Herzegovina - CBBH).
+ * BBAN structure for Burundi as defined by the Banque de la République du Burundi (BRB).
*
*
- *
*/
- BA(IsoCountry.BA, "3!n3!n8!n2!n"),
+ BI(IsoCountry.BI, "5!n5!n11!n2!n"),
/**
* BBAN structure for Brazil as defined by the Banco Central do Brasil (Central Bank of
@@ -141,25 +152,25 @@ enum BbanStructure {
BR(IsoCountry.BR, "8!n5!n10!n1!a1!c"),
/**
- * BBAN structure for the british Virgin Islands as defined by the VP Bank House.
+ * BBAN structure for the Republic of Belarus as defined by the National Bank of the Republic of
+ * Belarus.
*
*
- *
*/
- VG(IsoCountry.VG, "4!a16!n"),
+ BY(IsoCountry.BY, "4!c4!n16!c"),
/**
- * BBAN structure for Bulgaria as defined by the Balgarska narodna banka (Bulgarian National
- * Bank).
+ * BBAN structure for Switzerland as defined by SIX Interbank Clearing.
*
*
- *
*/
- BG(IsoCountry.BG, "4!a4!n2!n8!c"),
+ CH(IsoCountry.CH, "5!n12!c"),
/**
* BBAN structure for Costa Rica as defined by the Banco Central de Costa Rica (Central
@@ -172,17 +183,6 @@ enum BbanStructure {
*/
CR(IsoCountry.CR, "4!n14!n"),
- /**
- * BBAN structure for Croatia as defined by the Hrvatska narodna banka (Croatian National
- * Bank).
- *
- *
- *
- */
- HR(IsoCountry.HR, "7!n10!n"),
-
/**
* BBAN structure for Cyprus as defined by the Kıbrıs Merkez Bankası (Central Bank
* of Cyprus).
@@ -205,6 +205,17 @@ enum BbanStructure {
*/
CZ(IsoCountry.CZ, "4!n6!n10!n"),
+ /**
+ * BBAN structure for Germany as defined by the Bundesverband deutscher Banken
+ * (Association of German Banks).
+ *
+ *
+ *
+ */
+ DE(IsoCountry.DE, "8!n10!n"),
+
/**
* BBAN structure for Djibouti as defined by the Banque Centrale de Djibouti.
*
@@ -225,37 +236,6 @@ enum BbanStructure {
*/
DK(IsoCountry.DK, "4!n9!n1!n"),
- /**
- * BBAN structure for El Salvador as defined by the Banco Central de Reserva de El
- * Salvador (Central Reserve Bank of El Salvador).
- *
- *
- *
- */
- SV(IsoCountry.SV, "4!a20!n"),
-
- /**
- * BBAN structure for Faroe Islands as defined by Finance Denmark.
- *
- *
- *
- */
- FO(IsoCountry.FO, "4!n9!n1!n"),
-
- /**
- * BBAN structure for Greenland as defined by the Finance Denmark.
- *
- *
- *
- */
- GL(IsoCountry.GL, "4!n9!n1!n"),
-
/**
* BBAN structure for the Dominican Republic as defined by the Banco Central de la
* República Dominicana (Central Bank of the Dominican Republic).
@@ -288,6 +268,16 @@ enum BbanStructure {
*/
EG(IsoCountry.EG, "4!n4!n17!n"),
+ /**
+ * BBAN structure for Spain as defined by the Asociación Española de Banca (AEB).
+ *
+ *
+ *
+ */
+ ES(IsoCountry.ES, "4!n4!n1!n1!n10!n"),
+
/**
* BBAN structure for Finland as defined by the Finanssiala ry (Federation of Finnish
* Financial Services - FA).
@@ -299,6 +289,16 @@ enum BbanStructure {
*/
FI(IsoCountry.FI, "3!n11!n", AX),
+ /**
+ * BBAN structure for Faroe Islands as defined by Finance Denmark.
+ *
+ *
+ *
+ */
+ FO(IsoCountry.FO, "4!n9!n1!n"),
+
/**
* BBAN structure for France as defined by the Comité Français d'Organisation et de
* Normalisation Bancaires (CFONB).
@@ -311,25 +311,24 @@ enum BbanStructure {
FR(IsoCountry.FR, "5!n5!n11!c2!n", GF, GP, MQ, RE, PF, TF, YT, NC, BL, MF, PM, WF),
/**
- * BBAN structure for Georgia as defined by the National Bank of Georgia.
+ * BBAN structure for the United Kingdom as defined by Payments UK Management Ltd.
*
*
- *
*/
- GE(IsoCountry.GE, "2!a16!n"),
+ GB(IsoCountry.GB, "4!a6!n8!n", IM, JE, GG),
/**
- * BBAN structure for Germany as defined by the Bundesverband deutscher Banken
- * (Association of German Banks).
+ * BBAN structure for Georgia as defined by the National Bank of Georgia.
*
*
- *
*/
- DE(IsoCountry.DE, "8!n10!n"),
+ GE(IsoCountry.GE, "2!a16!n"),
/**
* BBAN structure for Gibraltar as defined by the Gibraltar Financial Services Commission.
@@ -341,6 +340,16 @@ enum BbanStructure {
*/
GI(IsoCountry.GI, "4!a15!c"),
+ /**
+ * BBAN structure for Greenland as defined by the Finance Denmark.
+ *
+ *
+ *
+ */
+ GL(IsoCountry.GL, "4!n9!n1!n"),
+
/**
* BBAN structure for Greece as defined by the Hellenic Bank Association (HBA).
*
@@ -363,25 +372,26 @@ enum BbanStructure {
GT(IsoCountry.GT, "4!c20!c"),
/**
- * BBAN structure for Hungary as defined by the Magyar Bankszövetség (Hungarian Banking
- * Association).
+ * BBAN structure for Croatia as defined by the Hrvatska narodna banka (Croatian National
+ * Bank).
*
*
- *
*/
- HU(IsoCountry.HU, "3!n4!n1!n15!n1!n"),
+ HR(IsoCountry.HR, "7!n10!n"),
/**
- * BBAN structure for Iceland as defined by the Reiknistofa Bankanna (RB).
+ * BBAN structure for Hungary as defined by the Magyar Bankszövetség (Hungarian Banking
+ * Association).
*
*
- *
*/
- IS(IsoCountry.IS, "4!n2!n6!n10!n"),
+ HU(IsoCountry.HU, "3!n4!n1!n15!n1!n"),
/**
* BBAN structure for Ireland as defined by the Banking and Payments Federation Ireland.
@@ -413,6 +423,16 @@ enum BbanStructure {
*/
IQ(IsoCountry.IQ, "4!a3!n12!n"),
+ /**
+ * BBAN structure for Iceland as defined by the Reiknistofa Bankanna (RB).
+ *
+ *
+ *
+ */
+ IS(IsoCountry.IS, "4!n2!n6!n10!n"),
+
/**
* BBAN structure for Italy as defined by the Associazione Bancaria Italiana.
*
@@ -433,28 +453,6 @@ enum BbanStructure {
*/
JO(IsoCountry.JO, "4!a4!n18!c"),
- /**
- * BBAN structure for Kazakhstan as defined by the Qazaqstan Ulttyq Banki (National Bank
- * of Kazakhstan).
- *
- *
- *
- */
- KZ(IsoCountry.KZ, "3!n13!c"),
-
- /**
- * BBAN structure for Kosovo as defined by the Banka Qendrore e Kosovës (Central Bank
- * of the Republic of Kosovo).
- *
- *
- *
- */
- XK(IsoCountry.XK, "4!n10!n2!n"),
-
/**
* BBAN structure for Kuwait as defined by the Central Bank of Kuwait (CBK).
*
@@ -466,14 +464,15 @@ enum BbanStructure {
KW(IsoCountry.KW, "4!a22!c"),
/**
- * BBAN structure for Latvia as defined by the Latvijas Banka (Bank of Latvia).
+ * BBAN structure for Kazakhstan as defined by the Qazaqstan Ulttyq Banki (National Bank
+ * of Kazakhstan).
*
*
- *
*/
- LV(IsoCountry.LV, "4!a13!c"),
+ KZ(IsoCountry.KZ, "3!n13!c"),
/**
* BBAN structure for Lebanon as defined by the Banque du Liban (BDL - Bank of Lebanon).
@@ -485,6 +484,16 @@ enum BbanStructure {
*/
LB(IsoCountry.LB, "4!n20!c"),
+ /**
+ * BBAN structure for Saint Lucia as defined by the Saint Lucia Bureau of Standards (SLBS).
+ *
+ *
+ *
+ */
+ LC(IsoCountry.LC, "4!a24!c"),
+
/**
* BBAN structure for Liechtenstein as defined by the Liechtensteinischer
* Bankenverband (Liechtenstein Bankers Association).
@@ -517,6 +526,16 @@ enum BbanStructure {
*/
LU(IsoCountry.LU, "3!n13!c"),
+ /**
+ * BBAN structure for Latvia as defined by the Latvijas Banka (Bank of Latvia).
+ *
+ *
+ *
+ */
+ LV(IsoCountry.LV, "4!a13!c"),
+
/**
* BBAN structure for Libya as defined by the Central Bank of Libya (CBL).
*
@@ -528,78 +547,78 @@ enum BbanStructure {
LY(IsoCountry.LY, "3!n3!n15!n"),
/**
- * BBAN structure for Macedonia as defined by the Narodna Banka na Republika Severna
- * Makedonija (NBRSM - National Bank of the Republic of North Macedonia).
+ * BBAN structure for Monaco as defined by the Association Monégasque des Activités
+ * Financières (AMAF).
*
*
- *
*/
- MK(IsoCountry.MK, "3!n10!c2!n"),
+ MC(IsoCountry.MC, "5!n5!n11!c2!n"),
/**
- * BBAN structure for Malta as defined by the Malta Bankers’ Association (MBA).
+ * BBAN structure for Moldova as defined by the Banca Naţională a Moldovei (National Bank of
+ * Moldova).
*
*
- *
*/
- MT(IsoCountry.MT, "4!a5!n18!c"),
+ MD(IsoCountry.MD, "2!c18!c"),
/**
- * BBAN structure for Mauritania as defined by the Banque Centrale de Mauritanie (BCM -
- * Central Bank of Mauritania).
+ * BBAN structure for Montenegro as defined by the Association of Montenegrin Banks.
*
*
- *
*/
- MR(IsoCountry.MR, "5!n5!n11!n2!n"),
+ ME(IsoCountry.ME, "3!n13!n2!n"),
/**
- * BBAN structure for Mauritius as defined by the Bank of Mauritius.
+ * BBAN structure for Macedonia as defined by the Narodna Banka na Republika Severna
+ * Makedonija (NBRSM - National Bank of the Republic of North Macedonia).
*
*
- *
*/
- MU(IsoCountry.MU, "4!a2!n2!n12!n3!n3!a"),
+ MK(IsoCountry.MK, "3!n10!c2!n"),
/**
- * BBAN structure for Moldova as defined by the Banca Naţională a Moldovei (National Bank of
- * Moldova).
+ * BBAN structure for Mauritania as defined by the Banque Centrale de Mauritanie (BCM -
+ * Central Bank of Mauritania).
*
*
- *
*/
- MD(IsoCountry.MD, "2!c18!c"),
+ MR(IsoCountry.MR, "5!n5!n11!n2!n"),
/**
- * BBAN structure for Monaco as defined by the Association Monégasque des Activités
- * Financières (AMAF).
+ * BBAN structure for Malta as defined by the Malta Bankers’ Association (MBA).
*
*
- *
*/
- MC(IsoCountry.MC, "5!n5!n11!c2!n"),
+ MT(IsoCountry.MT, "4!a5!n18!c"),
/**
- * BBAN structure for Montenegro as defined by the Association of Montenegrin Banks.
+ * BBAN structure for Mauritius as defined by the Bank of Mauritius.
*
*
- *
*/
- ME(IsoCountry.ME, "3!n13!n2!n"),
+ MU(IsoCountry.MU, "4!a2!n2!n12!n3!n3!a"),
/**
* BBAN structure for the Netherlands as defined by the Betaalvereniging
@@ -633,26 +652,26 @@ enum BbanStructure {
PK(IsoCountry.PK, "4!a16!c"),
/**
- * BBAN structure for the State of Palestine as defined by the Palestine Monetary Authority
- * (PMA).
+ * BBAN structure for Poland as defined by the Narodowy Bank Polski (NBP - National Bank of
+ * Poland).
*
*
- *
*/
- PS(IsoCountry.PS, "4!a21!c"),
+ PL(IsoCountry.PL, "8!n16!n"),
/**
- * BBAN structure for Poland as defined by the Narodowy Bank Polski (NBP - National Bank of
- * Poland).
+ * BBAN structure for the State of Palestine as defined by the Palestine Monetary Authority
+ * (PMA).
*
*
- *
*/
- PL(IsoCountry.PL, "8!n16!n"),
+ PS(IsoCountry.PS, "4!a21!c"),
/**
* BBAN structure for Portugal as defined by SIBS.
@@ -686,36 +705,24 @@ enum BbanStructure {
RO(IsoCountry.RO, "4!a16!c"),
/**
- * BBAN structure for Saint Lucia as defined by the Saint Lucia Bureau of Standards (SLBS).
- *
- *
- *
- */
- LC(IsoCountry.LC, "4!a24!c"),
-
- /**
- * BBAN structure for San Marino as defined by the Banca Centrale della Repubblica di San
- * Marino (CBSM - Central Bank of the Republic of San Marino).
+ * BBAN structure for Serbia as defined by the Narodna banka Srbije (National bank of Serbia).
*
*
- *
*/
- SM(IsoCountry.SM, "1!a5!n5!n12!c"),
+ RS(IsoCountry.RS, "3!n13!n2!n"),
/**
- * BBAN structure for São Tomé and Príncipe as defined by the Banco Central de Sao Tome e
- * Principe (BCSTP - Central Bank of São Tomé and Príncipe).
+ * BBAN structure for Russia as defined by the Central Bank of the Russian Federation (CBR).
*
*
- *
*/
- ST(IsoCountry.ST, "8!n11!n2!n"),
+ RU(IsoCountry.RU, "9!n5!n15!c"),
/**
* BBAN structure for Saudi Arabia as defined by the Saudi Arabian Monetary Authority
@@ -728,26 +735,6 @@ enum BbanStructure {
*/
SA(IsoCountry.SA, "2!n18!c"),
- /**
- * BBAN structure for Serbia as defined by the Narodna banka Srbije (National bank of Serbia).
- *
- *
- *
- */
- RS(IsoCountry.RS, "3!n13!n2!n"),
-
- /**
- * BBAN structure for Russia as defined by the Central Bank of the Russian Federation (CBR).
- *
- *
- *
- */
- RU(IsoCountry.RU, "9!n5!n15!c"),
-
/**
* BBAN structure for Seychelles as defined by the Central Bank of Seychelles (CBS).
*
@@ -769,15 +756,15 @@ enum BbanStructure {
SD(IsoCountry.SD, "2!n12!n"),
/**
- * BBAN structure for Slovakia as defined by the Národná banka Slovenska (NBS - National Bank
- * of Slovakia).
+ * BBAN structure for Sweden as defined by the Svenska Bankföreningen (Swedish
+ * Bankers’ Association).
*
*
- *
*/
- SK(IsoCountry.SK, "4!n6!n10!n"),
+ SE(IsoCountry.SE, "3!n16!n1!n"),
/**
* BBAN structure for Slovenia as defined by the Banka Slovenije (Bank of Slovenia).
@@ -790,35 +777,48 @@ enum BbanStructure {
SI(IsoCountry.SI, "5!n8!n2!n"),
/**
- * BBAN structure for Spain as defined by the Asociación Española de Banca (AEB).
+ * BBAN structure for Slovakia as defined by the Národná banka Slovenska (NBS - National Bank
+ * of Slovakia).
*
*
- *
*/
- ES(IsoCountry.ES, "4!n4!n1!n1!n10!n"),
+ SK(IsoCountry.SK, "4!n6!n10!n"),
/**
- * BBAN structure for Sweden as defined by the Svenska Bankföreningen (Swedish
- * Bankers’ Association).
+ * BBAN structure for San Marino as defined by the Banca Centrale della Repubblica di San
+ * Marino (CBSM - Central Bank of the Republic of San Marino).
*
*
- *
*/
- SE(IsoCountry.SE, "3!n16!n1!n"),
+ SM(IsoCountry.SM, "1!a5!n5!n12!c"),
/**
- * BBAN structure for Switzerland as defined by SIX Interbank Clearing.
+ * BBAN structure for São Tomé and Príncipe as defined by the Banco Central de Sao Tome e
+ * Principe (BCSTP - Central Bank of São Tomé and Príncipe).
*
*
- *
*/
- CH(IsoCountry.CH, "5!n12!c"),
+ ST(IsoCountry.ST, "8!n11!n2!n"),
+
+ /**
+ * BBAN structure for El Salvador as defined by the Banco Central de Reserva de El
+ * Salvador (Central Reserve Bank of El Salvador).
+ *
+ *
+ *
+ */
+ SV(IsoCountry.SV, "4!a20!n"),
/**
* BBAN structure for Timor-Leste as defined by the Banco Central de Timor-Leste
@@ -865,36 +865,36 @@ enum BbanStructure {
UA(IsoCountry.UA, "6!n19!c"),
/**
- * BBAN structure for the United Arab Emirates as defined by the Central Bank of the
- * United Arab Emirates.
+ * BBAN structure for the Vatican City State as defined by the Autorita di Informazione
+ * Finanziaria (AIF - Financial Information Authority).
*
*
- *
*/
- AE(IsoCountry.AE, "3!n16!n"),
+ VA(IsoCountry.VA, "3!n15!n"),
/**
- * BBAN structure for the United Kingdom as defined by Payments UK Management Ltd.
+ * BBAN structure for the british Virgin Islands as defined by the VP Bank House.
*
*
- *
*/
- GB(IsoCountry.GB, "4!a6!n8!n", IM, JE, GG),
+ VG(IsoCountry.VG, "4!a16!n"),
/**
- * BBAN structure for the Vatican City State as defined by the Autorita di Informazione
- * Finanziaria (AIF - Financial Information Authority).
+ * BBAN structure for Kosovo as defined by the Banka Qendrore e Kosovës (Central Bank
+ * of the Republic of Kosovo).
*
*
- *
*/
- VA(IsoCountry.VA, "3!n15!n");
+ XK(IsoCountry.XK, "4!n10!n2!n");
private static final Map