Skip to content

Commit d70af2c

Browse files
authored
Merge pull request #196 from paynl/feature/PLUG-5209
PLUG-5209 - Add Keuze Cadeau
2 parents d3dad7a + 52710c8 commit d70af2c

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

assets/logos/447.png

13.7 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
3+
/**
4+
* @phpcs:disable PSR1.Classes.ClassDeclaration.MissingNamespace
5+
* @phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6+
* @phpcs:disable PSR1.Methods.CamelCapsMethodName
7+
*/
8+
9+
class PPMFWC_Gateway_KeuzeCadeau extends PPMFWC_Gateway_Abstract
10+
{
11+
/**
12+
* @return string
13+
*/
14+
public static function getId()
15+
{
16+
return 'pay_gateway_keuzecadeau';
17+
}
18+
19+
/**
20+
* @return string
21+
*/
22+
public static function getName()
23+
{
24+
return 'Keuze Cadeau';
25+
}
26+
27+
/**
28+
* @return integer
29+
*/
30+
public static function getOptionId()
31+
{
32+
return 4917;
33+
}
34+
}

includes/classes/PPMFWC/Gateways.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
124124
'PPMFWC_Gateway_In3business',
125125
'PPMFWC_Gateway_Incasso',
126126
'PPMFWC_Gateway_Instore',
127+
'PPMFWC_Gateway_KeuzeCadeau',
127128
'PPMFWC_Gateway_Kidsorteen',
128129
'PPMFWC_Gateway_Klarna',
129130
'PPMFWC_Gateway_Klarnakp',

0 commit comments

Comments
 (0)