Completed
Push — master ( eed8c4...bd454a )
by WEBEWEB
02:23
created

Customer::setMaximumLevel()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2018 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\ThirdParty\SkiData\Model;
13
14
use DateTime;
15
use WBW\Library\Core\ThirdParty\SkiData\Traits\CardTrait;
16
use WBW\Library\Core\ThirdParty\SkiData\Traits\CustomerTrait;
17
18
/**
19
 * Customer.
20
 *
21
 * @author webeweb <https://github.com/webeweb/>
22
 * @package WBW\Library\Core\ThirdParty\SkiData\Model
23
 */
24
class Customer {
25
26
    use CardTrait;
27
    use CustomerTrait;
28
29
    /**
30
     * Accounting number
31
     *
32
     * @var string
33
     */
34
    private $accountingNumber;
35
36
    /**
37
     * Begin date.
38
     *
39
     * @var DateTime
40
     */
41
    private $beginDate;
42
43
    /**
44
     * City.
45
     *
46
     * @var string
47
     */
48
    private $city;
49
50
    /**
51
     * Counting of neutral cards.
52
     *
53
     * @var bool
54
     */
55
    private $countingNeutralCards;
56
57
    /**
58
     * Country.
59
     *
60
     * @var string
61
     */
62
    private $country;
63
64
    /**
65
     * Deposit.
66
     *
67
     * @var int
68
     */
69
    private $deposit;
70
71
    /**
72
     * Entry during max. level allowed.
73
     *
74
     * @var bool
75
     */
76
    private $entryMaxLevelAllowed;
77
78
    /**
79
     * ID document no.
80
     *
81
     * @var string
82
     */
83
    private $idDocumentNo;
84
85
    /**
86
     * Max. level per car park.
87
     *
88
     * @var bool
89
     */
90
    private $maxLevelCarPark;
91
92
    /**
93
     * Maximum level.
94
     *
95
     * @var int
96
     */
97
    private $maximumLevel;
98
99
    /**
100
     * Natinality.
101
     *
102
     * @var string
103
     */
104
    private $nationality;
105
106
    /**
107
     * PCode.
108
     *
109
     * @var string
110
     */
111
    private $pCode;
112
113
    /**
114
     * Rental agreement no.
115
     *
116
     * @var string
117
     */
118
    private $rentalAgreementNo;
119
120
    /**
121
     * Street.
122
     *
123
     * @var string
124
     */
125
    private $street;
126
127
    /**
128
     * Tax code.
129
     *
130
     * @var string
131
     */
132
    private $taxCode;
133
134
    /**
135
     * Telephone.
136
     *
137
     * @var string
138
     */
139
    private $telephone;
140
141
    /**
142
     * Termination date.
143
     *
144
     * @var DateTime
145
     */
146
    private $terminationDate;
147
148
    /**
149
     * Ticket return allowed.
150
     *
151
     * @var bool
152
     */
153
    private $ticketReturnAllowed;
154
155
    /**
156
     * Constructor.
157
     */
158
    public function __construct() {
159
        // NOTHING TO DO.
160
    }
161
162
    /**
163
     * Get the accounting number.
164
     *
165
     * @return string Returns the accounting number.
166
     */
167
    public function getAccountingNumber() {
168
        return $this->accountingNumber;
169
    }
170
171
    /**
172
     * Get the begin date.
173
     *
174
     * @return DateTime Returns the begin date.
175
     */
176
    public function getBeginDate() {
177
        return $this->beginDate;
178
    }
179
180
    /**
181
     * Get the city.
182
     *
183
     * @return string Returns the city.
184
     */
185
    public function getCity() {
186
        return $this->city;
187
    }
188
189
    /**
190
     * Get the couting neutral cards.
191
     *
192
     * @return bool Returns the couting neutral cards.
193
     */
194
    public function getCountingNeutralCards() {
195
        return $this->countingNeutralCards;
196
    }
197
198
    /**
199
     * Get the country.
200
     *
201
     * @return string Returns the country.
202
     */
203
    public function getCountry() {
204
        return $this->country;
205
    }
206
207
    /**
208
     * Get the deposit.
209
     *
210
     * @return int Returns the deposit.
211
     */
212
    public function getDeposit() {
213
        return $this->deposit;
214
    }
215
216
    /**
217
     * Get the entry during max. level allowed.
218
     *
219
     * @return bool Returns the entry during max. level allowed.
220
     */
221
    public function getEntryMaxLevelAllowed() {
222
        return $this->entryMaxLevelAllowed;
223
    }
224
225
    /**
226
     * Get the ID document no.
227
     *
228
     * @return string Returns the ID document no.
229
     */
230
    public function getIdDocumentNo() {
231
        return $this->idDocumentNo;
232
    }
233
234
    /**
235
     * Get the max level per car park.
236
     *
237
     * @return bool Returns the max level per car park.
238
     */
239
    public function getMaxLevelCarPark() {
240
        return $this->maxLevelCarPark;
241
    }
242
243
    /**
244
     * Get the maximum level.
245
     *
246
     * @return int Returns the maximum level.
247
     */
248
    public function getMaximumLevel() {
249
        return $this->maximumLevel;
250
    }
251
252
    /**
253
     * Get the nationality.
254
     *
255
     * @return string Returns the nationality.
256
     */
257
    public function getNationality() {
258
        return $this->nationality;
259
    }
260
261
    /**
262
     * Get the PCode.
263
     *
264
     * @return string Returns the PCode.
265
     */
266
    public function getPCode() {
267
        return $this->pCode;
268
    }
269
270
    /**
271
     * Get the rental aggreement no.
272
     *
273
     * @return string Returns the rental agreement no.
274
     */
275
    public function getRentalAgreementNo() {
276
        return $this->rentalAgreementNo;
277
    }
278
279
    /**
280
     * Get the street.
281
     *
282
     * @return string Returns the street.
283
     */
284
    public function getStreet() {
285
        return $this->street;
286
    }
287
288
    /**
289
     * Get the tax code.
290
     *
291
     * @return string Returns the tax code.
292
     */
293
    public function getTaxCode() {
294
        return $this->taxCode;
295
    }
296
297
    /**
298
     * Get the telephone.
299
     *
300
     * @return string Return the telephone.
301
     */
302
    public function getTelephone() {
303
        return $this->telephone;
304
    }
305
306
    /**
307
     * Get the termination date.
308
     *
309
     * @return DateTime Returns the termination date.
310
     */
311
    public function getTerminationDate() {
312
        return $this->terminationDate;
313
    }
314
315
    /**
316
     * Get the ticket return allowed.
317
     *
318
     * @return bool Returns the ticket return allowed.
319
     */
320
    public function getTicketReturnAllowed() {
321
        return $this->ticketReturnAllowed;
322
    }
323
324
    /**
325
     * Set the accounting number.
326
     *
327
     * @param string $accountingNumber The accounting number.
328
     * @return Customer Returns this customer entity.
329
     */
330
    public function setAccountingNumber($accountingNumber) {
331
        $this->accountingNumber = $accountingNumber;
332
        return $this;
333
    }
334
335
    /**
336
     * Set the begin date.
337
     *
338
     * @param DateTime $beginDate The begin date.
339
     * @return Customer Returns this customer entity.
340
     */
341
    public function setBeginDate(DateTime $beginDate = null) {
342
        $this->beginDate = $beginDate;
343
        return $this;
344
    }
345
346
    /**
347
     * Set the city.
348
     *
349
     * @param string $city The city.
350
     * @return Customer Returns this customer entity.
351
     */
352
    public function setCity($city) {
353
        $this->city = $city;
354
        return $this;
355
    }
356
357
    /**
358
     * Set the couting neutral cards.
359
     *
360
     * @param bool $countingNeutralCards The couting neutral cards.
361
     * @return Customer Returns this customer entity.
362
     */
363
    public function setCountingNeutralCards($countingNeutralCards) {
364
        $this->countingNeutralCards = $countingNeutralCards;
365
        return $this;
366
    }
367
368
    /**
369
     * Set the country.
370
     *
371
     * @param string $country The country.
372
     * @return Customer Returns this customer entity.
373
     */
374
    public function setCountry($country) {
375
        $this->country = $country;
376
        return $this;
377
    }
378
379
    /**
380
     * Set the deposit.
381
     *
382
     * @param int $deposit The deposit.
383
     * @return Customer Returns this customer entity.
384
     */
385
    public function setDeposit($deposit) {
386
        $this->deposit = $deposit;
387
        return $this;
388
    }
389
390
    /**
391
     * Set the entry during max level allowed.
392
     *
393
     * @param bool $entryMaxLevelAllowed The entry during max level allowed.
394
     * @return Customer Returns this customer entity.
395
     */
396
    public function setEntryMaxLevelAllowed($entryMaxLevelAllowed) {
397
        $this->entryMaxLevelAllowed = $entryMaxLevelAllowed;
398
        return $this;
399
    }
400
401
    /**
402
     * Set the ID document no.
403
     *
404
     * @param string $idDocumentNo The ID document no.
405
     * @return Customer Returns this customer entity.
406
     */
407
    public function setIdDocumentNo($idDocumentNo) {
408
        $this->idDocumentNo = $idDocumentNo;
409
        return $this;
410
    }
411
412
    /**
413
     * Set the max level per car park.
414
     *
415
     * @param bool $maxLevelCarPark The max level per car park.
416
     * @return Customer Returns this customer entity.
417
     */
418
    public function setMaxLevelCarPark($maxLevelCarPark) {
419
        $this->maxLevelCarPark = $maxLevelCarPark;
420
        return $this;
421
    }
422
423
    /**
424
     * Set the maximum level.
425
     *
426
     * @param int $maximumLevel The maximum level.
427
     * @return Customer Returns this customer entity.
428
     */
429
    public function setMaximumLevel($maximumLevel) {
430
        $this->maximumLevel = $maximumLevel;
431
        return $this;
432
    }
433
434
    /**
435
     * Set the nationality.
436
     *
437
     * @param string $nationality The nationality.
438
     * @return Customer Returns this customer entity.
439
     */
440
    public function setNationality($nationality) {
441
        $this->nationality = $nationality;
442
        return $this;
443
    }
444
445
    /**
446
     * Set the PCode.
447
     *
448
     * @param string $pCode The PCode.
449
     * @return Customer Returns this customer entity.
450
     */
451
    public function setPCode($pCode) {
452
        $this->pCode = $pCode;
453
        return $this;
454
    }
455
456
    /**
457
     * Set the rental agreements no.
458
     *
459
     * @param string $rentalAgreementNo The rental agreement no.
460
     * @return Customer Returns this customer entity.
461
     */
462
    public function setRentalAgreementNo($rentalAgreementNo) {
463
        $this->rentalAgreementNo = $rentalAgreementNo;
464
        return $this;
465
    }
466
467
    /**
468
     * Set the street.
469
     *
470
     * @param string $street The street.
471
     * @return Customer Returns this customer entity.
472
     */
473
    public function setStreet($street) {
474
        $this->street = $street;
475
        return $this;
476
    }
477
478
    /**
479
     * Set the tax code.
480
     *
481
     * @param string $taxCode The tax code.
482
     * @return Customer Returns this customer entity.
483
     */
484
    public function setTaxCode($taxCode) {
485
        $this->taxCode = $taxCode;
486
        return $this;
487
    }
488
489
    /**
490
     * Set the telephone.
491
     *
492
     * @param string $telephone The telephone.
493
     * @return Customer Returns this customer entity.
494
     */
495
    public function setTelephone($telephone) {
496
        $this->telephone = $telephone;
497
        return $this;
498
    }
499
500
    /**
501
     * Set the termination date.
502
     *
503
     * @param DateTime $terminationDate The termination date.
504
     * @return Customer Returns this customer entity.
505
     */
506
    public function setTerminationDate(DateTime $terminationDate = null) {
507
        $this->terminationDate = $terminationDate;
508
        return $this;
509
    }
510
511
    /**
512
     * Set the ticket return allowed.
513
     *
514
     * @param bool $ticketReturnAllowed The ticket return allowed.
515
     * @return Customer Returns this customer entity.
516
     */
517
    public function setTicketReturnAllowed($ticketReturnAllowed) {
518
        $this->ticketReturnAllowed = $ticketReturnAllowed;
519
        return $this;
520
    }
521
522
}
523