Total Complexity | 7 |
Total Lines | 85 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
22 | class Merchant { |
||
23 | /** |
||
24 | * ID of the merchant |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $id; |
||
29 | |||
30 | /** |
||
31 | * Sub ID |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $sub_id; |
||
36 | |||
37 | /** |
||
38 | * Return URL |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | private $return_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 merchant |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function get_id() { |
||
58 | return $this->id; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * Set the ID of this merchant |
||
63 | * |
||
64 | * @param string $id Merchant ID. |
||
65 | * @return void |
||
66 | */ |
||
67 | public function set_id( $id ) { |
||
68 | $this->id = $id; |
||
69 | } |
||
70 | |||
71 | /** |
||
72 | * Get the ID of this merchant |
||
73 | * |
||
74 | * @return string |
||
75 | */ |
||
76 | public function get_sub_id() { |
||
78 | } |
||
79 | |||
80 | /** |
||
81 | * Set the ID of this merchant |
||
82 | * |
||
83 | * @param string $sub_id Sub ID. |
||
84 | * @return void |
||
85 | */ |
||
86 | public function set_sub_id( $sub_id ) { |
||
88 | } |
||
89 | |||
90 | /** |
||
91 | * Get the return URL of this merchant |
||
92 | * |
||
93 | * @return string |
||
94 | */ |
||
95 | public function get_return_url() { |
||
97 | } |
||
98 | |||
99 | /** |
||
100 | * Set the ID of this merchant |
||
101 | * |
||
102 | * @param string $return_url Return URL. |
||
103 | * @return void |
||
104 | */ |
||
105 | public function set_return_url( $return_url ) { |
||
109 |