Failed Conditions
Push — master ( 67887f...098ff7 )
by Reüel
16:35 queued 06:59
created

Przelewy24Gateway   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 15
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A get_alias() 0 2 1
1
<?php
2
/**
3
 * Przelewy24 gateway
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2020 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay\Extensions\MemberPress
9
 */
10
11
namespace Pronamic\WordPress\Pay\Extensions\MemberPress\Gateways;
12
13
use Pronamic\WordPress\Pay\Core\PaymentMethods;
14
15
/**
16
 * WordPress pay MemberPress Przelewy24 gateway
17
 *
18
 * @author  Reüel van der Steege
19
 * @version 2.2.0
20
 * @since   2.2.0
21
 */
22
class Przelewy24Gateway extends Gateway {
23
	/**
24
	 * Payment method.
25
	 *
26
	 * @var string
27
	 */
28
	protected $payment_method = PaymentMethods::PRZELEWY24;
29
30
	/**
31
	 * Get alias class name of this gateway.
32
	 *
33
	 * @return string
34
	 */
35
	public function get_alias() {
36
		return 'MeprPrzelewy24Gateway';
37
	}
38
}
39