Completed
Push — master ( f21a5b...a05864 )
by WEBEWEB
02:08
created

SkiDataCustomer::getCity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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