From a638ebc14c144224f65c7d5887a8283fa5441446 Mon Sep 17 00:00:00 2001 From: Ron Dekker Date: Wed, 3 Jul 2024 10:24:11 +0200 Subject: [PATCH 1/6] Correct migration link in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e05b773d1..faa1275e3 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The easiest way to install the Mollie API client is by using [Composer](http://g composer require mollie/mollie-api-php ``` -To work with the most recent API version, ensure that you are using a version of this API client that is equal to or greater than 2.0.0. If you prefer to continue using the v1 API, make sure your client version is below 2.0.0. For guidance on transitioning from v1 to v2, please refer to the [migration notes](https://docs.mollie.com/migrating-v1-to-v2). +To work with the most recent API version, ensure that you are using a version of this API client that is equal to or greater than 2.0.0. If you prefer to continue using the v1 API, make sure your client version is below 2.0.0. For guidance on transitioning from v1 to v2, please refer to the [migration notes](https://docs.mollie.com/docs/migrating-from-v1-to-v2). ### Manual Installation ### If you're not familiar with using composer we've added a ZIP file to the releases containing the API client and all the packages normally installed by composer. From f51a875a87a3db70f3a9a7e3816b2609f0aa3230 Mon Sep 17 00:00:00 2001 From: Florian Bender Date: Wed, 3 Jul 2024 12:54:36 +0200 Subject: [PATCH 2/6] NTR: Add Trustly enum --- src/Types/PaymentMethod.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Types/PaymentMethod.php b/src/Types/PaymentMethod.php index fb0f430b1..479dd7cb1 100644 --- a/src/Types/PaymentMethod.php +++ b/src/Types/PaymentMethod.php @@ -70,6 +70,7 @@ class PaymentMethod public const GIFTCARD = "giftcard"; /** + * @deprecated * @link https://www.mollie.com/en/payments/giropay */ public const GIROPAY = "giropay"; @@ -157,6 +158,11 @@ class PaymentMethod */ public const RIVERTY = "riverty"; + /** + * @link https://www.mollie.com/en/payments/trustly + */ + public const TRUSTLY = "trustly"; + /** * @link https://www.mollie.com/en/payments/twint */ From 3400426bc3c97e1f23618e896d5bb454ac9803dd Mon Sep 17 00:00:00 2001 From: fjbender Date: Wed, 3 Jul 2024 10:55:03 +0000 Subject: [PATCH 3/6] Fix styling --- src/Types/PaymentMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types/PaymentMethod.php b/src/Types/PaymentMethod.php index 479dd7cb1..fa770953a 100644 --- a/src/Types/PaymentMethod.php +++ b/src/Types/PaymentMethod.php @@ -70,7 +70,7 @@ class PaymentMethod public const GIFTCARD = "giftcard"; /** - * @deprecated + * @deprecated * @link https://www.mollie.com/en/payments/giropay */ public const GIROPAY = "giropay"; From d52a1a2338eeced2f59b1f5a8d1742f6e979f451 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Wed, 3 Jul 2024 21:08:55 +0200 Subject: [PATCH 4/6] Added payconiq --- src/Types/PaymentMethod.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Types/PaymentMethod.php b/src/Types/PaymentMethod.php index fa770953a..a20652c86 100644 --- a/src/Types/PaymentMethod.php +++ b/src/Types/PaymentMethod.php @@ -122,6 +122,11 @@ class PaymentMethod */ public const MYBANK = "mybank"; + /** + * @link https://www.mollie.com/en/payments/payconiq + */ + public const PAYCONIQ = "payconiq"; + /** * @link https://www.mollie.com/en/payments/paypal */ From a825578aba98605db3f6b6bc5b86c196276dc3f9 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Wed, 3 Jul 2024 21:11:11 +0200 Subject: [PATCH 5/6] Updated version number --- src/MollieApiClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MollieApiClient.php b/src/MollieApiClient.php index 820d2fff4..68b9cecb9 100644 --- a/src/MollieApiClient.php +++ b/src/MollieApiClient.php @@ -50,7 +50,7 @@ class MollieApiClient /** * Version of our client. */ - public const CLIENT_VERSION = "2.69.0"; + public const CLIENT_VERSION = "2.70.0"; /** * Endpoint of the remote API. From 8119f1112f6fc4465656b5941ed756f2cb70ff45 Mon Sep 17 00:00:00 2001 From: RichardJong Date: Mon, 8 Jul 2024 16:16:25 +0200 Subject: [PATCH 6/6] Update MandateEndpoint.php Correctly specify parameter types --- src/Endpoints/MandateEndpoint.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Endpoints/MandateEndpoint.php b/src/Endpoints/MandateEndpoint.php index d6dee89f3..7e77c167a 100644 --- a/src/Endpoints/MandateEndpoint.php +++ b/src/Endpoints/MandateEndpoint.php @@ -122,8 +122,8 @@ public function iteratorFor(Customer $customer, ?string $from = null, ?int $limi /** * @param string $customerId - * @param null $from - * @param null $limit + * @param string|null $from + * @param int|null $limit * @param array $parameters * * @return \Mollie\Api\Resources\MandateCollection