Passed
Push — master ( b8e26c...2f113f )
by Remco
05:42
created

Methods::transform()   A

Complexity

Conditions 5
Paths 5

Size

Total Lines 12
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 11
dl 0
loc 12
rs 9.6111
c 0
b 0
f 0
cc 5
nc 5
nop 1
1
<?php
2
/**
3
 * Methods
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2018 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay\Gateways\OmniKassa2
9
 */
10
11
namespace Pronamic\WordPress\Pay\Gateways\OmniKassa2;
12
13
/**
14
 * Methods
15
 *
16
 * @author  Remco Tolsma
17
 * @version 2.0.2
18
 * @since   1.0.0
19
 */
20
class Methods {
21
	/**
22
	 * Constant for the Bancontact method.
23
	 *
24
	 * @var string
25
	 */
26
	const BANCONTACT = PaymentBrands::BANCONTACT;
27
28
	/**
29
	 * Constant for the CreditCard method.
30
	 *
31
	 * Dutch: De waarde CARDS zorgt ervoor dat de consument
32
	 * kan kiezen uit de betaalmethoden: MASTERCARD, VISA,
33
	 * BANCONTACT, MAESTRO en V_PAY.
34
	 *
35
	 * @var string
36
	 */
37
	const CREDIT_CARD = PaymentBrands::CARDS;
38
39
	/**
40
	 * Constant for the iDEAL payment method.
41
	 *
42
	 * @var string
43
	 */
44
	const IDEAL = PaymentBrands::IDEAL;
45
46
	/**
47
	 * Constant for the PayPal payment method.
48
	 *
49
	 * @var string
50
	 */
51
	const PAYPAL = PaymentBrands::PAYPAL;
52
}
53