Skip to content

Commit d7ddeff

Browse files
authored
Merge pull request #203 from paynl/feature/PLUG-5373
PLUG-5373 - Add Stadspas Purmerend
2 parents 23652f8 + cfbbe7a commit d7ddeff

3 files changed

Lines changed: 36 additions & 0 deletions

File tree

assets/logos/452.png

3.74 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_StadspasPurmerend extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_stadspaspurmerend';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Stadspas Purmerend';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 5177;
34+
}
35+
}

includes/classes/PPMFWC/Gateways.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ private static function getAvailableWoocomStatus($default, $excludeStates = arra
171171
'PPMFWC_Gateway_SportsGiftCard',
172172
'PPMFWC_Gateway_Spraypay',
173173
'PPMFWC_Gateway_StadspasAmsterdam',
174+
'PPMFWC_Gateway_StadspasPurmerend',
174175
'PPMFWC_Gateway_Swish',
175176
'PPMFWC_Gateway_Tikkie',
176177
'PPMFWC_Gateway_Trustly',

0 commit comments

Comments
 (0)