From d4dafc05c7a2fcf3465eb0cdc233c65c1cb7b6cc Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Tue, 24 Dec 2024 13:55:49 +0800 Subject: [PATCH] almost complete currencies --- src/Types/Currency.php | 306 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 306 insertions(+) diff --git a/src/Types/Currency.php b/src/Types/Currency.php index b496e20..76f1c9b 100644 --- a/src/Types/Currency.php +++ b/src/Types/Currency.php @@ -110,6 +110,33 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'AFN' => [ + 'code' => 'AFN', + 'title' => 'Afghan Afghani', + 'symbol' => '؋', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'AOA' => [ + 'code' => 'AOA', + 'title' => 'Angolan Kwanza', + 'symbol' => 'Kz', + 'precision' => 2, + 'thousandSeparator' => '.', + 'decimalSeparator' => ',', + 'symbolPlacement' => 'before', + ], + 'AZN' => [ + 'code' => 'AZN', + 'title' => 'Azerbaijani Manat', + 'symbol' => '₼', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'BSD' => [ 'code' => 'BSD', 'title' => 'Bahamian Dollar', @@ -200,6 +227,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'BIF' => [ + 'code' => 'BIF', + 'title' => 'Burundian Franc', + 'symbol' => 'FBu', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '', + 'symbolPlacement' => 'before', + ], 'CAD' => [ 'code' => 'CAD', 'title' => 'Canadian Dollar', @@ -254,6 +290,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => ',', 'symbolPlacement' => 'before', ], + 'CDF' => [ + 'code' => 'CDF', + 'title' => 'Congolese Franc', + 'symbol' => 'FC', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '', + 'symbolPlacement' => 'before', + ], 'HRK' => [ 'code' => 'HRK', 'title' => 'Croatian Kuna', @@ -326,6 +371,33 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'XAF' => [ + 'code' => 'XAF', + 'title' => 'Central African CFA Franc', + 'symbol' => 'FCFA', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'XOF' => [ + 'code' => 'XOF', + 'title' => 'West African CFA Franc', + 'symbol' => 'Fr', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'XPF' => [ + 'code' => 'XPF', + 'title' => 'CFP Franc', + 'symbol' => 'Fr', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'EGP' => [ 'code' => 'EGP', 'title' => 'Egyptian Pound', @@ -389,6 +461,33 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'GHS' => [ + 'code' => 'GHS', + 'title' => 'Ghanaian Cedi', + 'symbol' => 'GH₵', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'GNF' => [ + 'code' => 'GNF', + 'title' => 'Guinean Franc', + 'symbol' => 'FG', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '', + 'symbolPlacement' => 'before', + ], + 'GYD' => [ + 'code' => 'GYD', + 'title' => 'Guyanaese Dollar', + 'symbol' => '$', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'HNL' => [ 'code' => 'HNL', 'title' => 'Honduras, Lempira', @@ -416,6 +515,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '', 'symbolPlacement' => 'after', ], + 'HTG' => [ + 'code' => 'HTG', + 'title' => 'Haitian Gourde', + 'symbol' => 'G', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'ISK' => [ 'code' => 'ISK', 'title' => 'Iceland Krona', @@ -452,6 +560,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'IQD' => [ + 'code' => 'IQD', + 'title' => 'Iraqi Dinar', + 'symbol' => 'ع.د', + 'precision' => 3, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'JMD' => [ 'code' => 'JMD', 'title' => 'Jamaican Dollar', @@ -497,6 +614,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'KGS' => [ + 'code' => 'KGS', + 'title' => 'Kyrgyzstani Som', + 'symbol' => 'сом', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'LVL' => [ 'code' => 'LVL', 'title' => 'Latvian Lats', @@ -524,6 +650,42 @@ class Currency implements \JsonSerializable 'decimalSeparator' => ',', 'symbolPlacement' => 'after', ], + 'LAK' => [ + 'code' => 'LAK', + 'title' => 'Lao Kip', + 'symbol' => '₭', + 'precision' => 0, + 'thousandSeparator' => ',', + 'decimalSeparator' => '', + 'symbolPlacement' => 'before', + ], + 'LSL' => [ + 'code' => 'LSL', + 'title' => 'Lesotho Loti', + 'symbol' => 'M', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'LRD' => [ + 'code' => 'LRD', + 'title' => 'Liberian Dollar', + 'symbol' => '$', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'LYD' => [ + 'code' => 'LYD', + 'title' => 'Libyan Dinar', + 'symbol' => 'ل.د', + 'precision' => 3, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'MKD' => [ 'code' => 'MKD', 'title' => 'Macedonia, Denar', @@ -587,6 +749,60 @@ class Currency implements \JsonSerializable 'decimalSeparator' => ',', 'symbolPlacement' => 'before', ], + 'MOP' => [ + 'code' => 'MOP', + 'title' => 'Macanese Pataca', + 'symbol' => 'P', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'MWK' => [ + 'code' => 'MWK', + 'title' => 'Malawian Kwacha', + 'symbol' => 'MK', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'MVR' => [ + 'code' => 'MVR', + 'title' => 'Maldivian Rufiyaa', + 'symbol' => 'Rf', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'MDL' => [ + 'code' => 'MDL', + 'title' => 'Moldovan Leu', + 'symbol' => 'L', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'MMK' => [ + 'code' => 'MMK', + 'title' => 'Burmese Kyat', + 'symbol' => 'K', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'NGN' => [ + 'code' => 'NGN', + 'title' => 'Nigerian Naira', + 'symbol' => '₦', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'NPR' => [ 'code' => 'NPR', 'title' => 'Nepalese Rupee', @@ -596,6 +812,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'NAD' => [ + 'code' => 'NAD', + 'title' => 'Namibian Dollar', + 'symbol' => '$', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'ANG' => [ 'code' => 'ANG', 'title' => 'Netherlands Antillian Guilder', @@ -668,6 +893,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => ',', 'symbolPlacement' => 'before', ], + 'UGX' => [ + 'code' => 'UGX', + 'title' => 'Ugandan Shilling', + 'symbol' => 'USh ', + 'precision' => 0, + 'thousandSeparator' => '.', + 'decimalSeparator' => '/', + 'symbolPlacement' => 'before', + ], 'PHP' => [ 'code' => 'PHP', 'title' => 'Philippine Peso', @@ -830,6 +1064,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'TWD' => [ + 'code' => 'TWD', + 'title' => 'New Taiwan Dollar', + 'symbol' => '元', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'THB' => [ 'code' => 'THB', 'title' => 'Thailand, Baht ฿', @@ -848,6 +1091,42 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'TTD' => [ + 'code' => 'TTD', + 'title' => 'Trinidad and Tobago Dollar', + 'symbol' => '$', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'TND' => [ + 'code' => 'TND', + 'title' => 'Tunisian Dinar', + 'symbol' => 'د.ت', + 'precision' => 3, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'TJS' => [ + 'code' => 'TJS', + 'title' => 'Tajikistani Somoni', + 'symbol' => 'ЅМ', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'TMT' => [ + 'code' => 'TMT', + 'title' => 'Turkmenistani Manat', + 'symbol' => 'm', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'AED' => [ 'code' => 'AED', 'title' => 'UAE Dirham', @@ -875,6 +1154,24 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'UZS' => [ + 'code' => 'UZS', + 'title' => 'Uzbekistani Som', + 'symbol' => 'лв', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], + 'WST' => [ + 'code' => 'WST', + 'title' => 'Samoan Tala', + 'symbol' => 'T', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], 'VUV' => [ 'code' => 'VUV', 'title' => 'Vanuatu, Vatu', @@ -929,6 +1226,15 @@ class Currency implements \JsonSerializable 'decimalSeparator' => '.', 'symbolPlacement' => 'before', ], + 'ZMW' => [ + 'code' => 'ZMW', + 'title' => 'Zambian Kwacha', + 'symbol' => 'ZK', + 'precision' => 2, + 'thousandSeparator' => ',', + 'decimalSeparator' => '.', + 'symbolPlacement' => 'before', + ], ]; /**