Failed Conditions
Push — develop ( 846f99...b785b7 )
by Reüel
06:32
created

Config::get_certificates()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3;
4
5
use Pronamic\WordPress\Pay\Core\GatewayConfig;
6
7
/**
8
 * Title: iDEAL Advanced config
9
 * Description:
10
 * Copyright: 2005-2019 Pronamic
11
 * Company: Pronamic
12
 *
13
 * @author  Remco Tolsma
14
 * @version 2.0.0
15
 * @since   1.0.0
16
 */
17
class Config extends GatewayConfig {
18
	public $merchant_id;
19
20
	public $sub_id = 0;
21
22
	/**
23
	 * Payment server URL.
24
	 *
25
	 * @var string|null
26
	 */
27
	public $payment_server_url;
28
29
	public $private_key_password;
30
31
	public $private_key;
32
33
	public $private_certificate;
34
35
	public function get_payment_server_url() {
36
		return $this->payment_server_url;
37
	}
38
}
39