1 | <?php |
||
24 | class Customer { |
||
25 | |||
26 | use CardTrait; |
||
27 | use CustomerTrait; |
||
28 | |||
29 | /** |
||
30 | * Accounting number |
||
31 | * |
||
32 | * @var string|null |
||
33 | */ |
||
34 | private $accountingNumber; |
||
35 | |||
36 | /** |
||
37 | * Begin date. |
||
38 | * |
||
39 | * @var DateTime|null |
||
40 | */ |
||
41 | private $beginDate; |
||
42 | |||
43 | /** |
||
44 | * City. |
||
45 | * |
||
46 | * @var string|null |
||
47 | */ |
||
48 | private $city; |
||
49 | |||
50 | /** |
||
51 | * Counting of neutral cards. |
||
52 | * |
||
53 | * @var bool|null |
||
54 | */ |
||
55 | private $countingNeutralCards; |
||
56 | |||
57 | /** |
||
58 | * Country. |
||
59 | * |
||
60 | * @var string|null |
||
61 | */ |
||
62 | private $country; |
||
63 | |||
64 | /** |
||
65 | * Deposit. |
||
66 | * |
||
67 | * @var int|null |
||
68 | */ |
||
69 | private $deposit; |
||
70 | |||
71 | /** |
||
72 | * Entry during max. level allowed. |
||
73 | * |
||
74 | * @var bool|null |
||
75 | */ |
||
76 | private $entryMaxLevelAllowed; |
||
77 | |||
78 | /** |
||
79 | * ID document no. |
||
80 | * |
||
81 | * @var string|null |
||
82 | */ |
||
83 | private $idDocumentNo; |
||
84 | |||
85 | /** |
||
86 | * Max. level per car park. |
||
87 | * |
||
88 | * @var bool|null |
||
89 | */ |
||
90 | private $maxLevelCarPark; |
||
91 | |||
92 | /** |
||
93 | * Maximum level. |
||
94 | * |
||
95 | * @var int|null |
||
96 | */ |
||
97 | private $maximumLevel; |
||
98 | |||
99 | /** |
||
100 | * Natinality. |
||
101 | * |
||
102 | * @var string|null |
||
103 | */ |
||
104 | private $nationality; |
||
105 | |||
106 | /** |
||
107 | * PCode. |
||
108 | * |
||
109 | * @var string|null |
||
110 | */ |
||
111 | private $pCode; |
||
112 | |||
113 | /** |
||
114 | * Rental agreement no. |
||
115 | * |
||
116 | * @var string|null |
||
117 | */ |
||
118 | private $rentalAgreementNo; |
||
119 | |||
120 | /** |
||
121 | * Street. |
||
122 | * |
||
123 | * @var string|null |
||
124 | */ |
||
125 | private $street; |
||
126 | |||
127 | /** |
||
128 | * Tax code. |
||
129 | * |
||
130 | * @var string|null |
||
131 | */ |
||
132 | private $taxCode; |
||
133 | |||
134 | /** |
||
135 | * Telephone. |
||
136 | * |
||
137 | * @var string|null |
||
138 | */ |
||
139 | private $telephone; |
||
140 | |||
141 | /** |
||
142 | * Termination date. |
||
143 | * |
||
144 | * @var DateTime|null |
||
145 | */ |
||
146 | private $terminationDate; |
||
147 | |||
148 | /** |
||
149 | * Ticket return allowed. |
||
150 | * |
||
151 | * @var bool|null |
||
152 | */ |
||
153 | private $ticketReturnAllowed; |
||
154 | |||
155 | /** |
||
156 | * Constructor. |
||
157 | */ |
||
158 | public function __construct() { |
||
161 | |||
162 | /** |
||
163 | * Get the accounting number. |
||
164 | * |
||
165 | * @return string|null Returns the accounting number. |
||
166 | */ |
||
167 | public function getAccountingNumber(): ?string { |
||
170 | |||
171 | /** |
||
172 | * Get the begin date. |
||
173 | * |
||
174 | * @return DateTime|null Returns the begin date. |
||
175 | */ |
||
176 | public function getBeginDate(): ?DateTime { |
||
179 | |||
180 | /** |
||
181 | * Get the city. |
||
182 | * |
||
183 | * @return string|null Returns the city. |
||
184 | */ |
||
185 | public function getCity(): ?string { |
||
188 | |||
189 | /** |
||
190 | * Get the counting neutral cards. |
||
191 | * |
||
192 | * @return bool|null Returns the counting neutral cards. |
||
193 | */ |
||
194 | public function getCountingNeutralCards(): ?bool { |
||
197 | |||
198 | /** |
||
199 | * Get the country. |
||
200 | * |
||
201 | * @return string|null Returns the country. |
||
202 | */ |
||
203 | public function getCountry(): ?string { |
||
206 | |||
207 | /** |
||
208 | * Get the deposit. |
||
209 | * |
||
210 | * @return int|null Returns the deposit. |
||
211 | */ |
||
212 | public function getDeposit(): ?int { |
||
215 | |||
216 | /** |
||
217 | * Get the entry during max. level allowed. |
||
218 | * |
||
219 | * @return bool|null Returns the entry during max. level allowed. |
||
220 | */ |
||
221 | public function getEntryMaxLevelAllowed(): ?bool { |
||
224 | |||
225 | /** |
||
226 | * Get the ID document no. |
||
227 | * |
||
228 | * @return string|null Returns the ID document no. |
||
229 | */ |
||
230 | public function getIdDocumentNo(): ?string { |
||
233 | |||
234 | /** |
||
235 | * Get the max level per car park. |
||
236 | * |
||
237 | * @return bool|null Returns the max level per car park. |
||
238 | */ |
||
239 | public function getMaxLevelCarPark(): ?bool { |
||
242 | |||
243 | /** |
||
244 | * Get the maximum level. |
||
245 | * |
||
246 | * @return int|null Returns the maximum level. |
||
247 | */ |
||
248 | public function getMaximumLevel(): ?int { |
||
251 | |||
252 | /** |
||
253 | * Get the nationality. |
||
254 | * |
||
255 | * @return string|null Returns the nationality. |
||
256 | */ |
||
257 | public function getNationality(): ?string { |
||
260 | |||
261 | /** |
||
262 | * Get the PCode. |
||
263 | * |
||
264 | * @return string|null Returns the PCode. |
||
265 | */ |
||
266 | public function getPCode(): ?string { |
||
269 | |||
270 | /** |
||
271 | * Get the rental agreement no. |
||
272 | * |
||
273 | * @return string|null Returns the rental agreement no. |
||
274 | */ |
||
275 | public function getRentalAgreementNo(): ?string { |
||
278 | |||
279 | /** |
||
280 | * Get the street. |
||
281 | * |
||
282 | * @return string|null Returns the street. |
||
283 | */ |
||
284 | public function getStreet(): ?string { |
||
287 | |||
288 | /** |
||
289 | * Get the tax code. |
||
290 | * |
||
291 | * @return string|null Returns the tax code. |
||
292 | */ |
||
293 | public function getTaxCode(): ?string { |
||
296 | |||
297 | /** |
||
298 | * Get the telephone. |
||
299 | * |
||
300 | * @return string|null Return the telephone. |
||
301 | */ |
||
302 | public function getTelephone(): ?string { |
||
305 | |||
306 | /** |
||
307 | * Get the termination date. |
||
308 | * |
||
309 | * @return DateTime|null Returns the termination date. |
||
310 | */ |
||
311 | public function getTerminationDate(): ?DateTime { |
||
314 | |||
315 | /** |
||
316 | * Get the ticket return allowed. |
||
317 | * |
||
318 | * @return bool|null Returns the ticket return allowed. |
||
319 | */ |
||
320 | public function getTicketReturnAllowed(): ?bool { |
||
323 | |||
324 | /** |
||
325 | * Set the accounting number. |
||
326 | * |
||
327 | * @param string|null $accountingNumber The accounting number. |
||
328 | * @return Customer Returns this customer. |
||
329 | */ |
||
330 | public function setAccountingNumber(?string $accountingNumber): Customer { |
||
334 | |||
335 | /** |
||
336 | * Set the begin date. |
||
337 | * |
||
338 | * @param DateTime|null $beginDate The begin date. |
||
339 | * @return Customer Returns this customer. |
||
340 | */ |
||
341 | public function setBeginDate(?DateTime $beginDate): Customer { |
||
345 | |||
346 | /** |
||
347 | * Set the city. |
||
348 | * |
||
349 | * @param string|null $city The city. |
||
350 | * @return Customer Returns this customer. |
||
351 | */ |
||
352 | public function setCity(?string $city): Customer { |
||
356 | |||
357 | /** |
||
358 | * Set the counting neutral cards. |
||
359 | * |
||
360 | * @param bool|null $countingNeutralCards The counting neutral cards. |
||
361 | * @return Customer Returns this customer. |
||
362 | */ |
||
363 | public function setCountingNeutralCards(?bool $countingNeutralCards): Customer { |
||
367 | |||
368 | /** |
||
369 | * Set the country. |
||
370 | * |
||
371 | * @param string|null $country The country. |
||
372 | * @return Customer Returns this customer. |
||
373 | */ |
||
374 | public function setCountry(?string $country): Customer { |
||
378 | |||
379 | /** |
||
380 | * Set the deposit. |
||
381 | * |
||
382 | * @param int|null $deposit The deposit. |
||
383 | * @return Customer Returns this customer. |
||
384 | */ |
||
385 | public function setDeposit(?int $deposit): Customer { |
||
389 | |||
390 | /** |
||
391 | * Set the entry during max level allowed. |
||
392 | * |
||
393 | * @param bool|null $entryMaxLevelAllowed The entry during max level allowed. |
||
394 | * @return Customer Returns this customer. |
||
395 | */ |
||
396 | public function setEntryMaxLevelAllowed(?bool $entryMaxLevelAllowed): Customer { |
||
400 | |||
401 | /** |
||
402 | * Set the ID document no. |
||
403 | * |
||
404 | * @param string|null $idDocumentNo The ID document no. |
||
405 | * @return Customer Returns this customer. |
||
406 | */ |
||
407 | public function setIdDocumentNo(?string $idDocumentNo): Customer { |
||
411 | |||
412 | /** |
||
413 | * Set the max level per car park. |
||
414 | * |
||
415 | * @param bool|null $maxLevelCarPark The max level per car park. |
||
416 | * @return Customer Returns this customer. |
||
417 | */ |
||
418 | public function setMaxLevelCarPark(?bool $maxLevelCarPark): Customer { |
||
422 | |||
423 | /** |
||
424 | * Set the maximum level. |
||
425 | * |
||
426 | * @param int|null $maximumLevel The maximum level. |
||
427 | * @return Customer Returns this customer. |
||
428 | */ |
||
429 | public function setMaximumLevel(?int $maximumLevel): Customer { |
||
433 | |||
434 | /** |
||
435 | * Set the nationality. |
||
436 | * |
||
437 | * @param string|null $nationality The nationality. |
||
438 | * @return Customer Returns this customer. |
||
439 | */ |
||
440 | public function setNationality(?string $nationality): Customer { |
||
444 | |||
445 | /** |
||
446 | * Set the PCode. |
||
447 | * |
||
448 | * @param string|null $pCode The PCode. |
||
449 | * @return Customer Returns this customer. |
||
450 | */ |
||
451 | public function setPCode(?string $pCode): Customer { |
||
455 | |||
456 | /** |
||
457 | * Set the rental agreements no. |
||
458 | * |
||
459 | * @param string|null $rentalAgreementNo The rental agreement no. |
||
460 | * @return Customer Returns this customer. |
||
461 | */ |
||
462 | public function setRentalAgreementNo(?string $rentalAgreementNo): Customer { |
||
466 | |||
467 | /** |
||
468 | * Set the street. |
||
469 | * |
||
470 | * @param string|null $street The street. |
||
471 | * @return Customer Returns this customer. |
||
472 | */ |
||
473 | public function setStreet(?string $street): Customer { |
||
477 | |||
478 | /** |
||
479 | * Set the tax code. |
||
480 | * |
||
481 | * @param string|null $taxCode The tax code. |
||
482 | * @return Customer Returns this customer. |
||
483 | */ |
||
484 | public function setTaxCode(?string $taxCode): Customer { |
||
488 | |||
489 | /** |
||
490 | * Set the telephone. |
||
491 | * |
||
492 | * @param string|null $telephone The telephone. |
||
493 | * @return Customer Returns this customer. |
||
494 | */ |
||
495 | public function setTelephone(?string $telephone): Customer { |
||
499 | |||
500 | /** |
||
501 | * Set the termination date. |
||
502 | * |
||
503 | * @param DateTime|null $terminationDate The termination date. |
||
504 | * @return Customer Returns this customer. |
||
505 | */ |
||
506 | public function setTerminationDate(?DateTime $terminationDate): Customer { |
||
510 | |||
511 | /** |
||
512 | * Set the ticket return allowed. |
||
513 | * |
||
514 | * @param bool|null $ticketReturnAllowed The ticket return allowed. |
||
515 | * @return Customer Returns this customer. |
||
516 | */ |
||
517 | public function setTicketReturnAllowed(?bool $ticketReturnAllowed): Customer { |
||
521 | } |
||
522 |