1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Genkgo\Camt\DTO; |
4
|
|
|
|
5
|
|
|
use DateTimeImmutable; |
6
|
|
|
|
7
|
|
|
class PersonIdentification extends Identification |
8
|
|
|
{ |
9
|
|
|
/** |
10
|
|
|
* @var string|null |
11
|
|
|
*/ |
12
|
|
|
private $driversLicenseNumber; |
13
|
|
|
|
14
|
|
|
/** |
15
|
|
|
* @var string|null |
16
|
|
|
*/ |
17
|
|
|
private $customerNumber; |
18
|
|
|
|
19
|
|
|
/** |
20
|
|
|
* @var string|null |
21
|
|
|
*/ |
22
|
|
|
private $socialSecurityNumber; |
23
|
|
|
|
24
|
|
|
/** |
25
|
|
|
* @var string|null |
26
|
|
|
*/ |
27
|
|
|
private $alienRegistrationNumber; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* @var string|null |
31
|
|
|
*/ |
32
|
|
|
private $passportNumber; |
33
|
|
|
|
34
|
|
|
/** |
35
|
|
|
* @var string|null |
36
|
|
|
*/ |
37
|
|
|
private $taxId; |
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @var string|null |
41
|
|
|
*/ |
42
|
|
|
private $idCardNumber; |
43
|
|
|
|
44
|
|
|
/** |
45
|
|
|
* @var string|null |
46
|
|
|
*/ |
47
|
|
|
private $employerId; |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @var string|null |
51
|
|
|
*/ |
52
|
|
|
private $issuer; |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @var DateTimeImmutable|null |
56
|
|
|
*/ |
57
|
|
|
private $birthDate; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @var string|null |
61
|
|
|
*/ |
62
|
|
|
private $provinceOfBirth; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* @var string|null |
66
|
|
|
*/ |
67
|
|
|
private $cityOfBirth; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @var string|null |
71
|
|
|
*/ |
72
|
|
|
private $countryOfBirth; |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @var string|null |
76
|
|
|
*/ |
77
|
|
|
private $otherIdentification; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @var string|null |
81
|
|
|
*/ |
82
|
|
|
private $otherIdentificationType; |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* @var string|null |
86
|
|
|
*/ |
87
|
|
|
private $otherIdentificationSchemeName; |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @var string|null |
91
|
|
|
*/ |
92
|
|
|
private $otherIdentificationIssuer; |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* @return string|null |
96
|
|
|
*/ |
97
|
|
|
public function getDriversLicenseNumber() |
98
|
|
|
{ |
99
|
|
|
return $this->driversLicenseNumber; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @param string $driversLicenseNumber |
104
|
|
|
*/ |
105
|
|
|
public function setDriversLicenseNumber($driversLicenseNumber) |
106
|
|
|
{ |
107
|
|
|
$this->driversLicenseNumber = $driversLicenseNumber; |
108
|
|
|
$this->identification = $driversLicenseNumber; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
/** |
112
|
|
|
* @return string|null |
113
|
|
|
*/ |
114
|
|
|
public function getCustomerNumber() |
115
|
|
|
{ |
116
|
|
|
return $this->customerNumber; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @param string $customerNumber |
121
|
|
|
*/ |
122
|
|
|
public function setCustomerNumber($customerNumber) |
123
|
|
|
{ |
124
|
|
|
$this->customerNumber = $customerNumber; |
125
|
|
|
$this->identification = $customerNumber; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @return string|null |
130
|
|
|
*/ |
131
|
|
|
public function getSocialSecurityNumber() |
132
|
|
|
{ |
133
|
|
|
return $this->socialSecurityNumber; |
134
|
|
|
} |
135
|
|
|
|
136
|
|
|
/** |
137
|
|
|
* @param string $socialSecurityNumber |
138
|
|
|
*/ |
139
|
|
|
public function setSocialSecurityNumber($socialSecurityNumber) |
140
|
|
|
{ |
141
|
|
|
$this->socialSecurityNumber = $socialSecurityNumber; |
142
|
|
|
$this->identification = $socialSecurityNumber; |
143
|
|
|
} |
144
|
|
|
|
145
|
|
|
/** |
146
|
|
|
* @return string|null |
147
|
|
|
*/ |
148
|
|
|
public function getAlienRegistrationNumber() |
149
|
|
|
{ |
150
|
|
|
return $this->alienRegistrationNumber; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* @param string $alienRegistrationNumber |
155
|
|
|
*/ |
156
|
|
|
public function setAlienRegistrationNumber($alienRegistrationNumber) |
157
|
|
|
{ |
158
|
|
|
$this->alienRegistrationNumber = $alienRegistrationNumber; |
159
|
|
|
$this->identification = $alienRegistrationNumber; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* @return string|null |
164
|
|
|
*/ |
165
|
|
|
public function getPassportNumber() |
166
|
|
|
{ |
167
|
|
|
return $this->passportNumber; |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
/** |
171
|
|
|
* @param string $passportNumber |
172
|
|
|
*/ |
173
|
|
|
public function setPassportNumber($passportNumber) |
174
|
|
|
{ |
175
|
|
|
$this->passportNumber = $passportNumber; |
176
|
|
|
$this->identification = $passportNumber; |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @return string|null |
181
|
|
|
*/ |
182
|
|
|
public function getTaxId() |
183
|
|
|
{ |
184
|
|
|
return $this->taxId; |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
/** |
188
|
|
|
* @param string $taxId |
189
|
|
|
*/ |
190
|
|
|
public function setTaxId($taxId) |
191
|
|
|
{ |
192
|
|
|
$this->taxId = $taxId; |
193
|
|
|
$this->identification = $taxId; |
194
|
|
|
} |
195
|
|
|
|
196
|
|
|
/** |
197
|
|
|
* @return string|null |
198
|
|
|
*/ |
199
|
|
|
public function getIdCardNumber() |
200
|
|
|
{ |
201
|
|
|
return $this->idCardNumber; |
202
|
|
|
} |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @param string $idCardNumber |
206
|
|
|
*/ |
207
|
|
|
public function setIdCardNumber($idCardNumber) |
208
|
|
|
{ |
209
|
|
|
$this->idCardNumber = $idCardNumber; |
210
|
|
|
$this->identification = $idCardNumber; |
211
|
|
|
} |
212
|
|
|
|
213
|
|
|
/** |
214
|
|
|
* @return string|null |
215
|
|
|
*/ |
216
|
|
|
public function getEmployerId() |
217
|
|
|
{ |
218
|
|
|
return $this->employerId; |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* @param string $employerId |
223
|
|
|
*/ |
224
|
|
|
public function setEmployerId($employerId) |
225
|
|
|
{ |
226
|
|
|
$this->employerId = $employerId; |
227
|
|
|
$this->identification = $employerId; |
228
|
|
|
} |
229
|
|
|
|
230
|
|
|
/** |
231
|
|
|
* @return string|null |
232
|
|
|
*/ |
233
|
|
|
public function getIssuer() |
234
|
|
|
{ |
235
|
|
|
return $this->issuer; |
236
|
|
|
} |
237
|
|
|
|
238
|
|
|
/** |
239
|
|
|
* @param string $issuer |
240
|
|
|
*/ |
241
|
|
|
public function setIssuer($issuer) |
242
|
|
|
{ |
243
|
|
|
$this->issuer = $issuer; |
244
|
|
|
$this->identification = $issuer; |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
/** |
248
|
|
|
* @return DateTimeImmutable|null |
249
|
|
|
*/ |
250
|
|
|
public function getBirthDate() |
251
|
|
|
{ |
252
|
|
|
return $this->birthDate; |
253
|
|
|
} |
254
|
|
|
|
255
|
|
|
/** |
256
|
|
|
* @param DateTimeImmutable $birthDate |
257
|
|
|
*/ |
258
|
|
|
public function setBirthDate(DateTimeImmutable $birthDate) |
259
|
|
|
{ |
260
|
|
|
$this->birthDate = $birthDate; |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
/** |
264
|
|
|
* @return string|null |
265
|
|
|
*/ |
266
|
|
|
public function getProvinceOfBirth() |
267
|
|
|
{ |
268
|
|
|
return $this->provinceOfBirth; |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @param string $provinceOfBirth |
273
|
|
|
*/ |
274
|
|
|
public function setProvinceOfBirth($provinceOfBirth) |
275
|
|
|
{ |
276
|
|
|
$this->provinceOfBirth = $provinceOfBirth; |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
/** |
280
|
|
|
* @return string|null |
281
|
|
|
*/ |
282
|
|
|
public function getCityOfBirth() |
283
|
|
|
{ |
284
|
|
|
return $this->cityOfBirth; |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* @param string $cityOfBirth |
289
|
|
|
*/ |
290
|
|
|
public function setCityOfBirth($cityOfBirth) |
291
|
|
|
{ |
292
|
|
|
$this->cityOfBirth = $cityOfBirth; |
293
|
|
|
} |
294
|
|
|
|
295
|
|
|
/** |
296
|
|
|
* @return string|null |
297
|
|
|
*/ |
298
|
|
|
public function getCountryOfBirth() |
299
|
|
|
{ |
300
|
|
|
return $this->countryOfBirth; |
301
|
|
|
} |
302
|
|
|
|
303
|
|
|
/** |
304
|
|
|
* @param string $countryOfBirth |
305
|
|
|
*/ |
306
|
|
|
public function setCountryOfBirth($countryOfBirth) |
307
|
|
|
{ |
308
|
|
|
$this->countryOfBirth = $countryOfBirth; |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
/** |
312
|
|
|
* @return string|null |
313
|
|
|
*/ |
314
|
|
|
public function getOtherIdentification() |
315
|
|
|
{ |
316
|
|
|
return $this->otherIdentification; |
317
|
|
|
} |
318
|
|
|
|
319
|
|
|
/** |
320
|
|
|
* @param string $otherIdentification |
321
|
|
|
*/ |
322
|
|
|
public function setOtherIdentification($otherIdentification) |
323
|
|
|
{ |
324
|
|
|
$this->otherIdentification = $otherIdentification; |
325
|
|
|
$this->identification = $otherIdentification; |
326
|
|
|
} |
327
|
|
|
|
328
|
|
|
/** |
329
|
|
|
* @return string|null |
330
|
|
|
*/ |
331
|
|
|
public function getOtherIdentificationType() |
332
|
|
|
{ |
333
|
|
|
return $this->otherIdentificationType; |
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
/** |
337
|
|
|
* @param string $otherIdentificationType |
338
|
|
|
*/ |
339
|
|
|
public function setOtherIdentificationType($otherIdentificationType) |
340
|
|
|
{ |
341
|
|
|
$this->otherIdentificationType = $otherIdentificationType; |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* @return string|null |
346
|
|
|
*/ |
347
|
|
|
public function getOtherIdentificationSchemeName() |
348
|
|
|
{ |
349
|
|
|
return $this->otherIdentificationSchemeName; |
350
|
|
|
} |
351
|
|
|
|
352
|
|
|
/** |
353
|
|
|
* @param string $otherIdentificationSchemeName |
354
|
|
|
*/ |
355
|
|
|
public function setOtherIdentificationSchemeName($otherIdentificationSchemeName) |
356
|
|
|
{ |
357
|
|
|
$this->otherIdentificationSchemeName = $otherIdentificationSchemeName; |
358
|
|
|
} |
359
|
|
|
|
360
|
|
|
/** |
361
|
|
|
* @return string|null |
362
|
|
|
*/ |
363
|
|
|
public function getOtherIdentificationIssuer() |
364
|
|
|
{ |
365
|
|
|
return $this->otherIdentificationIssuer; |
366
|
|
|
} |
367
|
|
|
|
368
|
|
|
/** |
369
|
|
|
* @param string $otherIdentificationIssuer |
370
|
|
|
*/ |
371
|
|
|
public function setOtherIdentificationIssuer($otherIdentificationIssuer) |
372
|
|
|
{ |
373
|
|
|
$this->otherIdentificationIssuer = $otherIdentificationIssuer; |
374
|
|
|
} |
375
|
|
|
} |
376
|
|
|
|