Skip to content

Commit 72afa29

Browse files
PLUG-4788 - Add payment methods v3
1 parent f8d4789 commit 72afa29

8 files changed

Lines changed: 140 additions & 0 deletions

File tree

assets/logos/408.png

2.71 KB
Loading

assets/logos/411.png

2.61 KB
Loading

assets/logos/414.png

5.04 KB
Loading

assets/logos/429.png

1.54 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 Babycadeaubon extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_babycadeaubon';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Babycadeaubon';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 4416;
34+
}
35+
}
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 FashionChequeBeauty extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_fashionchequebeauty';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Fashion cheque beauty';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 4428;
34+
}
35+
}
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_Sofort extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_sofort';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Sofort (by Klarna)';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 4761;
34+
}
35+
}
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_SportsGiftCard extends PPMFWC_Gateway_Abstract
11+
{
12+
/**
13+
* @return string
14+
*/
15+
public static function getId()
16+
{
17+
return 'pay_gateway_sportsgiftcard';
18+
}
19+
20+
/**
21+
* @return string
22+
*/
23+
public static function getName()
24+
{
25+
return 'Sports giftcard';
26+
}
27+
28+
/**
29+
* @return integer
30+
*/
31+
public static function getOptionId()
32+
{
33+
return 4422;
34+
}
35+
}

0 commit comments

Comments
 (0)