Issuer   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 85
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 10
c 0
b 0
f 0
dl 0
loc 85
ccs 0
cts 19
cp 0
rs 10
wmc 7

7 Methods

Rating   Name   Duplication   Size   Complexity  
A get_authentication_url() 0 2 1
A set_authentication_url() 0 2 1
A set_id() 0 2 1
A set_name() 0 2 1
A get_name() 0 2 1
A __construct() 0 1 1
A get_id() 0 2 1
1
<?php
2
/**
3
 * Issuer.
4
 *
5
 * @author    Pronamic <[email protected]>
6
 * @copyright 2005-2021 Pronamic
7
 * @license   GPL-3.0-or-later
8
 * @package   Pronamic\WordPress\Pay
9
 */
10
11
namespace Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3;
12
13
/**
14
 * Title: Issuer
15
 * Description:
16
 * Copyright: 2005-2021 Pronamic
17
 * Company: Pronamic
18
 *
19
 * @author  Remco Tolsma
20
 * @version 2.0.0
21
 */
22
class Issuer {
23
	/**
24
	 * ID of the issuer
25
	 *
26
	 * @var string|null
27
	 */
28
	private $id;
29
30
	/**
31
	 * Name of the issuer
32
	 *
33
	 * @var string|null
34
	 */
35
	private $name;
36
37
	/**
38
	 * Authentication URL
39
	 *
40
	 * @var string|null
41
	 */
42
	private $authentication_url;
43
44
	/**
45
	 * Constructs and initializes an issuer
46
	 *
47
	 * @return void
48
	 */
49
	public function __construct() {
50
	}
51
52
	/**
53
	 * Get the ID of this issuer
54
	 *
55
	 * @return string|null
56
	 */
57
	public function get_id() {
58
		return $this->id;
59
	}
60
61
	/**
62
	 * Set the ID of this issuer
63
	 *
64
	 * @param string|null $id Issuer ID.
65
	 * @return void
66
	 */
67
	public function set_id( $id ) {
68
		$this->id = $id;
69
	}
70
71
	/**
72
	 * Get the name of this issuer
73
	 *
74
	 * @return string|null
75
	 */
76
	public function get_name() {
77
		return $this->name;
78
	}
79
80
	/**
81
	 * Set the name of this issuer
82
	 *
83
	 * @param string|null $name Issuer name.
84
	 * @return void
85
	 */
86
	public function set_name( $name ) {
87
		$this->name = $name;
88
	}
89
90
	/**
91
	 * Get the name of this issuer
92
	 *
93
	 * @return string|null
94
	 */
95
	public function get_authentication_url() {
96
		return $this->authentication_url;
97
	}
98
99
	/**
100
	 * Set the name of this issuer
101
	 *
102
	 * @param string|null $authentication_url Authentication URL.
103
	 * @return void
104
	 */
105
	public function set_authentication_url( $authentication_url ) {
106
		$this->authentication_url = $authentication_url;
107
	}
108
}
109