From eed25cb98d01eaf7c252b12317f8946bbf72c6b4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-FG2R6J5\\Telexoo Vincent DEJ" Date: Thu, 8 Mar 2018 15:51:31 +0100 Subject: [PATCH 1/3] Add other money --- src/Z38/SwissPayment/Money/AED.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/AUD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/BHD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/CAD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/CZK.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/DKK.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/HKD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/HUF.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/ILS.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/KWD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/MAD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/MXN.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/NOK.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/NZD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/PLN.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/RUB.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/SEK.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/SGD.php | 25 +++++++++++++++++++++++++ src/Z38/SwissPayment/Money/ZAR.php | 25 +++++++++++++++++++++++++ 19 files changed, 475 insertions(+) create mode 100644 src/Z38/SwissPayment/Money/AED.php create mode 100644 src/Z38/SwissPayment/Money/AUD.php create mode 100644 src/Z38/SwissPayment/Money/BHD.php create mode 100644 src/Z38/SwissPayment/Money/CAD.php create mode 100644 src/Z38/SwissPayment/Money/CZK.php create mode 100644 src/Z38/SwissPayment/Money/DKK.php create mode 100644 src/Z38/SwissPayment/Money/HKD.php create mode 100644 src/Z38/SwissPayment/Money/HUF.php create mode 100644 src/Z38/SwissPayment/Money/ILS.php create mode 100644 src/Z38/SwissPayment/Money/KWD.php create mode 100644 src/Z38/SwissPayment/Money/MAD.php create mode 100644 src/Z38/SwissPayment/Money/MXN.php create mode 100644 src/Z38/SwissPayment/Money/NOK.php create mode 100644 src/Z38/SwissPayment/Money/NZD.php create mode 100644 src/Z38/SwissPayment/Money/PLN.php create mode 100644 src/Z38/SwissPayment/Money/RUB.php create mode 100644 src/Z38/SwissPayment/Money/SEK.php create mode 100644 src/Z38/SwissPayment/Money/SGD.php create mode 100644 src/Z38/SwissPayment/Money/ZAR.php diff --git a/src/Z38/SwissPayment/Money/AED.php b/src/Z38/SwissPayment/Money/AED.php new file mode 100644 index 0000000..281a159 --- /dev/null +++ b/src/Z38/SwissPayment/Money/AED.php @@ -0,0 +1,25 @@ + Date: Fri, 9 Mar 2018 10:30:13 +0100 Subject: [PATCH 2/3] Update BHD and KWD decimals from 2 to 3 --- src/Z38/SwissPayment/Money/BHD.php | 2 +- src/Z38/SwissPayment/Money/KWD.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Z38/SwissPayment/Money/BHD.php b/src/Z38/SwissPayment/Money/BHD.php index 0916358..11fa25c 100644 --- a/src/Z38/SwissPayment/Money/BHD.php +++ b/src/Z38/SwissPayment/Money/BHD.php @@ -20,6 +20,6 @@ final public function getCurrency() */ final protected function getDecimals() { - return 2; + return 3; } } diff --git a/src/Z38/SwissPayment/Money/KWD.php b/src/Z38/SwissPayment/Money/KWD.php index 16019eb..0fcbe81 100644 --- a/src/Z38/SwissPayment/Money/KWD.php +++ b/src/Z38/SwissPayment/Money/KWD.php @@ -20,6 +20,6 @@ final public function getCurrency() */ final protected function getDecimals() { - return 2; + return 3; } } From d081ce600757312ce38dd504809aa499943ee995 Mon Sep 17 00:00:00 2001 From: z38 Date: Fri, 9 Mar 2018 12:08:12 +0100 Subject: [PATCH 3/3] Fix currency names --- src/Z38/SwissPayment/Money/AED.php | 2 +- src/Z38/SwissPayment/Money/AUD.php | 2 +- src/Z38/SwissPayment/Money/BHD.php | 2 +- src/Z38/SwissPayment/Money/CAD.php | 2 +- src/Z38/SwissPayment/Money/CZK.php | 2 +- src/Z38/SwissPayment/Money/DKK.php | 2 +- src/Z38/SwissPayment/Money/HKD.php | 2 +- src/Z38/SwissPayment/Money/HUF.php | 2 +- src/Z38/SwissPayment/Money/ILS.php | 2 +- src/Z38/SwissPayment/Money/KWD.php | 2 +- src/Z38/SwissPayment/Money/MAD.php | 2 +- src/Z38/SwissPayment/Money/MXN.php | 2 +- src/Z38/SwissPayment/Money/NOK.php | 2 +- src/Z38/SwissPayment/Money/NZD.php | 2 +- src/Z38/SwissPayment/Money/PLN.php | 2 +- src/Z38/SwissPayment/Money/RUB.php | 2 +- src/Z38/SwissPayment/Money/SEK.php | 2 +- src/Z38/SwissPayment/Money/SGD.php | 2 +- src/Z38/SwissPayment/Money/ZAR.php | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/Z38/SwissPayment/Money/AED.php b/src/Z38/SwissPayment/Money/AED.php index 281a159..16ee3cd 100644 --- a/src/Z38/SwissPayment/Money/AED.php +++ b/src/Z38/SwissPayment/Money/AED.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in UAE dirhams */ class AED extends Money { diff --git a/src/Z38/SwissPayment/Money/AUD.php b/src/Z38/SwissPayment/Money/AUD.php index a90ac2b..a0eb8b0 100644 --- a/src/Z38/SwissPayment/Money/AUD.php +++ b/src/Z38/SwissPayment/Money/AUD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Australian dollars */ class AUD extends Money { diff --git a/src/Z38/SwissPayment/Money/BHD.php b/src/Z38/SwissPayment/Money/BHD.php index 11fa25c..4df5794 100644 --- a/src/Z38/SwissPayment/Money/BHD.php +++ b/src/Z38/SwissPayment/Money/BHD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Bahraini dinars */ class BHD extends Money { diff --git a/src/Z38/SwissPayment/Money/CAD.php b/src/Z38/SwissPayment/Money/CAD.php index 379aabf..f16d1f0 100644 --- a/src/Z38/SwissPayment/Money/CAD.php +++ b/src/Z38/SwissPayment/Money/CAD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Canadian dollars */ class CAD extends Money { diff --git a/src/Z38/SwissPayment/Money/CZK.php b/src/Z38/SwissPayment/Money/CZK.php index e96e90e..9b6fdc4 100644 --- a/src/Z38/SwissPayment/Money/CZK.php +++ b/src/Z38/SwissPayment/Money/CZK.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Czech koruna */ class CZK extends Money { diff --git a/src/Z38/SwissPayment/Money/DKK.php b/src/Z38/SwissPayment/Money/DKK.php index f97a192..103abfe 100644 --- a/src/Z38/SwissPayment/Money/DKK.php +++ b/src/Z38/SwissPayment/Money/DKK.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Danish kroner */ class DKK extends Money { diff --git a/src/Z38/SwissPayment/Money/HKD.php b/src/Z38/SwissPayment/Money/HKD.php index 4fb40dc..914a416 100644 --- a/src/Z38/SwissPayment/Money/HKD.php +++ b/src/Z38/SwissPayment/Money/HKD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Hong Kong dollars */ class HKD extends Money { diff --git a/src/Z38/SwissPayment/Money/HUF.php b/src/Z38/SwissPayment/Money/HUF.php index 379ac88..fe8d05f 100644 --- a/src/Z38/SwissPayment/Money/HUF.php +++ b/src/Z38/SwissPayment/Money/HUF.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Hungarian forint */ class HUF extends Money { diff --git a/src/Z38/SwissPayment/Money/ILS.php b/src/Z38/SwissPayment/Money/ILS.php index dfb9679..8498a52 100644 --- a/src/Z38/SwissPayment/Money/ILS.php +++ b/src/Z38/SwissPayment/Money/ILS.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Israeli shekels */ class ILS extends Money { diff --git a/src/Z38/SwissPayment/Money/KWD.php b/src/Z38/SwissPayment/Money/KWD.php index 0fcbe81..17cf9db 100644 --- a/src/Z38/SwissPayment/Money/KWD.php +++ b/src/Z38/SwissPayment/Money/KWD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Kuwaiti dinars */ class KWD extends Money { diff --git a/src/Z38/SwissPayment/Money/MAD.php b/src/Z38/SwissPayment/Money/MAD.php index f9af9ee..ac78fa9 100644 --- a/src/Z38/SwissPayment/Money/MAD.php +++ b/src/Z38/SwissPayment/Money/MAD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Moroccan dirhams */ class MAD extends Money { diff --git a/src/Z38/SwissPayment/Money/MXN.php b/src/Z38/SwissPayment/Money/MXN.php index 28ec5bf..a9297a3 100644 --- a/src/Z38/SwissPayment/Money/MXN.php +++ b/src/Z38/SwissPayment/Money/MXN.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Mexican pesos */ class MXN extends Money { diff --git a/src/Z38/SwissPayment/Money/NOK.php b/src/Z38/SwissPayment/Money/NOK.php index 65dd8d6..c49e0c9 100644 --- a/src/Z38/SwissPayment/Money/NOK.php +++ b/src/Z38/SwissPayment/Money/NOK.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Norwegian kroner */ class NOK extends Money { diff --git a/src/Z38/SwissPayment/Money/NZD.php b/src/Z38/SwissPayment/Money/NZD.php index 75656c5..c677045 100644 --- a/src/Z38/SwissPayment/Money/NZD.php +++ b/src/Z38/SwissPayment/Money/NZD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in New Zealand dollars */ class NZD extends Money { diff --git a/src/Z38/SwissPayment/Money/PLN.php b/src/Z38/SwissPayment/Money/PLN.php index 604bf04..75af30c 100644 --- a/src/Z38/SwissPayment/Money/PLN.php +++ b/src/Z38/SwissPayment/Money/PLN.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Polish złoty */ class PLN extends Money { diff --git a/src/Z38/SwissPayment/Money/RUB.php b/src/Z38/SwissPayment/Money/RUB.php index ea73238..a00764d 100644 --- a/src/Z38/SwissPayment/Money/RUB.php +++ b/src/Z38/SwissPayment/Money/RUB.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Russian rubles */ class RUB extends Money { diff --git a/src/Z38/SwissPayment/Money/SEK.php b/src/Z38/SwissPayment/Money/SEK.php index 82da360..7a28f5e 100644 --- a/src/Z38/SwissPayment/Money/SEK.php +++ b/src/Z38/SwissPayment/Money/SEK.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Swedish kronor */ class SEK extends Money { diff --git a/src/Z38/SwissPayment/Money/SGD.php b/src/Z38/SwissPayment/Money/SGD.php index 6a2d17c..b94076e 100644 --- a/src/Z38/SwissPayment/Money/SGD.php +++ b/src/Z38/SwissPayment/Money/SGD.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in Singapore dollars */ class SGD extends Money { diff --git a/src/Z38/SwissPayment/Money/ZAR.php b/src/Z38/SwissPayment/Money/ZAR.php index 5f3011d..01c4be8 100644 --- a/src/Z38/SwissPayment/Money/ZAR.php +++ b/src/Z38/SwissPayment/Money/ZAR.php @@ -3,7 +3,7 @@ namespace Z38\SwissPayment\Money; /** - * Sum of money in Swiss francs + * Sum of money in South African rand */ class ZAR extends Money {