Skip to content

Commit db615ee

Browse files
authored
Merge pull request #197 from paynl/feature/PLUG-5210
PLUG-5210 - Add Doenkado
2 parents d70af2c + 70f6582 commit db615ee

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

assets/logos/285.png

4.99 KB
Loading
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing
8+
*/
9+
10+
class PPMFWC_Gateway_Doenkado extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_doenkado';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Doenkado';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 3132;
34+
}
35+
}

includes/classes/PPMFWC/Gateways.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
107107
'PPMFWC_Gateway_Dankort',
108108
'PPMFWC_Gateway_DeCadeaukaart',
109109
'PPMFWC_Gateway_Dinerbon',
110+
'PPMFWC_Gateway_Doenkado',
110111
'PPMFWC_Gateway_Eps',
111112
'PPMFWC_Gateway_Fashioncheque',
112113
'PPMFWC_Gateway_FashionChequeBeauty',

0 commit comments

Comments
 (0)