Config::get_payment_server_url()   A
last analyzed

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\IDealBasic;
4
5
use Pronamic\WordPress\Pay\Core\GatewayConfig;
6
7
/**
8
 * Title: iDEAL Basic config
9
 * Description:
10
 * Copyright: 2005-2021 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 $url;
19
20
	public $merchant_id;
21
22
	public $sub_id;
23
24
	public $hash_key;
25
26
	public $purchase_id;
27
28
	public function get_payment_server_url() {
29
		return $this->url;
30
	}
31
}
32