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. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
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() { | ||
| 254 | |||
| 255 | /** | ||
| 256 | * Get the accounting number. | ||
| 257 | * | ||
| 258 | * @return string Returns the accounting number. | ||
| 259 | */ | ||
| 260 |     public function getAccountingNumber() { | ||
| 263 | |||
| 264 | /** | ||
| 265 | * Get the begin date. | ||
| 266 | * | ||
| 267 | * @return DateTime Returns the begin date. | ||
| 268 | */ | ||
| 269 |     public function getBeginDate() { | ||
| 272 | |||
| 273 | /** | ||
| 274 | * Get the blocked. | ||
| 275 | * | ||
| 276 | * @return bool Returns the blocked. | ||
| 277 | */ | ||
| 278 |     public function getBlocked() { | ||
| 281 | |||
| 282 | /** | ||
| 283 | * Get the blocked as of date. | ||
| 284 | * | ||
| 285 | * @return DateTime Returns the blocked as of date. | ||
| 286 | */ | ||
| 287 |     public function getBlockedDate() { | ||
| 290 | |||
| 291 | /** | ||
| 292 | * Get the couting neutral cards. | ||
| 293 | * | ||
| 294 | * @return bool Returns the couting neutral cards. | ||
| 295 | */ | ||
| 296 |     public function getCountingNeutralCards() { | ||
| 299 | |||
| 300 | /** | ||
| 301 | * Get the city. | ||
| 302 | * | ||
| 303 | * @return string Returns the city. | ||
| 304 | */ | ||
| 305 |     public function getCity() { | ||
| 308 | |||
| 309 | /** | ||
| 310 | * Get the country. | ||
| 311 | * | ||
| 312 | * @return string Returns the country. | ||
| 313 | */ | ||
| 314 |     public function getCountry() { | ||
| 317 | |||
| 318 | /** | ||
| 319 | * Get the customer number. | ||
| 320 | * | ||
| 321 | * @return int Returns the customer number. | ||
| 322 | */ | ||
| 323 |     public function getCustomerNumber() { | ||
| 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() { | ||
| 335 | |||
| 336 | /** | ||
| 337 | * Get the deleted record. | ||
| 338 | * | ||
| 339 | * @return bool Returns the deleted record. | ||
| 340 | */ | ||
| 341 |     public function getDeletedRecord() { | ||
| 344 | |||
| 345 | /** | ||
| 346 | * Get the deposit. | ||
| 347 | * | ||
| 348 | * @return int Returns the deposit. | ||
| 349 | */ | ||
| 350 |     public function getDeposit() { | ||
| 353 | |||
| 354 | /** | ||
| 355 | * Get the division. | ||
| 356 | * | ||
| 357 | * @return string Returns the division. | ||
| 358 | */ | ||
| 359 |     public function getDivision() { | ||
| 362 | |||
| 363 | /** | ||
| 364 | * Get the email. | ||
| 365 | * | ||
| 366 | * @return string Returns the email. | ||
| 367 | */ | ||
| 368 |     public function getEmail() { | ||
| 371 | |||
| 372 | /** | ||
| 373 | * Get the entry during max. level allowed. | ||
| 374 | * | ||
| 375 | * @return bool Returns the entry during max. level allowed. | ||
| 376 | */ | ||
| 377 |     public function getEntryMaxLevelAllowed() { | ||
| 380 | |||
| 381 | /** | ||
| 382 | * Get the firstname. | ||
| 383 | * | ||
| 384 | * @return string Returns the firstname. | ||
| 385 | */ | ||
| 386 |     public function getFirstname() { | ||
| 389 | |||
| 390 | /** | ||
| 391 | * Get the group counting. | ||
| 392 | * | ||
| 393 | * @return bool Returns the group couting. | ||
| 394 | */ | ||
| 395 |     public function getGroupCounting() { | ||
| 398 | |||
| 399 | /** | ||
| 400 | * Get the ID document no. | ||
| 401 | * | ||
| 402 | * @return string Returns the ID document no. | ||
| 403 | */ | ||
| 404 |     public function getIdDocumentNo() { | ||
| 407 | |||
| 408 | /** | ||
| 409 | * Get the max level per car park. | ||
| 410 | * | ||
| 411 | * @return bool Returns the max level per car park. | ||
| 412 | */ | ||
| 413 |     public function getMaxLevelCarPark() { | ||
| 416 | |||
| 417 | /** | ||
| 418 | * Get the maximum level. | ||
| 419 | * | ||
| 420 | * @return int Returns the maximum level. | ||
| 421 | */ | ||
| 422 |     public function getMaximumLevel() { | ||
| 425 | |||
| 426 | /** | ||
| 427 | * Get the nationality. | ||
| 428 | * | ||
| 429 | * @return string Returns the nationality. | ||
| 430 | */ | ||
| 431 |     public function getNationality() { | ||
| 434 | |||
| 435 | /** | ||
| 436 | * Get the PCode. | ||
| 437 | * | ||
| 438 | * @return string Returns the PCode. | ||
| 439 | */ | ||
| 440 |     public function getPCode() { | ||
| 443 | |||
| 444 | /** | ||
| 445 | * Get the remarks. | ||
| 446 | * | ||
| 447 | * @return string Returns the remarks. | ||
| 448 | */ | ||
| 449 |     public function getRemarks() { | ||
| 452 | |||
| 453 | /** | ||
| 454 | * Get the remarks 2. | ||
| 455 | * | ||
| 456 | * @return string Returns the remarks 2. | ||
| 457 | */ | ||
| 458 |     public function getRemarks2() { | ||
| 461 | |||
| 462 | /** | ||
| 463 | * Get the remarks 3. | ||
| 464 | * | ||
| 465 | * @return string Returns the remarks 3. | ||
| 466 | */ | ||
| 467 |     public function getRemarks3() { | ||
| 470 | |||
| 471 | /** | ||
| 472 | * Get the rental aggreement no. | ||
| 473 | * | ||
| 474 | * @return string Returns the rental agreement no. | ||
| 475 | */ | ||
| 476 |     public function getRentalAgreementNo() { | ||
| 479 | |||
| 480 | /** | ||
| 481 | * Get the street. | ||
| 482 | * | ||
| 483 | * @return string Returns the street. | ||
| 484 | */ | ||
| 485 |     public function getStreet() { | ||
| 488 | |||
| 489 | /** | ||
| 490 | * Get the surname. | ||
| 491 | * | ||
| 492 | * @return string Returns the surname. | ||
| 493 | */ | ||
| 494 |     public function getSurname() { | ||
| 497 | |||
| 498 | /** | ||
| 499 | * Get the tax code. | ||
| 500 | * | ||
| 501 | * @return string Returns the tax code. | ||
| 502 | */ | ||
| 503 |     public function getTaxCode() { | ||
| 506 | |||
| 507 | /** | ||
| 508 | * Get the telephone. | ||
| 509 | * | ||
| 510 | * @return string Return the telephone. | ||
| 511 | */ | ||
| 512 |     public function getTelephone() { | ||
| 515 | |||
| 516 | /** | ||
| 517 | * Get the termination date. | ||
| 518 | * | ||
| 519 | * @return DateTime Returns the termination date. | ||
| 520 | */ | ||
| 521 |     public function getTerminationDate() { | ||
| 524 | |||
| 525 | /** | ||
| 526 | * Get the ticket return allowed. | ||
| 527 | * | ||
| 528 | * @return bool Returns the ticket return allowed. | ||
| 529 | */ | ||
| 530 |     public function getTicketReturnAllowed() { | ||
| 533 | |||
| 534 | /** | ||
| 535 | * Get the title. | ||
| 536 | * | ||
| 537 | * @return string Returns the title. | ||
| 538 | */ | ||
| 539 |     public function getTitle() { | ||
| 542 | |||
| 543 | /** | ||
| 544 | * Set the accounting number. | ||
| 545 | * | ||
| 546 | * @param string $accountingNumber The accounting number. | ||
| 547 | * @return SkiDataCustomer Returns this customer entity. | ||
| 548 | */ | ||
| 549 |     public function setAccountingNumber($accountingNumber) { | ||
| 553 | |||
| 554 | /** | ||
| 555 | * Set the begin date. | ||
| 556 | * | ||
| 557 | * @param DateTime $beginDate The begin date. | ||
| 558 | * @return SkiDataCustomer Returns this customer entity. | ||
| 559 | */ | ||
| 560 |     public function setBeginDate(DateTime $beginDate = null) { | ||
| 564 | |||
| 565 | /** | ||
| 566 | * Set the blocked. | ||
| 567 | * | ||
| 568 | * @param bool $blocked The blocked. | ||
| 569 | * @return SkiDataCustomer Returns this customer entity. | ||
| 570 | */ | ||
| 571 |     public function setBlocked($blocked) { | ||
| 575 | |||
| 576 | /** | ||
| 577 | * Set the blocked as of date. | ||
| 578 | * | ||
| 579 | * @param DateTime $blockedDate The blocked as of date. | ||
| 580 | * @return SkiDataCustomer Returns this customer entity. | ||
| 581 | */ | ||
| 582 |     public function setBlockedDate(DateTime $blockedDate = null) { | ||
| 586 | |||
| 587 | /** | ||
| 588 | * Set the couting neutral cards. | ||
| 589 | * | ||
| 590 | * @param bool $countingNeutralCards The couting neutral cards. | ||
| 591 | * @return SkiDataCustomer Returns this customer entity. | ||
| 592 | */ | ||
| 593 |     public function setCountingNeutralCards($countingNeutralCards) { | ||
| 597 | |||
| 598 | /** | ||
| 599 | * Set the city. | ||
| 600 | * | ||
| 601 | * @param string $city The city. | ||
| 602 | * @return SkiDataCustomer Returns this customer entity. | ||
| 603 | */ | ||
| 604 |     public function setCity($city) { | ||
| 608 | |||
| 609 | /** | ||
| 610 | * Set the country. | ||
| 611 | * | ||
| 612 | * @param string $country The country. | ||
| 613 | * @return SkiDataCustomer Returns this customer entity. | ||
| 614 | */ | ||
| 615 |     public function setCountry($country) { | ||
| 619 | |||
| 620 | /** | ||
| 621 | * Set the customer number. | ||
| 622 | * | ||
| 623 | * @param int $customerNumber The customer number. | ||
| 624 | * @return SkiDataCustomer Returns this customer entity. | ||
| 625 | */ | ||
| 626 |     public function setCustomerNumber($customerNumber) { | ||
| 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 this customer entity. | ||
| 636 | */ | ||
| 637 |     public function setDatetimeLastModification(DateTime $datetimeLastModification = null) { | ||
| 641 | |||
| 642 | /** | ||
| 643 | * Set the deleted record. | ||
| 644 | * | ||
| 645 | * @param bool $deletedRecord The deleted record. | ||
| 646 | * @return SkiDataCustomer Returns this customer entity. | ||
| 647 | */ | ||
| 648 |     public function setDeletedRecord($deletedRecord) { | ||
| 652 | |||
| 653 | /** | ||
| 654 | * Set the deposit. | ||
| 655 | * | ||
| 656 | * @param int $deposit The deposit. | ||
| 657 | * @return SkiDataCustomer Returns this customer entity. | ||
| 658 | */ | ||
| 659 |     public function setDeposit($deposit) { | ||
| 663 | |||
| 664 | /** | ||
| 665 | * Set the division. | ||
| 666 | * | ||
| 667 | * @param string $division The division. | ||
| 668 | * @return SkiDataCustomer Returns this customer entity. | ||
| 669 | */ | ||
| 670 |     public function setDivision($division) { | ||
| 674 | |||
| 675 | /** | ||
| 676 | * Set the email. | ||
| 677 | * | ||
| 678 | * @param string $email The email. | ||
| 679 | * @return SkiDataCustomer Returns this customer entity. | ||
| 680 | */ | ||
| 681 |     public function setEmail($email) { | ||
| 685 | |||
| 686 | /** | ||
| 687 | * Set the entry during max level allowed. | ||
| 688 | * | ||
| 689 | * @param bool $entryMaxLevelAllowed The entry during max level allowed. | ||
| 690 | * @return SkiDataCustomer Returns this customer entity. | ||
| 691 | */ | ||
| 692 |     public function setEntryMaxLevelAllowed($entryMaxLevelAllowed) { | ||
| 696 | |||
| 697 | /** | ||
| 698 | * Set the firstname. | ||
| 699 | * | ||
| 700 | * @param string $firstname The firstname. | ||
| 701 | * @return SkiDataCustomer Returns this customer entity. | ||
| 702 | */ | ||
| 703 |     public function setFirstname($firstname) { | ||
| 707 | |||
| 708 | /** | ||
| 709 | * Set the group counting. | ||
| 710 | * | ||
| 711 | * @param bool $groupCouting The group counting. | ||
| 712 | * @return SkiDataCustomer Returns this customer entity. | ||
| 713 | */ | ||
| 714 |     public function setGroupCounting($groupCouting) { | ||
| 718 | |||
| 719 | /** | ||
| 720 | * Set the ID document no. | ||
| 721 | * | ||
| 722 | * @param string $idDocumentNo The ID document no. | ||
| 723 | * @return SkiDataCustomer Returns this customer entity. | ||
| 724 | */ | ||
| 725 |     public function setIdDocumentNo($idDocumentNo) { | ||
| 729 | |||
| 730 | /** | ||
| 731 | * Set the max level per car park. | ||
| 732 | * | ||
| 733 | * @param bool $maxLevelCarPark The max level per car park. | ||
| 734 | * @return SkiDataCustomer Returns this customer entity. | ||
| 735 | */ | ||
| 736 |     public function setMaxLevelCarPark($maxLevelCarPark) { | ||
| 740 | |||
| 741 | /** | ||
| 742 | * Set the maximum level. | ||
| 743 | * | ||
| 744 | * @param int $maximumLevel The maximum level. | ||
| 745 | * @return SkiDataCustomer Returns this customer entity. | ||
| 746 | */ | ||
| 747 |     public function setMaximumLevel($maximumLevel) { | ||
| 751 | |||
| 752 | /** | ||
| 753 | * Set the nationality. | ||
| 754 | * | ||
| 755 | * @param string $nationality The nationality. | ||
| 756 | * @return SkiDataCustomer Returns this customer entity. | ||
| 757 | */ | ||
| 758 |     public function setNationality($nationality) { | ||
| 762 | |||
| 763 | /** | ||
| 764 | * Set the PCode. | ||
| 765 | * | ||
| 766 | * @param string $pCode The PCode. | ||
| 767 | * @return SkiDataCustomer Returns this customer entity. | ||
| 768 | */ | ||
| 769 |     public function setPCode($pCode) { | ||
| 773 | |||
| 774 | /** | ||
| 775 | * Set the remarks. | ||
| 776 | * | ||
| 777 | * @param string $remarks The remarks. | ||
| 778 | * @return SkiDataCustomer Returns this customer entity. | ||
| 779 | */ | ||
| 780 |     public function setRemarks($remarks) { | ||
| 784 | |||
| 785 | /** | ||
| 786 | * Set the remarks 2. | ||
| 787 | * | ||
| 788 | * @param string $remarks2 The remarks 2. | ||
| 789 | * @return SkiDataCustomer Returns this customer entity. | ||
| 790 | */ | ||
| 791 |     public function setRemarks2($remarks2) { | ||
| 795 | |||
| 796 | /** | ||
| 797 | * Set the remarks 3. | ||
| 798 | * | ||
| 799 | * @param string $remarks3 The remarks 3. | ||
| 800 | * @return SkiDataCustomer Returns this customer entity. | ||
| 801 | */ | ||
| 802 |     public function setRemarks3($remarks3) { | ||
| 806 | |||
| 807 | /** | ||
| 808 | * Set the rental agreements no. | ||
| 809 | * | ||
| 810 | * @param string $rentalAgreementNo The rental agreement no. | ||
| 811 | * @return SkiDataCustomer Returns this customer entity. | ||
| 812 | */ | ||
| 813 |     public function setRentalAgreementNo($rentalAgreementNo) { | ||
| 817 | |||
| 818 | /** | ||
| 819 | * Set the street. | ||
| 820 | * | ||
| 821 | * @param string $street The street. | ||
| 822 | * @return SkiDataCustomer Returns this customer entity. | ||
| 823 | */ | ||
| 824 |     public function setStreet($street) { | ||
| 828 | |||
| 829 | /** | ||
| 830 | * Set the surname. | ||
| 831 | * | ||
| 832 | * @param string $surname The surname. | ||
| 833 | * @return SkiDataCustomer Returns this customer entity. | ||
| 834 | */ | ||
| 835 |     public function setSurname($surname) { | ||
| 839 | |||
| 840 | /** | ||
| 841 | * Set the tax code. | ||
| 842 | * | ||
| 843 | * @param string $taxCode The tax code. | ||
| 844 | * @return SkiDataCustomer Returns this customer entity. | ||
| 845 | */ | ||
| 846 |     public function setTaxCode($taxCode) { | ||
| 850 | |||
| 851 | /** | ||
| 852 | * Set the telephone. | ||
| 853 | * | ||
| 854 | * @param string $telephone The telephone. | ||
| 855 | * @return SkiDataCustomer Returns this customer entity. | ||
| 856 | */ | ||
| 857 |     public function setTelephone($telephone) { | ||
| 861 | |||
| 862 | /** | ||
| 863 | * Set the termination date. | ||
| 864 | * | ||
| 865 | * @param DateTime $terminationDate The termination date. | ||
| 866 | * @return SkiDataCustomer Returns this customer entity. | ||
| 867 | */ | ||
| 868 |     public function setTerminationDate(DateTime $terminationDate = null) { | ||
| 872 | |||
| 873 | /** | ||
| 874 | * Set the ticket return allowed. | ||
| 875 | * | ||
| 876 | * @param bool $ticketReturnAllowed The ticket return allowed. | ||
| 877 | * @return SkiDataCustomer Returns this customer entity. | ||
| 878 | */ | ||
| 879 |     public function setTicketReturnAllowed($ticketReturnAllowed) { | ||
| 883 | |||
| 884 | /** | ||
| 885 | * Set the title. | ||
| 886 | * | ||
| 887 | * @param string $title The title. | ||
| 888 | * @return SkiDataCustomer Returns this customer entity. | ||
| 889 | */ | ||
| 890 |     public function setTitle($title) { | ||
| 894 | |||
| 895 | } | ||
| 896 |