From f51a875a87a3db70f3a9a7e3816b2609f0aa3230 Mon Sep 17 00:00:00 2001 From: Florian Bender Date: Wed, 3 Jul 2024 12:54:36 +0200 Subject: [PATCH 1/2] 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 fb0f430b..479dd7cb 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 2/2] 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 479dd7cb..fa770953 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";