File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,14 +18,20 @@ class PaymentsContext extends BluemContext
1818 public const PAYMENT_METHOD_PAYPAL = 'PayPal ' ;
1919 public const PAYMENT_METHOD_CREDITCARD = 'CreditCard ' ;
2020 public const PAYMENT_METHOD_SOFORT = 'Sofort ' ;
21+ public const PAYMENT_METHOD_SOFORT_DIGITAL_SERVICES = 'SofortDigitalServices ' ;
2122 public const PAYMENT_METHOD_CARTE_BANCAIRE = 'CarteBancaire ' ;
23+ public const PAYMENT_METHOD_BANCONTACT = 'Bancontact ' ;
24+ public const PAYMENT_METHOD_GIROPAY = 'Giropay ' ;
2225
2326 public const PAYMENT_METHODS = [
2427 self ::PAYMENT_METHOD_IDEAL ,
2528 self ::PAYMENT_METHOD_PAYPAL ,
2629 self ::PAYMENT_METHOD_CREDITCARD ,
2730 self ::PAYMENT_METHOD_SOFORT ,
28- self ::PAYMENT_METHOD_CARTE_BANCAIRE
31+ self ::PAYMENT_METHOD_SOFORT_DIGITAL_SERVICES ,
32+ self ::PAYMENT_METHOD_CARTE_BANCAIRE ,
33+ self ::PAYMENT_METHOD_BANCONTACT ,
34+ self ::PAYMENT_METHOD_GIROPAY ,
2935 ];
3036
3137 public string $ debtorWalletElementName = self ::PAYMENT_METHOD_IDEAL ;
Original file line number Diff line number Diff line change @@ -254,11 +254,29 @@ public function setPaymentMethodToSofort(): self
254254 return $ this ;
255255 }
256256
257+ public function setPaymentMethodToSofortDigitalServices (): self
258+ {
259+ $ this ->setPaymentMethod ($ this ->context ::PAYMENT_METHOD_SOFORT_DIGITAL_SERVICES );
260+ return $ this ;
261+ }
262+
257263 public function setPaymentMethodToCarteBancaire (): self
258264 {
259265 $ this ->setPaymentMethod ($ this ->context ::PAYMENT_METHOD_CARTE_BANCAIRE );
260266 return $ this ;
261267 }
268+
269+ public function setPaymentMethodToBancontact (): self
270+ {
271+ $ this ->setPaymentMethod ($ this ->context ::PAYMENT_METHOD_BANCONTACT );
272+ return $ this ;
273+ }
274+
275+ public function setPaymentMethodToGiropay (): self
276+ {
277+ $ this ->setPaymentMethod ($ this ->context ::PAYMENT_METHOD_GIROPAY );
278+ return $ this ;
279+ }
262280
263281 /**
264282 * @param mixed $dueDateTime
You can’t perform that action at this time.
0 commit comments