| Total Complexity | 65 |
| Total Lines | 871 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
Complex classes like SkiDataCustomer often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use SkiDataCustomer, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 22 | class SkiDataCustomer { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Accounting number |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $accountingNumber; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Begin date. |
||
| 33 | * |
||
| 34 | * @var DateTime |
||
| 35 | */ |
||
| 36 | private $beginDate; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Blocked. |
||
| 40 | * |
||
| 41 | * @var boolean |
||
| 42 | */ |
||
| 43 | private $blocked; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Blocked as of date. |
||
| 47 | * |
||
| 48 | * @var DateTime |
||
| 49 | */ |
||
| 50 | private $blockedDate; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Counting of neutral cards. |
||
| 54 | * |
||
| 55 | * @var boolean |
||
| 56 | */ |
||
| 57 | private $countingNeutralCards; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * City. |
||
| 61 | * |
||
| 62 | * @var string |
||
| 63 | */ |
||
| 64 | private $city; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * Country. |
||
| 68 | * |
||
| 69 | * @var string |
||
| 70 | */ |
||
| 71 | private $country; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Customer number. |
||
| 75 | * |
||
| 76 | * @var integer |
||
| 77 | */ |
||
| 78 | private $customerNumber; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Date/time of last modification. |
||
| 82 | * |
||
| 83 | * @var DateTime |
||
| 84 | */ |
||
| 85 | private $datetimeLastModification; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Deleted record. |
||
| 89 | * |
||
| 90 | * @var boolean |
||
| 91 | */ |
||
| 92 | private $deletedRecord; |
||
| 93 | |||
| 94 | /** |
||
| 95 | * Deposit. |
||
| 96 | * |
||
| 97 | * @var integer |
||
| 98 | */ |
||
| 99 | private $deposit; |
||
| 100 | |||
| 101 | /** |
||
| 102 | * Division. |
||
| 103 | * |
||
| 104 | * @var string |
||
| 105 | */ |
||
| 106 | private $division; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * E-mail. |
||
| 110 | * |
||
| 111 | * @var string |
||
| 112 | */ |
||
| 113 | private $email; |
||
| 114 | |||
| 115 | /** |
||
| 116 | * Entry during max. level allowed. |
||
| 117 | * |
||
| 118 | * @var boolean |
||
| 119 | */ |
||
| 120 | private $entryMaxLevelAllowed; |
||
| 121 | |||
| 122 | /** |
||
| 123 | * Firstname. |
||
| 124 | * |
||
| 125 | * @var string |
||
| 126 | */ |
||
| 127 | private $firstname; |
||
| 128 | |||
| 129 | /** |
||
| 130 | * Group counting. |
||
| 131 | * |
||
| 132 | * @var boolean |
||
| 133 | */ |
||
| 134 | private $groupCounting; |
||
| 135 | |||
| 136 | /** |
||
| 137 | * ID document no. |
||
| 138 | * |
||
| 139 | * @var string |
||
| 140 | */ |
||
| 141 | private $idDocumentNo; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * Max. level per car park. |
||
| 145 | * |
||
| 146 | * @var boolean |
||
| 147 | */ |
||
| 148 | private $maxLevelCarPark; |
||
| 149 | |||
| 150 | /** |
||
| 151 | * Maximum level. |
||
| 152 | * |
||
| 153 | * @var integer |
||
| 154 | */ |
||
| 155 | private $maximumLevel; |
||
| 156 | |||
| 157 | /** |
||
| 158 | * Natinality. |
||
| 159 | * |
||
| 160 | * @var string |
||
| 161 | */ |
||
| 162 | private $nationality; |
||
| 163 | |||
| 164 | /** |
||
| 165 | * PCode. |
||
| 166 | * |
||
| 167 | * @var string |
||
| 168 | */ |
||
| 169 | private $pCode; |
||
| 170 | |||
| 171 | /** |
||
| 172 | * Remarks. |
||
| 173 | * |
||
| 174 | * @var string |
||
| 175 | */ |
||
| 176 | private $remarks; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * Remarks 2. |
||
| 180 | * |
||
| 181 | * @var string |
||
| 182 | */ |
||
| 183 | private $remarks2; |
||
| 184 | |||
| 185 | /** |
||
| 186 | * Remarks 3. |
||
| 187 | * |
||
| 188 | * @var string |
||
| 189 | */ |
||
| 190 | private $remarks3; |
||
| 191 | |||
| 192 | /** |
||
| 193 | * Rental agreement no. |
||
| 194 | * |
||
| 195 | * @var string |
||
| 196 | */ |
||
| 197 | private $rentalAgreementNo; |
||
| 198 | |||
| 199 | /** |
||
| 200 | * Street. |
||
| 201 | * |
||
| 202 | * @var string |
||
| 203 | */ |
||
| 204 | private $street; |
||
| 205 | |||
| 206 | /** |
||
| 207 | * Surname. |
||
| 208 | * |
||
| 209 | * @var string |
||
| 210 | */ |
||
| 211 | private $surname; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * Tax code. |
||
| 215 | * |
||
| 216 | * @var string |
||
| 217 | */ |
||
| 218 | private $taxCode; |
||
| 219 | |||
| 220 | /** |
||
| 221 | * Telephone. |
||
| 222 | * |
||
| 223 | * @var string |
||
| 224 | */ |
||
| 225 | private $telephone; |
||
| 226 | |||
| 227 | /** |
||
| 228 | * Termination date. |
||
| 229 | * |
||
| 230 | * @var DateTime |
||
| 231 | */ |
||
| 232 | private $terminationDate; |
||
| 233 | |||
| 234 | /** |
||
| 235 | * Ticket return allowed. |
||
| 236 | * |
||
| 237 | * @var boolean |
||
| 238 | */ |
||
| 239 | private $ticketReturnAllowed; |
||
| 240 | |||
| 241 | /** |
||
| 242 | * Title. |
||
| 243 | * |
||
| 244 | * @var string |
||
| 245 | */ |
||
| 246 | private $title; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * Constructor. |
||
| 250 | */ |
||
| 251 | public function __construct() { |
||
| 252 | // NOTHING TO DO. |
||
| 253 | } |
||
| 254 | |||
| 255 | /** |
||
| 256 | * Get the accounting number. |
||
| 257 | * |
||
| 258 | * @return string Returns the accounting number. |
||
| 259 | */ |
||
| 260 | public function getAccountingNumber() { |
||
| 261 | return $this->accountingNumber; |
||
| 262 | } |
||
| 263 | |||
| 264 | /** |
||
| 265 | * Get the begin date. |
||
| 266 | * |
||
| 267 | * @return DateTime Returns the begin date. |
||
| 268 | */ |
||
| 269 | public function getBeginDate() { |
||
| 270 | return $this->beginDate; |
||
| 271 | } |
||
| 272 | |||
| 273 | /** |
||
| 274 | * Get the blocked. |
||
| 275 | * |
||
| 276 | * @return boolean Returns the blocked. |
||
| 277 | */ |
||
| 278 | public function getBlocked() { |
||
| 279 | return $this->blocked; |
||
| 280 | } |
||
| 281 | |||
| 282 | /** |
||
| 283 | * Get the blocked as of date. |
||
| 284 | * |
||
| 285 | * @return DateTime Returns the blocked as of date. |
||
| 286 | */ |
||
| 287 | public function getBlockedDate() { |
||
| 288 | return $this->blockedDate; |
||
| 289 | } |
||
| 290 | |||
| 291 | /** |
||
| 292 | * Get the couting neutral cards. |
||
| 293 | * |
||
| 294 | * @return boolean Returns the couting neutral cards. |
||
| 295 | */ |
||
| 296 | public function getCountingNeutralCards() { |
||
| 297 | return $this->countingNeutralCards; |
||
| 298 | } |
||
| 299 | |||
| 300 | /** |
||
| 301 | * Get the city. |
||
| 302 | * |
||
| 303 | * @return string Returns the city. |
||
| 304 | */ |
||
| 305 | public function getCity() { |
||
| 306 | return $this->city; |
||
| 307 | } |
||
| 308 | |||
| 309 | /** |
||
| 310 | * Get the country. |
||
| 311 | * |
||
| 312 | * @return string Returns the country. |
||
| 313 | */ |
||
| 314 | public function getCountry() { |
||
| 315 | return $this->country; |
||
| 316 | } |
||
| 317 | |||
| 318 | /** |
||
| 319 | * Get the customer number. |
||
| 320 | * |
||
| 321 | * @return integer Returns the customer number. |
||
| 322 | */ |
||
| 323 | public function getCustomerNumber() { |
||
| 324 | return $this->customerNumber; |
||
| 325 | } |
||
| 326 | |||
| 327 | /** |
||
| 328 | * Get the date/time of last modification. |
||
| 329 | * |
||
| 330 | * @return DateTime Returns the date/time of last modification. |
||
| 331 | */ |
||
| 332 | public function getDatetimeLastModification() { |
||
| 333 | return $this->datetimeLastModification; |
||
| 334 | } |
||
| 335 | |||
| 336 | /** |
||
| 337 | * Get the deleted record. |
||
| 338 | * |
||
| 339 | * @return boolean Returns the deleted record. |
||
| 340 | */ |
||
| 341 | public function getDeletedRecord() { |
||
| 342 | return $this->deletedRecord; |
||
| 343 | } |
||
| 344 | |||
| 345 | /** |
||
| 346 | * Get the deposit. |
||
| 347 | * |
||
| 348 | * @return integer Returns the deposit. |
||
| 349 | */ |
||
| 350 | public function getDeposit() { |
||
| 351 | return $this->deposit; |
||
| 352 | } |
||
| 353 | |||
| 354 | /** |
||
| 355 | * Get the division. |
||
| 356 | * |
||
| 357 | * @return string Returns the division. |
||
| 358 | */ |
||
| 359 | public function getDivision() { |
||
| 360 | return $this->division; |
||
| 361 | } |
||
| 362 | |||
| 363 | /** |
||
| 364 | * Get the email. |
||
| 365 | * |
||
| 366 | * @return string Returns the email. |
||
| 367 | */ |
||
| 368 | public function getEmail() { |
||
| 369 | return $this->email; |
||
| 370 | } |
||
| 371 | |||
| 372 | /** |
||
| 373 | * Get the entry during max. level allowed. |
||
| 374 | * |
||
| 375 | * @return boolean Returns the entry during max. level allowed. |
||
| 376 | */ |
||
| 377 | public function getEntryMaxLevelAllowed() { |
||
| 378 | return $this->entryMaxLevelAllowed; |
||
| 379 | } |
||
| 380 | |||
| 381 | /** |
||
| 382 | * Get the firstname. |
||
| 383 | * |
||
| 384 | * @return string Returns the firstname. |
||
| 385 | */ |
||
| 386 | public function getFirstname() { |
||
| 387 | return $this->firstname; |
||
| 388 | } |
||
| 389 | |||
| 390 | /** |
||
| 391 | * Get the group counting. |
||
| 392 | * |
||
| 393 | * @return boolean Returns the group couting. |
||
| 394 | */ |
||
| 395 | public function getGroupCounting() { |
||
| 396 | return $this->groupCounting; |
||
| 397 | } |
||
| 398 | |||
| 399 | /** |
||
| 400 | * Get the ID document no. |
||
| 401 | * |
||
| 402 | * @return string Returns the ID document no. |
||
| 403 | */ |
||
| 404 | public function getIdDocumentNo() { |
||
| 405 | return $this->idDocumentNo; |
||
| 406 | } |
||
| 407 | |||
| 408 | /** |
||
| 409 | * Get the max level per car park. |
||
| 410 | * |
||
| 411 | * @return boolean Returns the max level per car park. |
||
| 412 | */ |
||
| 413 | public function getMaxLevelCarPark() { |
||
| 414 | return $this->maxLevelCarPark; |
||
| 415 | } |
||
| 416 | |||
| 417 | /** |
||
| 418 | * Get the maximum level. |
||
| 419 | * |
||
| 420 | * @return integer Returns the maximum level. |
||
| 421 | */ |
||
| 422 | public function getMaximumLevel() { |
||
| 423 | return $this->maximumLevel; |
||
| 424 | } |
||
| 425 | |||
| 426 | /** |
||
| 427 | * Get the nationality. |
||
| 428 | * |
||
| 429 | * @return string Returns the nationality. |
||
| 430 | */ |
||
| 431 | public function getNationality() { |
||
| 432 | return $this->nationality; |
||
| 433 | } |
||
| 434 | |||
| 435 | /** |
||
| 436 | * Get the PCode. |
||
| 437 | * |
||
| 438 | * @return string Returns the PCode. |
||
| 439 | */ |
||
| 440 | public function getPCode() { |
||
| 441 | return $this->pCode; |
||
| 442 | } |
||
| 443 | |||
| 444 | /** |
||
| 445 | * Get the remarks. |
||
| 446 | * |
||
| 447 | * @return string Returns the remarks. |
||
| 448 | */ |
||
| 449 | public function getRemarks() { |
||
| 450 | return $this->remarks; |
||
| 451 | } |
||
| 452 | |||
| 453 | /** |
||
| 454 | * Get the remarks 2. |
||
| 455 | * |
||
| 456 | * @return string Returns the remarks 2. |
||
| 457 | */ |
||
| 458 | public function getRemarks2() { |
||
| 459 | return $this->remarks2; |
||
| 460 | } |
||
| 461 | |||
| 462 | /** |
||
| 463 | * Get the remarks 3. |
||
| 464 | * |
||
| 465 | * @return string Returns the remarks 3. |
||
| 466 | */ |
||
| 467 | public function getRemarks3() { |
||
| 468 | return $this->remarks3; |
||
| 469 | } |
||
| 470 | |||
| 471 | /** |
||
| 472 | * Get the rental aggreement no. |
||
| 473 | * |
||
| 474 | * @return string Returns the rental agreement no. |
||
| 475 | */ |
||
| 476 | public function getRentalAgreementNo() { |
||
| 477 | return $this->rentalAgreementNo; |
||
| 478 | } |
||
| 479 | |||
| 480 | /** |
||
| 481 | * Get the street. |
||
| 482 | * |
||
| 483 | * @return string Returns the street. |
||
| 484 | */ |
||
| 485 | public function getStreet() { |
||
| 486 | return $this->street; |
||
| 487 | } |
||
| 488 | |||
| 489 | /** |
||
| 490 | * Get the surname. |
||
| 491 | * |
||
| 492 | * @return string Returns the surname. |
||
| 493 | */ |
||
| 494 | public function getSurname() { |
||
| 495 | return $this->surname; |
||
| 496 | } |
||
| 497 | |||
| 498 | /** |
||
| 499 | * Get the tax code. |
||
| 500 | * |
||
| 501 | * @return string Returns the tax code. |
||
| 502 | */ |
||
| 503 | public function getTaxCode() { |
||
| 504 | return $this->taxCode; |
||
| 505 | } |
||
| 506 | |||
| 507 | /** |
||
| 508 | * Get the telephone. |
||
| 509 | * |
||
| 510 | * @return string Return the telephone. |
||
| 511 | */ |
||
| 512 | public function getTelephone() { |
||
| 513 | return $this->telephone; |
||
| 514 | } |
||
| 515 | |||
| 516 | /** |
||
| 517 | * Get the termination date. |
||
| 518 | * |
||
| 519 | * @return DateTime Returns the termination date. |
||
| 520 | */ |
||
| 521 | public function getTerminationDate() { |
||
| 522 | return $this->terminationDate; |
||
| 523 | } |
||
| 524 | |||
| 525 | /** |
||
| 526 | * Get the ticket return allowed. |
||
| 527 | * |
||
| 528 | * @return boolean Returns the ticket return allowed. |
||
| 529 | */ |
||
| 530 | public function getTicketReturnAllowed() { |
||
| 531 | return $this->ticketReturnAllowed; |
||
| 532 | } |
||
| 533 | |||
| 534 | /** |
||
| 535 | * Get the title. |
||
| 536 | * |
||
| 537 | * @return string Returns the title. |
||
| 538 | */ |
||
| 539 | public function getTitle() { |
||
| 540 | return $this->title; |
||
| 541 | } |
||
| 542 | |||
| 543 | /** |
||
| 544 | * Set the accounting number. |
||
| 545 | * |
||
| 546 | * @param string $accountingNumber The accounting number. |
||
| 547 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 548 | */ |
||
| 549 | public function setAccountingNumber($accountingNumber) { |
||
| 550 | $this->accountingNumber = $accountingNumber; |
||
| 551 | return $this; |
||
| 552 | } |
||
| 553 | |||
| 554 | /** |
||
| 555 | * Set the begin date. |
||
| 556 | * |
||
| 557 | * @param DateTime $beginDate The begin date. |
||
| 558 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 559 | */ |
||
| 560 | public function setBeginDate(DateTime $beginDate = null) { |
||
| 561 | $this->beginDate = $beginDate; |
||
| 562 | return $this; |
||
| 563 | } |
||
| 564 | |||
| 565 | /** |
||
| 566 | * Set the blocked. |
||
| 567 | * |
||
| 568 | * @param boolean $blocked The blocked. |
||
| 569 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 570 | */ |
||
| 571 | public function setBlocked($blocked) { |
||
| 572 | $this->blocked = $blocked; |
||
| 573 | return $this; |
||
| 574 | } |
||
| 575 | |||
| 576 | /** |
||
| 577 | * Set the blocked as of date. |
||
| 578 | * |
||
| 579 | * @param DateTime $blockedDate The blocked as of date. |
||
| 580 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 581 | */ |
||
| 582 | public function setBlockedDate(DateTime $blockedDate = null) { |
||
| 583 | $this->blockedDate = $blockedDate; |
||
| 584 | return $this; |
||
| 585 | } |
||
| 586 | |||
| 587 | /** |
||
| 588 | * Set the couting neutral cards. |
||
| 589 | * |
||
| 590 | * @param boolean $countingNeutralCards The couting neutral cards. |
||
| 591 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 592 | */ |
||
| 593 | public function setCountingNeutralCards($countingNeutralCards) { |
||
| 594 | $this->countingNeutralCards = $countingNeutralCards; |
||
| 595 | return $this; |
||
| 596 | } |
||
| 597 | |||
| 598 | /** |
||
| 599 | * Set the city. |
||
| 600 | * |
||
| 601 | * @param string $city The city. |
||
| 602 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 603 | */ |
||
| 604 | public function setCity($city) { |
||
| 605 | $this->city = $city; |
||
| 606 | return $this; |
||
| 607 | } |
||
| 608 | |||
| 609 | /** |
||
| 610 | * Set the country. |
||
| 611 | * |
||
| 612 | * @param string $country The country. |
||
| 613 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 614 | */ |
||
| 615 | public function setCountry($country) { |
||
| 616 | $this->country = $country; |
||
| 617 | return $this; |
||
| 618 | } |
||
| 619 | |||
| 620 | /** |
||
| 621 | * Set the customer number. |
||
| 622 | * |
||
| 623 | * @param integer $customerNumber The customer number. |
||
| 624 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 625 | */ |
||
| 626 | public function setCustomerNumber($customerNumber) { |
||
| 627 | $this->customerNumber = $customerNumber; |
||
| 628 | return $this; |
||
| 629 | } |
||
| 630 | |||
| 631 | /** |
||
| 632 | * Set the date/time of last modification. |
||
| 633 | * |
||
| 634 | * @param DateTime $datetimeLastModification The date/time of last modification. |
||
| 635 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 636 | */ |
||
| 637 | public function setDatetimeLastModification(DateTime $datetimeLastModification = null) { |
||
| 638 | $this->datetimeLastModification = $datetimeLastModification; |
||
| 639 | return $this; |
||
| 640 | } |
||
| 641 | |||
| 642 | /** |
||
| 643 | * Set the deleted record. |
||
| 644 | * |
||
| 645 | * @param boolean $deletedRecord The deleted record. |
||
| 646 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 647 | */ |
||
| 648 | public function setDeletedRecord($deletedRecord) { |
||
| 649 | $this->deletedRecord = $deletedRecord; |
||
| 650 | return $this; |
||
| 651 | } |
||
| 652 | |||
| 653 | /** |
||
| 654 | * Set the deposit. |
||
| 655 | * |
||
| 656 | * @param integer $deposit The deposit. |
||
| 657 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 658 | */ |
||
| 659 | public function setDeposit($deposit) { |
||
| 660 | $this->deposit = $deposit; |
||
| 661 | return $this; |
||
| 662 | } |
||
| 663 | |||
| 664 | /** |
||
| 665 | * Set the division. |
||
| 666 | * |
||
| 667 | * @param string $division The division. |
||
| 668 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 669 | */ |
||
| 670 | public function setDivision($division) { |
||
| 671 | $this->division = $division; |
||
| 672 | return $this; |
||
| 673 | } |
||
| 674 | |||
| 675 | /** |
||
| 676 | * Set the email. |
||
| 677 | * |
||
| 678 | * @param string $email The email. |
||
| 679 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 680 | */ |
||
| 681 | public function setEmail($email) { |
||
| 682 | $this->email = $email; |
||
| 683 | return $this; |
||
| 684 | } |
||
| 685 | |||
| 686 | /** |
||
| 687 | * Set the entry during max level allowed. |
||
| 688 | * |
||
| 689 | * @param boolean $entryMaxLevelAllowed The entry during max level allowed. |
||
| 690 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 691 | */ |
||
| 692 | public function setEntryMaxLevelAllowed($entryMaxLevelAllowed) { |
||
| 695 | } |
||
| 696 | |||
| 697 | /** |
||
| 698 | * Set the firstname. |
||
| 699 | * |
||
| 700 | * @param string $firstname The firstname. |
||
| 701 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 702 | */ |
||
| 703 | public function setFirstname($firstname) { |
||
| 704 | $this->firstname = $firstname; |
||
| 705 | return $this; |
||
| 706 | } |
||
| 707 | |||
| 708 | /** |
||
| 709 | * Set the group counting. |
||
| 710 | * |
||
| 711 | * @param boolean $groupCouting The group counting. |
||
| 712 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 713 | */ |
||
| 714 | public function setGroupCounting($groupCouting) { |
||
| 715 | $this->groupCounting = $groupCouting; |
||
| 716 | return $this; |
||
| 717 | } |
||
| 718 | |||
| 719 | /** |
||
| 720 | * Set the ID document no. |
||
| 721 | * |
||
| 722 | * @param string $idDocumentNo The ID document no. |
||
| 723 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 724 | */ |
||
| 725 | public function setIdDocumentNo($idDocumentNo) { |
||
| 728 | } |
||
| 729 | |||
| 730 | /** |
||
| 731 | * Set the max level per car park. |
||
| 732 | * |
||
| 733 | * @param boolean $maxLevelCarPark The max level per car park. |
||
| 734 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 735 | */ |
||
| 736 | public function setMaxLevelCarPark($maxLevelCarPark) { |
||
| 737 | $this->maxLevelCarPark = $maxLevelCarPark; |
||
| 738 | return $this; |
||
| 739 | } |
||
| 740 | |||
| 741 | /** |
||
| 742 | * Set the maximum level. |
||
| 743 | * |
||
| 744 | * @param integer $maximumLevel The maximum level. |
||
| 745 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 746 | */ |
||
| 747 | public function setMaximumLevel($maximumLevel) { |
||
| 748 | $this->maximumLevel = $maximumLevel; |
||
| 749 | return $this; |
||
| 750 | } |
||
| 751 | |||
| 752 | /** |
||
| 753 | * Set the nationality. |
||
| 754 | * |
||
| 755 | * @param string $nationality The nationality. |
||
| 756 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 757 | */ |
||
| 758 | public function setNationality($nationality) { |
||
| 759 | $this->nationality = $nationality; |
||
| 760 | return $this; |
||
| 761 | } |
||
| 762 | |||
| 763 | /** |
||
| 764 | * Set the PCode. |
||
| 765 | * |
||
| 766 | * @param string $pCode The PCode. |
||
| 767 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 768 | */ |
||
| 769 | public function setPCode($pCode) { |
||
| 770 | $this->pCode = $pCode; |
||
| 771 | return $this; |
||
| 772 | } |
||
| 773 | |||
| 774 | /** |
||
| 775 | * Set the remarks. |
||
| 776 | * |
||
| 777 | * @param string $remarks The remarks. |
||
| 778 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 779 | */ |
||
| 780 | public function setRemarks($remarks) { |
||
| 781 | $this->remarks = $remarks; |
||
| 782 | return $this; |
||
| 783 | } |
||
| 784 | |||
| 785 | /** |
||
| 786 | * Set the remarks 2. |
||
| 787 | * |
||
| 788 | * @param string $remarks2 The remarks 2. |
||
| 789 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 790 | */ |
||
| 791 | public function setRemarks2($remarks2) { |
||
| 792 | $this->remarks2 = $remarks2; |
||
| 793 | return $this; |
||
| 794 | } |
||
| 795 | |||
| 796 | /** |
||
| 797 | * Set the remarks 3. |
||
| 798 | * |
||
| 799 | * @param string $remarks3 The remarks 3. |
||
| 800 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 801 | */ |
||
| 802 | public function setRemarks3($remarks3) { |
||
| 803 | $this->remarks3 = $remarks3; |
||
| 804 | return $this; |
||
| 805 | } |
||
| 806 | |||
| 807 | /** |
||
| 808 | * Set the rental agreements no. |
||
| 809 | * |
||
| 810 | * @param string $rentalAgreementNo The rental agreement no. |
||
| 811 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 812 | */ |
||
| 813 | public function setRentalAgreementNo($rentalAgreementNo) { |
||
| 816 | } |
||
| 817 | |||
| 818 | /** |
||
| 819 | * Set the street. |
||
| 820 | * |
||
| 821 | * @param string $street The street. |
||
| 822 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 823 | */ |
||
| 824 | public function setStreet($street) { |
||
| 825 | $this->street = $street; |
||
| 826 | return $this; |
||
| 827 | } |
||
| 828 | |||
| 829 | /** |
||
| 830 | * Set the surname. |
||
| 831 | * |
||
| 832 | * @param string $surname The surname. |
||
| 833 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 834 | */ |
||
| 835 | public function setSurname($surname) { |
||
| 836 | $this->surname = $surname; |
||
| 837 | return $this; |
||
| 838 | } |
||
| 839 | |||
| 840 | /** |
||
| 841 | * Set the tax code. |
||
| 842 | * |
||
| 843 | * @param string $taxCode The tax code. |
||
| 844 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 845 | */ |
||
| 846 | public function setTaxCode($taxCode) { |
||
| 847 | $this->taxCode = $taxCode; |
||
| 848 | return $this; |
||
| 849 | } |
||
| 850 | |||
| 851 | /** |
||
| 852 | * Set the telephone. |
||
| 853 | * |
||
| 854 | * @param string $telephone The telephone. |
||
| 855 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 856 | */ |
||
| 857 | public function setTelephone($telephone) { |
||
| 858 | $this->telephone = $telephone; |
||
| 859 | return $this; |
||
| 860 | } |
||
| 861 | |||
| 862 | /** |
||
| 863 | * Set the termination date. |
||
| 864 | * |
||
| 865 | * @param DateTime $terminationDate The termination date. |
||
| 866 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 867 | */ |
||
| 868 | public function setTerminationDate(DateTime $terminationDate = null) { |
||
| 871 | } |
||
| 872 | |||
| 873 | /** |
||
| 874 | * Set the ticket return allowed. |
||
| 875 | * |
||
| 876 | * @param boolean $ticketReturnAllowed The ticket return allowed. |
||
| 877 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 878 | */ |
||
| 879 | public function setTicketReturnAllowed($ticketReturnAllowed) { |
||
| 882 | } |
||
| 883 | |||
| 884 | /** |
||
| 885 | * Set the title. |
||
| 886 | * |
||
| 887 | * @param string $title The title. |
||
| 888 | * @return SkiDataCustomer Returns the SkiData customer entity. |
||
| 889 | */ |
||
| 890 | public function setTitle($title) { |
||
| 891 | $this->title = $title; |
||
| 892 | return $this; |
||
| 893 | } |
||
| 894 | |||
| 895 | } |
||
| 896 |