1 | <?php |
||
23 | class User { |
||
24 | |||
25 | use CustomerTrait; |
||
26 | |||
27 | /** |
||
28 | * Check licence plate. |
||
29 | * |
||
30 | * @var bool|null |
||
31 | */ |
||
32 | private $checkLicensePlate; |
||
33 | |||
34 | /** |
||
35 | * Credit card number. |
||
36 | * |
||
37 | * @var string|null |
||
38 | */ |
||
39 | private $creditCardNumber; |
||
40 | |||
41 | /** |
||
42 | * Date of birth. |
||
43 | * |
||
44 | * @var DateTime|null |
||
45 | */ |
||
46 | private $dateBirth; |
||
47 | |||
48 | /** |
||
49 | * E-ticket authentication. |
||
50 | * |
||
51 | * @var int|null |
||
52 | */ |
||
53 | private $eTicketAuthentication; |
||
54 | |||
55 | /** |
||
56 | * E-ticket email/telephone. |
||
57 | * |
||
58 | * @var string|null |
||
59 | */ |
||
60 | private $eTicketEmailTelephone; |
||
61 | |||
62 | /** |
||
63 | * E-ticket service art. |
||
64 | * |
||
65 | * @var int|null |
||
66 | */ |
||
67 | private $eTicketServiceArt; |
||
68 | |||
69 | /** |
||
70 | * E-ticket service typ. |
||
71 | * |
||
72 | * @var int|null |
||
73 | */ |
||
74 | private $eTicketServiceTyp; |
||
75 | |||
76 | /** |
||
77 | * E-ticket type p |
||
78 | * |
||
79 | * @var int|null |
||
80 | */ |
||
81 | private $eTicketTypeP; |
||
82 | |||
83 | /** |
||
84 | * Excess times with credit card. |
||
85 | * |
||
86 | * @var bool|null |
||
87 | */ |
||
88 | private $excessTimesCreditCard; |
||
89 | |||
90 | /** |
||
91 | * Expiry date. |
||
92 | * |
||
93 | * @var DateTime|null |
||
94 | */ |
||
95 | private $expiryDate; |
||
96 | |||
97 | /** |
||
98 | * Identification number. |
||
99 | * |
||
100 | * @var string|null |
||
101 | */ |
||
102 | private $identificationNumber; |
||
103 | |||
104 | /** |
||
105 | * Parking space. |
||
106 | * |
||
107 | * @var string|null |
||
108 | */ |
||
109 | private $parkingSpace; |
||
110 | |||
111 | /** |
||
112 | * Passage with license plate permitted |
||
113 | * |
||
114 | * @var bool|null |
||
115 | */ |
||
116 | private $passageLicensePlatePermitted; |
||
117 | |||
118 | /** |
||
119 | * User number. |
||
120 | * |
||
121 | * @var int|null |
||
122 | */ |
||
123 | private $userNumber; |
||
124 | |||
125 | /** |
||
126 | * Constructor. |
||
127 | */ |
||
128 | public function __construct() { |
||
131 | |||
132 | /** |
||
133 | * Get the check licence plate. |
||
134 | * |
||
135 | * @return bool|null Returns the check licence plate |
||
136 | */ |
||
137 | public function getCheckLicensePlate(): ?bool { |
||
140 | |||
141 | /** |
||
142 | * Get the credit card number. |
||
143 | * |
||
144 | * @return string|null Returns the credit card number. |
||
145 | */ |
||
146 | public function getCreditCardNumber(): ?string { |
||
149 | |||
150 | /** |
||
151 | * Get the date of birth. |
||
152 | * |
||
153 | * @return DateTime|null Returns the date of birth. |
||
154 | */ |
||
155 | public function getDateBirth(): ?DateTime { |
||
158 | |||
159 | /** |
||
160 | * Get the E-ticket authentication. |
||
161 | * |
||
162 | * @return int|null Returns the E-ticket authentication. |
||
163 | */ |
||
164 | public function getETicketAuthentication(): ?int { |
||
167 | |||
168 | /** |
||
169 | * Get the E-ticket email/telephone. |
||
170 | * |
||
171 | * @return string|null Returns the E-ticket email/telephone. |
||
172 | */ |
||
173 | public function getETicketEmailTelephone(): ?string { |
||
176 | |||
177 | /** |
||
178 | * Get the E-ticket service art. |
||
179 | * |
||
180 | * @return int|null Returns the E-ticket service art. |
||
181 | */ |
||
182 | public function getETicketServiceArt(): ?int { |
||
185 | |||
186 | /** |
||
187 | * Get the E-ticket service typ. |
||
188 | * |
||
189 | * @return int|null Returns the E-ticket service typ. |
||
190 | */ |
||
191 | public function getETicketServiceTyp(): ?int { |
||
194 | |||
195 | /** |
||
196 | * Get the E-ticket type p. |
||
197 | * |
||
198 | * @return int|null Returns the E-ticket type p. |
||
199 | */ |
||
200 | public function getETicketTypeP(): ?int { |
||
203 | |||
204 | /** |
||
205 | * Get the excess times with credit card. |
||
206 | * |
||
207 | * @return bool|null Returns the excess times with credit card. |
||
208 | */ |
||
209 | public function getExcessTimesCreditCard(): ?bool { |
||
212 | |||
213 | /** |
||
214 | * Get the expiry date. |
||
215 | * |
||
216 | * @return DateTime|null Returns the expiry date. |
||
217 | */ |
||
218 | public function getExpiryDate(): ?DateTime { |
||
221 | |||
222 | /** |
||
223 | * Get the identification number. |
||
224 | * |
||
225 | * @return string|null Returns the identification number. |
||
226 | */ |
||
227 | public function getIdentificationNumber(): ?string { |
||
230 | |||
231 | /** |
||
232 | * Get the parking space. |
||
233 | * |
||
234 | * @return string|null Returns the parking space. |
||
235 | */ |
||
236 | public function getParkingSpace(): ?string { |
||
239 | |||
240 | /** |
||
241 | * Get the passage with license plate permitted. |
||
242 | * |
||
243 | * @return bool|null Returns teh passage with license plate permitted. |
||
244 | */ |
||
245 | public function getPassageLicensePlatePermitted(): ?bool { |
||
248 | |||
249 | /** |
||
250 | * Get the user number. |
||
251 | * |
||
252 | * @return int|null Returns the user number. |
||
253 | */ |
||
254 | public function getUserNumber(): ?int { |
||
257 | |||
258 | /** |
||
259 | * Set the check with license plate. |
||
260 | * |
||
261 | * @param bool|null $checkLicensePlate The check with license plate. |
||
262 | * @return User Returns this user. |
||
263 | */ |
||
264 | public function setCheckLicensePlate(?bool $checkLicensePlate): User { |
||
268 | |||
269 | /** |
||
270 | * Set the credit card number. |
||
271 | * |
||
272 | * @param string|null $creditCardNumber The credit card number. |
||
273 | * @return User Returns this user. |
||
274 | */ |
||
275 | public function setCreditCardNumber(?string $creditCardNumber): User { |
||
279 | |||
280 | /** |
||
281 | * Set the date of birth. |
||
282 | * |
||
283 | * @param DateTime|null $dateBirth The date of birth. |
||
284 | * @return User Returns this user. |
||
285 | */ |
||
286 | public function setDateBirth(?DateTime $dateBirth): User { |
||
290 | |||
291 | /** |
||
292 | * Set the E-ticket authentication. |
||
293 | * |
||
294 | * @param int|null $eTicketAuthentication The E-ticket authentication. |
||
295 | * @return User Returns this user. |
||
296 | */ |
||
297 | public function setETicketAuthentication(?int $eTicketAuthentication): User { |
||
301 | |||
302 | /** |
||
303 | * Set the E-ticket email/telephone. |
||
304 | * |
||
305 | * @param string|null $eTicketEmailTelephone The E-ticket email/telephone. |
||
306 | * @return User Returns this user. |
||
307 | */ |
||
308 | public function setETicketEmailTelephone(?string $eTicketEmailTelephone): User { |
||
312 | |||
313 | /** |
||
314 | * Set the E-ticket service art. |
||
315 | * |
||
316 | * @param int|null $eTicketServiceArt The E-ticket service art. |
||
317 | * @return User Returns this user. |
||
318 | */ |
||
319 | public function setETicketServiceArt(?int $eTicketServiceArt): User { |
||
323 | |||
324 | /** |
||
325 | * Set the E-ticket service typ. |
||
326 | * |
||
327 | * @param int|null $eTicketServiceTyp The E-ticket service typ. |
||
328 | * @return User Returns this user. |
||
329 | */ |
||
330 | public function setETicketServiceTyp(?int $eTicketServiceTyp): User { |
||
334 | |||
335 | /** |
||
336 | * Set the E-ticket type p. |
||
337 | * |
||
338 | * @param int|null $eTicketTypeP The E-ticket type p. |
||
339 | * @return User Returns this user. |
||
340 | */ |
||
341 | public function setETicketTypeP(?int $eTicketTypeP): User { |
||
345 | |||
346 | /** |
||
347 | * Set the excess times with credit card. |
||
348 | * |
||
349 | * @param bool|null $excessTimesCreditCard The excess times with credit card. |
||
350 | * @return User Returns this user. |
||
351 | */ |
||
352 | public function setExcessTimesCreditCard(?bool $excessTimesCreditCard): User { |
||
356 | |||
357 | /** |
||
358 | * Set the expiry date. |
||
359 | * |
||
360 | * @param DateTime|null $expiryDate The expiry date. |
||
361 | * @return User Returns this user. |
||
362 | */ |
||
363 | public function setExpiryDate(?DateTime $expiryDate): User { |
||
367 | |||
368 | /** |
||
369 | * Set the identification number. |
||
370 | * |
||
371 | * @param string|null $identificationNumber The identification number. |
||
372 | * @return User Returns this user. |
||
373 | */ |
||
374 | public function setIdentificationNumber(?string $identificationNumber): User { |
||
378 | |||
379 | /** |
||
380 | * Set the parking space. |
||
381 | * |
||
382 | * @param string|null $parkingSpace The parking space. |
||
383 | * @return User Returns this user. |
||
384 | */ |
||
385 | public function setParkingSpace(?string $parkingSpace): User { |
||
389 | |||
390 | /** |
||
391 | * Set the passage with license plate permitted. |
||
392 | * |
||
393 | * @param bool|null $passageLicensePlatePermitted The passage with license plate permitted. |
||
394 | * @return User Returns this user. |
||
395 | */ |
||
396 | public function setPassageLicensePlatePermitted(?bool $passageLicensePlatePermitted): User { |
||
400 | |||
401 | /** |
||
402 | * Set the user number. |
||
403 | * |
||
404 | * @param int|null $userNumber The user number. |
||
405 | * @return User Returns this user. |
||
406 | */ |
||
407 | public function setUserNumber(?int $userNumber): User { |
||
411 | } |
||
412 |