1 | <?php |
||
6 | class MobileCertificateResult implements ResultInterface |
||
7 | { |
||
8 | /** @var string response status */ |
||
9 | private $status; |
||
10 | |||
11 | /** @var string user's first name */ |
||
12 | private $name; |
||
13 | |||
14 | /** @var string user's last name */ |
||
15 | private $surname; |
||
16 | |||
17 | /** @var string user's personal code */ |
||
18 | private $code; |
||
19 | |||
20 | /** @var string user's country */ |
||
21 | private $country; |
||
22 | |||
23 | /** @var string user's signing certificate */ |
||
24 | private $signingCertificate; |
||
25 | |||
26 | /** @var string user's login certificate */ |
||
27 | private $authenticationCertificate; |
||
28 | |||
29 | /** |
||
30 | * Fields expected in response |
||
31 | * @return array |
||
32 | */ |
||
33 | 7 | public function getFields() |
|
45 | |||
46 | /** |
||
47 | * Gets the value of status. |
||
48 | * @return mixed |
||
49 | */ |
||
50 | 1 | public function getStatus() |
|
51 | { |
||
52 | 1 | return $this->status; |
|
53 | } |
||
54 | |||
55 | /** |
||
56 | * Sets the value of status. |
||
57 | * @param mixed $status the status |
||
58 | * @return void |
||
59 | */ |
||
60 | 1 | public function setStatus($status) |
|
61 | { |
||
62 | 1 | $this->status = $status; |
|
63 | 1 | } |
|
64 | |||
65 | /** |
||
66 | * Gets the value of name. |
||
67 | * @return mixed |
||
68 | */ |
||
69 | 1 | public function getName() |
|
70 | { |
||
71 | 1 | return $this->name; |
|
72 | } |
||
73 | |||
74 | /** |
||
75 | * Sets the value of name. |
||
76 | * @param mixed $name the name |
||
77 | * @return void |
||
78 | */ |
||
79 | 1 | public function setName($name) |
|
80 | { |
||
81 | 1 | $this->name = $name; |
|
82 | 1 | } |
|
83 | |||
84 | /** |
||
85 | * Gets the value of surname. |
||
86 | * @return mixed |
||
87 | */ |
||
88 | 1 | public function getSurname() |
|
92 | |||
93 | /** |
||
94 | * Sets the value of surname. |
||
95 | * @param mixed $surname the surname |
||
96 | * @return void |
||
97 | */ |
||
98 | 1 | public function setSurname($surname) |
|
99 | { |
||
100 | 1 | $this->surname = $surname; |
|
101 | 1 | } |
|
102 | |||
103 | /** |
||
104 | * Gets the value of code. |
||
105 | * @return mixed |
||
106 | */ |
||
107 | 1 | public function getCode() |
|
111 | |||
112 | /** |
||
113 | * Sets the value of code. |
||
114 | * @param mixed $code the code |
||
115 | * @return void |
||
116 | */ |
||
117 | 1 | public function setCode($code) |
|
118 | { |
||
119 | 1 | $this->code = $code; |
|
120 | 1 | } |
|
121 | |||
122 | /** |
||
123 | * Gets the value of country. |
||
124 | * @return mixed |
||
125 | */ |
||
126 | 1 | public function getCountry() |
|
127 | { |
||
128 | 1 | return $this->country; |
|
129 | } |
||
130 | |||
131 | /** |
||
132 | * Sets the value of country. |
||
133 | * @param mixed $country the country |
||
134 | * @return void |
||
135 | */ |
||
136 | 1 | public function setCountry($country) |
|
137 | { |
||
138 | 1 | $this->country = $country; |
|
139 | 1 | } |
|
140 | |||
141 | /** |
||
142 | * Gets the value of signingCertificate. |
||
143 | * @return mixed |
||
144 | */ |
||
145 | 1 | public function getSigningCertificate() |
|
149 | |||
150 | /** |
||
151 | * Sets the value of signingCertificate. |
||
152 | * @param mixed $signingCertificate the signing certificate |
||
153 | * @return void |
||
154 | */ |
||
155 | 1 | public function setSigningCertificate($signingCertificate) |
|
156 | { |
||
157 | 1 | $this->signingCertificate = $signingCertificate; |
|
159 | |||
160 | /** |
||
161 | * Gets the value of authenticationCertificate. |
||
162 | * @return mixed |
||
163 | */ |
||
164 | 1 | public function getAuthenticationCertificate() |
|
168 | |||
169 | /** |
||
170 | * Sets the value of authenticationCertificate. |
||
171 | * @param mixed $authenticationCertificate the authentication certificate |
||
172 | * @return void |
||
173 | */ |
||
174 | 1 | public function setAuthenticationCertificate($authenticationCertificate) |
|
178 | } |
||
179 |