Complex classes like Reservation 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 Reservation, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 5 | class Reservation |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int $AccountNo |
||
| 10 | */ |
||
| 11 | protected $AccountNo = null; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string $FirstName |
||
| 15 | */ |
||
| 16 | protected $FirstName = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string $LastName |
||
| 20 | */ |
||
| 21 | protected $LastName = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string $Company |
||
| 25 | */ |
||
| 26 | protected $Company = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string $Address1 |
||
| 30 | */ |
||
| 31 | protected $Address1 = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string $Address2 |
||
| 35 | */ |
||
| 36 | protected $Address2 = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string $City |
||
| 40 | */ |
||
| 41 | protected $City = null; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var string $State |
||
| 45 | */ |
||
| 46 | protected $State = null; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var string $Country |
||
| 50 | */ |
||
| 51 | protected $Country = null; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var string $CPZIP |
||
| 55 | */ |
||
| 56 | protected $CPZIP = null; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var string $Phone |
||
| 60 | */ |
||
| 61 | protected $Phone = null; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @var string $EMail |
||
| 65 | */ |
||
| 66 | protected $EMail = null; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @var int $ID_PromoPush |
||
| 70 | */ |
||
| 71 | protected $ID_PromoPush = null; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var int $ID_PromoCode |
||
| 75 | */ |
||
| 76 | protected $ID_PromoCode = null; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @var int $BookingCondoType |
||
| 80 | */ |
||
| 81 | protected $BookingCondoType = null; |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @var boolean $IsRBO |
||
| 85 | */ |
||
| 86 | protected $IsRBO = null; |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @var int $CCType |
||
| 90 | */ |
||
| 91 | protected $CCType = null; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @var string $CCNo |
||
| 95 | */ |
||
| 96 | protected $CCNo = null; |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @var string $CCExp |
||
| 100 | */ |
||
| 101 | protected $CCExp = null; |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @var \DateTime $ArrivalDate |
||
| 105 | */ |
||
| 106 | protected $ArrivalDate = null; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @var \DateTime $DepartureDate |
||
| 110 | */ |
||
| 111 | protected $DepartureDate = null; |
||
| 112 | |||
| 113 | /** |
||
| 114 | * @var int $RoomType |
||
| 115 | */ |
||
| 116 | protected $RoomType = null; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * @var int $RoomQty |
||
| 120 | */ |
||
| 121 | protected $RoomQty = null; |
||
| 122 | |||
| 123 | /** |
||
| 124 | * @var int $GuestCount |
||
| 125 | */ |
||
| 126 | protected $GuestCount = null; |
||
| 127 | |||
| 128 | /** |
||
| 129 | * @var ChildrenBreakDown $ChildrenBreakDown |
||
| 130 | */ |
||
| 131 | protected $ChildrenBreakDown = null; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * @var int $Rate |
||
| 135 | */ |
||
| 136 | protected $Rate = null; |
||
| 137 | |||
| 138 | /** |
||
| 139 | * @var boolean $IsInsuranceAccepted |
||
| 140 | */ |
||
| 141 | protected $IsInsuranceAccepted = null; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @var Attributes $Attributes |
||
| 145 | */ |
||
| 146 | protected $Attributes = null; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @var Localizations $Localizations |
||
| 150 | */ |
||
| 151 | protected $Localizations = null; |
||
| 152 | |||
| 153 | /** |
||
| 154 | * @var string $SpecialRequests |
||
| 155 | */ |
||
| 156 | protected $SpecialRequests = null; |
||
| 157 | |||
| 158 | /** |
||
| 159 | * @var string $strComments |
||
| 160 | */ |
||
| 161 | protected $strComments = null; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @var int $TAAccountNo |
||
| 165 | */ |
||
| 166 | protected $TAAccountNo = null; |
||
| 167 | |||
| 168 | /** |
||
| 169 | * @var int $MemAccountNo |
||
| 170 | */ |
||
| 171 | protected $MemAccountNo = null; |
||
| 172 | |||
| 173 | /** |
||
| 174 | * @var int $CondoOwnerId |
||
| 175 | */ |
||
| 176 | protected $CondoOwnerId = null; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @var boolean $IsPaidByFOO |
||
| 180 | */ |
||
| 181 | protected $IsPaidByFOO = null; |
||
| 182 | |||
| 183 | /** |
||
| 184 | * @var int $ID_Member |
||
| 185 | */ |
||
| 186 | protected $ID_Member = null; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * @var int $DayOfBirth |
||
| 190 | */ |
||
| 191 | protected $DayOfBirth = null; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * @var int $MonthOfBirth |
||
| 195 | */ |
||
| 196 | protected $MonthOfBirth = null; |
||
| 197 | |||
| 198 | /** |
||
| 199 | * @var int $YearOfBirth |
||
| 200 | */ |
||
| 201 | protected $YearOfBirth = null; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * @var int $RoomId |
||
| 205 | */ |
||
| 206 | protected $RoomId = null; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * @var string $RoomKeyCode |
||
| 210 | */ |
||
| 211 | protected $RoomKeyCode = null; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * @var string $ELMMarketingSource |
||
| 215 | */ |
||
| 216 | protected $ELMMarketingSource = null; |
||
| 217 | |||
| 218 | /** |
||
| 219 | * @var string $ELMLeadKey |
||
| 220 | */ |
||
| 221 | protected $ELMLeadKey = null; |
||
| 222 | |||
| 223 | /** |
||
| 224 | * @var BookingAccountStatusEnum $AccountStatus |
||
| 225 | */ |
||
| 226 | protected $AccountStatus = null; |
||
| 227 | |||
| 228 | /** |
||
| 229 | * @var int $CancellationNo |
||
| 230 | */ |
||
| 231 | protected $CancellationNo = null; |
||
| 232 | |||
| 233 | /** |
||
| 234 | * @var int $BusinessSource |
||
| 235 | */ |
||
| 236 | protected $BusinessSource = null; |
||
| 237 | |||
| 238 | /** |
||
| 239 | * @var int $GuestType |
||
| 240 | */ |
||
| 241 | protected $GuestType = null; |
||
| 242 | |||
| 243 | /** |
||
| 244 | * @var int $GeographicCode |
||
| 245 | */ |
||
| 246 | protected $GeographicCode = null; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * @var int $ID_ActivityToken |
||
| 250 | */ |
||
| 251 | protected $ID_ActivityToken = null; |
||
| 252 | |||
| 253 | /** |
||
| 254 | * @param int $AccountNo |
||
| 255 | * @param int $ID_PromoPush |
||
| 256 | * @param int $ID_PromoCode |
||
| 257 | * @param int $BookingCondoType |
||
| 258 | * @param boolean $IsRBO |
||
| 259 | * @param int $CCType |
||
| 260 | * @param \DateTime $ArrivalDate |
||
| 261 | * @param \DateTime $DepartureDate |
||
| 262 | * @param int $RoomType |
||
| 263 | * @param int $RoomQty |
||
| 264 | * @param int $GuestCount |
||
| 265 | * @param int $Rate |
||
| 266 | * @param boolean $IsInsuranceAccepted |
||
| 267 | * @param int $TAAccountNo |
||
| 268 | * @param int $MemAccountNo |
||
| 269 | * @param int $CondoOwnerId |
||
| 270 | * @param boolean $IsPaidByFOO |
||
| 271 | * @param int $ID_Member |
||
| 272 | * @param int $DayOfBirth |
||
| 273 | * @param int $MonthOfBirth |
||
| 274 | * @param int $YearOfBirth |
||
| 275 | * @param int $RoomId |
||
| 276 | * @param BookingAccountStatusEnum $AccountStatus |
||
| 277 | * @param int $CancellationNo |
||
| 278 | * @param int $BusinessSource |
||
| 279 | * @param int $GuestType |
||
| 280 | * @param int $GeographicCode |
||
| 281 | * @param int $ID_ActivityToken |
||
| 282 | */ |
||
| 283 | public function __construct($AccountNo, $ID_PromoPush, $ID_PromoCode, $BookingCondoType, $IsRBO, $CCType, \DateTime $ArrivalDate, \DateTime $DepartureDate, $RoomType, $RoomQty, $GuestCount, $Rate, $IsInsuranceAccepted, $TAAccountNo, $MemAccountNo, $CondoOwnerId, $IsPaidByFOO, $ID_Member, $DayOfBirth, $MonthOfBirth, $YearOfBirth, $RoomId, $AccountStatus, $CancellationNo, $BusinessSource, $GuestType, $GeographicCode, $ID_ActivityToken) |
||
| 314 | |||
| 315 | /** |
||
| 316 | * @return int |
||
| 317 | */ |
||
| 318 | public function getAccountNo() |
||
| 322 | |||
| 323 | /** |
||
| 324 | * @param int $AccountNo |
||
| 325 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 326 | */ |
||
| 327 | public function setAccountNo($AccountNo) |
||
| 332 | |||
| 333 | /** |
||
| 334 | * @return string |
||
| 335 | */ |
||
| 336 | public function getFirstName() |
||
| 340 | |||
| 341 | /** |
||
| 342 | * @param string $FirstName |
||
| 343 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 344 | */ |
||
| 345 | public function setFirstName($FirstName) |
||
| 350 | |||
| 351 | /** |
||
| 352 | * @return string |
||
| 353 | */ |
||
| 354 | public function getLastName() |
||
| 358 | |||
| 359 | /** |
||
| 360 | * @param string $LastName |
||
| 361 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 362 | */ |
||
| 363 | public function setLastName($LastName) |
||
| 368 | |||
| 369 | /** |
||
| 370 | * @return string |
||
| 371 | */ |
||
| 372 | public function getCompany() |
||
| 376 | |||
| 377 | /** |
||
| 378 | * @param string $Company |
||
| 379 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 380 | */ |
||
| 381 | public function setCompany($Company) |
||
| 386 | |||
| 387 | /** |
||
| 388 | * @return string |
||
| 389 | */ |
||
| 390 | public function getAddress1() |
||
| 394 | |||
| 395 | /** |
||
| 396 | * @param string $Address1 |
||
| 397 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 398 | */ |
||
| 399 | public function setAddress1($Address1) |
||
| 404 | |||
| 405 | /** |
||
| 406 | * @return string |
||
| 407 | */ |
||
| 408 | public function getAddress2() |
||
| 412 | |||
| 413 | /** |
||
| 414 | * @param string $Address2 |
||
| 415 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 416 | */ |
||
| 417 | public function setAddress2($Address2) |
||
| 422 | |||
| 423 | /** |
||
| 424 | * @return string |
||
| 425 | */ |
||
| 426 | public function getCity() |
||
| 430 | |||
| 431 | /** |
||
| 432 | * @param string $City |
||
| 433 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 434 | */ |
||
| 435 | public function setCity($City) |
||
| 440 | |||
| 441 | /** |
||
| 442 | * @return string |
||
| 443 | */ |
||
| 444 | public function getState() |
||
| 448 | |||
| 449 | /** |
||
| 450 | * @param string $State |
||
| 451 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 452 | */ |
||
| 453 | public function setState($State) |
||
| 458 | |||
| 459 | /** |
||
| 460 | * @return string |
||
| 461 | */ |
||
| 462 | public function getCountry() |
||
| 466 | |||
| 467 | /** |
||
| 468 | * @param string $Country |
||
| 469 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 470 | */ |
||
| 471 | public function setCountry($Country) |
||
| 476 | |||
| 477 | /** |
||
| 478 | * @return string |
||
| 479 | */ |
||
| 480 | public function getCPZIP() |
||
| 484 | |||
| 485 | /** |
||
| 486 | * @param string $CPZIP |
||
| 487 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 488 | */ |
||
| 489 | public function setCPZIP($CPZIP) |
||
| 494 | |||
| 495 | /** |
||
| 496 | * @return string |
||
| 497 | */ |
||
| 498 | public function getPhone() |
||
| 502 | |||
| 503 | /** |
||
| 504 | * @param string $Phone |
||
| 505 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 506 | */ |
||
| 507 | public function setPhone($Phone) |
||
| 512 | |||
| 513 | /** |
||
| 514 | * @return string |
||
| 515 | */ |
||
| 516 | public function getEMail() |
||
| 520 | |||
| 521 | /** |
||
| 522 | * @param string $EMail |
||
| 523 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 524 | */ |
||
| 525 | public function setEMail($EMail) |
||
| 530 | |||
| 531 | /** |
||
| 532 | * @return int |
||
| 533 | */ |
||
| 534 | public function getID_PromoPush() |
||
| 538 | |||
| 539 | /** |
||
| 540 | * @param int $ID_PromoPush |
||
| 541 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 542 | */ |
||
| 543 | public function setID_PromoPush($ID_PromoPush) |
||
| 548 | |||
| 549 | /** |
||
| 550 | * @return int |
||
| 551 | */ |
||
| 552 | public function getID_PromoCode() |
||
| 556 | |||
| 557 | /** |
||
| 558 | * @param int $ID_PromoCode |
||
| 559 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 560 | */ |
||
| 561 | public function setID_PromoCode($ID_PromoCode) |
||
| 566 | |||
| 567 | /** |
||
| 568 | * @return int |
||
| 569 | */ |
||
| 570 | public function getBookingCondoType() |
||
| 574 | |||
| 575 | /** |
||
| 576 | * @param int $BookingCondoType |
||
| 577 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 578 | */ |
||
| 579 | public function setBookingCondoType($BookingCondoType) |
||
| 584 | |||
| 585 | /** |
||
| 586 | * @return boolean |
||
| 587 | */ |
||
| 588 | public function getIsRBO() |
||
| 592 | |||
| 593 | /** |
||
| 594 | * @param boolean $IsRBO |
||
| 595 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 596 | */ |
||
| 597 | public function setIsRBO($IsRBO) |
||
| 602 | |||
| 603 | /** |
||
| 604 | * @return int |
||
| 605 | */ |
||
| 606 | public function getCCType() |
||
| 610 | |||
| 611 | /** |
||
| 612 | * @param int $CCType |
||
| 613 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 614 | */ |
||
| 615 | public function setCCType($CCType) |
||
| 620 | |||
| 621 | /** |
||
| 622 | * @return string |
||
| 623 | */ |
||
| 624 | public function getCCNo() |
||
| 628 | |||
| 629 | /** |
||
| 630 | * @param string $CCNo |
||
| 631 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 632 | */ |
||
| 633 | public function setCCNo($CCNo) |
||
| 638 | |||
| 639 | /** |
||
| 640 | * @return string |
||
| 641 | */ |
||
| 642 | public function getCCExp() |
||
| 646 | |||
| 647 | /** |
||
| 648 | * @param string $CCExp |
||
| 649 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 650 | */ |
||
| 651 | public function setCCExp($CCExp) |
||
| 656 | |||
| 657 | /** |
||
| 658 | * @return \DateTime |
||
| 659 | */ |
||
| 660 | public function getArrivalDate() |
||
| 672 | |||
| 673 | /** |
||
| 674 | * @param \DateTime $ArrivalDate |
||
| 675 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 676 | */ |
||
| 677 | public function setArrivalDate(\DateTime $ArrivalDate) |
||
| 682 | |||
| 683 | /** |
||
| 684 | * @return \DateTime |
||
| 685 | */ |
||
| 686 | public function getDepartureDate() |
||
| 698 | |||
| 699 | /** |
||
| 700 | * @param \DateTime $DepartureDate |
||
| 701 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 702 | */ |
||
| 703 | public function setDepartureDate(\DateTime $DepartureDate) |
||
| 708 | |||
| 709 | /** |
||
| 710 | * @return int |
||
| 711 | */ |
||
| 712 | public function getRoomType() |
||
| 716 | |||
| 717 | /** |
||
| 718 | * @param int $RoomType |
||
| 719 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 720 | */ |
||
| 721 | public function setRoomType($RoomType) |
||
| 726 | |||
| 727 | /** |
||
| 728 | * @return int |
||
| 729 | */ |
||
| 730 | public function getRoomQty() |
||
| 734 | |||
| 735 | /** |
||
| 736 | * @param int $RoomQty |
||
| 737 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 738 | */ |
||
| 739 | public function setRoomQty($RoomQty) |
||
| 744 | |||
| 745 | /** |
||
| 746 | * @return int |
||
| 747 | */ |
||
| 748 | public function getGuestCount() |
||
| 752 | |||
| 753 | /** |
||
| 754 | * @param int $GuestCount |
||
| 755 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 756 | */ |
||
| 757 | public function setGuestCount($GuestCount) |
||
| 762 | |||
| 763 | /** |
||
| 764 | * @return ChildrenBreakDown |
||
| 765 | */ |
||
| 766 | public function getChildrenBreakDown() |
||
| 770 | |||
| 771 | /** |
||
| 772 | * @param ChildrenBreakDown $ChildrenBreakDown |
||
| 773 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 774 | */ |
||
| 775 | public function setChildrenBreakDown($ChildrenBreakDown) |
||
| 780 | |||
| 781 | /** |
||
| 782 | * @return int |
||
| 783 | */ |
||
| 784 | public function getRate() |
||
| 788 | |||
| 789 | /** |
||
| 790 | * @param int $Rate |
||
| 791 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 792 | */ |
||
| 793 | public function setRate($Rate) |
||
| 798 | |||
| 799 | /** |
||
| 800 | * @return boolean |
||
| 801 | */ |
||
| 802 | public function getIsInsuranceAccepted() |
||
| 806 | |||
| 807 | /** |
||
| 808 | * @param boolean $IsInsuranceAccepted |
||
| 809 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 810 | */ |
||
| 811 | public function setIsInsuranceAccepted($IsInsuranceAccepted) |
||
| 816 | |||
| 817 | /** |
||
| 818 | * @return Attributes |
||
| 819 | */ |
||
| 820 | public function getAttributes() |
||
| 824 | |||
| 825 | /** |
||
| 826 | * @param Attributes $Attributes |
||
| 827 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 828 | */ |
||
| 829 | public function setAttributes($Attributes) |
||
| 834 | |||
| 835 | /** |
||
| 836 | * @return Localizations |
||
| 837 | */ |
||
| 838 | public function getLocalizations() |
||
| 842 | |||
| 843 | /** |
||
| 844 | * @param Localizations $Localizations |
||
| 845 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 846 | */ |
||
| 847 | public function setLocalizations($Localizations) |
||
| 852 | |||
| 853 | /** |
||
| 854 | * @return string |
||
| 855 | */ |
||
| 856 | public function getSpecialRequests() |
||
| 860 | |||
| 861 | /** |
||
| 862 | * @param string $SpecialRequests |
||
| 863 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 864 | */ |
||
| 865 | public function setSpecialRequests($SpecialRequests) |
||
| 870 | |||
| 871 | /** |
||
| 872 | * @return string |
||
| 873 | */ |
||
| 874 | public function getStrComments() |
||
| 878 | |||
| 879 | /** |
||
| 880 | * @param string $strComments |
||
| 881 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 882 | */ |
||
| 883 | public function setStrComments($strComments) |
||
| 888 | |||
| 889 | /** |
||
| 890 | * @return int |
||
| 891 | */ |
||
| 892 | public function getTAAccountNo() |
||
| 896 | |||
| 897 | /** |
||
| 898 | * @param int $TAAccountNo |
||
| 899 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 900 | */ |
||
| 901 | public function setTAAccountNo($TAAccountNo) |
||
| 906 | |||
| 907 | /** |
||
| 908 | * @return int |
||
| 909 | */ |
||
| 910 | public function getMemAccountNo() |
||
| 914 | |||
| 915 | /** |
||
| 916 | * @param int $MemAccountNo |
||
| 917 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 918 | */ |
||
| 919 | public function setMemAccountNo($MemAccountNo) |
||
| 924 | |||
| 925 | /** |
||
| 926 | * @return int |
||
| 927 | */ |
||
| 928 | public function getCondoOwnerId() |
||
| 932 | |||
| 933 | /** |
||
| 934 | * @param int $CondoOwnerId |
||
| 935 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 936 | */ |
||
| 937 | public function setCondoOwnerId($CondoOwnerId) |
||
| 942 | |||
| 943 | /** |
||
| 944 | * @return boolean |
||
| 945 | */ |
||
| 946 | public function getIsPaidByFOO() |
||
| 950 | |||
| 951 | /** |
||
| 952 | * @param boolean $IsPaidByFOO |
||
| 953 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 954 | */ |
||
| 955 | public function setIsPaidByFOO($IsPaidByFOO) |
||
| 960 | |||
| 961 | /** |
||
| 962 | * @return int |
||
| 963 | */ |
||
| 964 | public function getID_Member() |
||
| 968 | |||
| 969 | /** |
||
| 970 | * @param int $ID_Member |
||
| 971 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 972 | */ |
||
| 973 | public function setID_Member($ID_Member) |
||
| 978 | |||
| 979 | /** |
||
| 980 | * @return int |
||
| 981 | */ |
||
| 982 | public function getDayOfBirth() |
||
| 986 | |||
| 987 | /** |
||
| 988 | * @param int $DayOfBirth |
||
| 989 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 990 | */ |
||
| 991 | public function setDayOfBirth($DayOfBirth) |
||
| 996 | |||
| 997 | /** |
||
| 998 | * @return int |
||
| 999 | */ |
||
| 1000 | public function getMonthOfBirth() |
||
| 1004 | |||
| 1005 | /** |
||
| 1006 | * @param int $MonthOfBirth |
||
| 1007 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1008 | */ |
||
| 1009 | public function setMonthOfBirth($MonthOfBirth) |
||
| 1014 | |||
| 1015 | /** |
||
| 1016 | * @return int |
||
| 1017 | */ |
||
| 1018 | public function getYearOfBirth() |
||
| 1022 | |||
| 1023 | /** |
||
| 1024 | * @param int $YearOfBirth |
||
| 1025 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1026 | */ |
||
| 1027 | public function setYearOfBirth($YearOfBirth) |
||
| 1032 | |||
| 1033 | /** |
||
| 1034 | * @return int |
||
| 1035 | */ |
||
| 1036 | public function getRoomId() |
||
| 1040 | |||
| 1041 | /** |
||
| 1042 | * @param int $RoomId |
||
| 1043 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1044 | */ |
||
| 1045 | public function setRoomId($RoomId) |
||
| 1050 | |||
| 1051 | /** |
||
| 1052 | * @return string |
||
| 1053 | */ |
||
| 1054 | public function getRoomKeyCode() |
||
| 1058 | |||
| 1059 | /** |
||
| 1060 | * @param string $RoomKeyCode |
||
| 1061 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1062 | */ |
||
| 1063 | public function setRoomKeyCode($RoomKeyCode) |
||
| 1068 | |||
| 1069 | /** |
||
| 1070 | * @return string |
||
| 1071 | */ |
||
| 1072 | public function getELMMarketingSource() |
||
| 1076 | |||
| 1077 | /** |
||
| 1078 | * @param string $ELMMarketingSource |
||
| 1079 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1080 | */ |
||
| 1081 | public function setELMMarketingSource($ELMMarketingSource) |
||
| 1086 | |||
| 1087 | /** |
||
| 1088 | * @return string |
||
| 1089 | */ |
||
| 1090 | public function getELMLeadKey() |
||
| 1094 | |||
| 1095 | /** |
||
| 1096 | * @param string $ELMLeadKey |
||
| 1097 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1098 | */ |
||
| 1099 | public function setELMLeadKey($ELMLeadKey) |
||
| 1104 | |||
| 1105 | /** |
||
| 1106 | * @return BookingAccountStatusEnum |
||
| 1107 | */ |
||
| 1108 | public function getAccountStatus() |
||
| 1112 | |||
| 1113 | /** |
||
| 1114 | * @param BookingAccountStatusEnum $AccountStatus |
||
| 1115 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1116 | */ |
||
| 1117 | public function setAccountStatus($AccountStatus) |
||
| 1122 | |||
| 1123 | /** |
||
| 1124 | * @return int |
||
| 1125 | */ |
||
| 1126 | public function getCancellationNo() |
||
| 1130 | |||
| 1131 | /** |
||
| 1132 | * @param int $CancellationNo |
||
| 1133 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1134 | */ |
||
| 1135 | public function setCancellationNo($CancellationNo) |
||
| 1140 | |||
| 1141 | /** |
||
| 1142 | * @return int |
||
| 1143 | */ |
||
| 1144 | public function getBusinessSource() |
||
| 1148 | |||
| 1149 | /** |
||
| 1150 | * @param int $BusinessSource |
||
| 1151 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1152 | */ |
||
| 1153 | public function setBusinessSource($BusinessSource) |
||
| 1158 | |||
| 1159 | /** |
||
| 1160 | * @return int |
||
| 1161 | */ |
||
| 1162 | public function getGuestType() |
||
| 1166 | |||
| 1167 | /** |
||
| 1168 | * @param int $GuestType |
||
| 1169 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1170 | */ |
||
| 1171 | public function setGuestType($GuestType) |
||
| 1176 | |||
| 1177 | /** |
||
| 1178 | * @return int |
||
| 1179 | */ |
||
| 1180 | public function getGeographicCode() |
||
| 1184 | |||
| 1185 | /** |
||
| 1186 | * @param int $GeographicCode |
||
| 1187 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1188 | */ |
||
| 1189 | public function setGeographicCode($GeographicCode) |
||
| 1194 | |||
| 1195 | /** |
||
| 1196 | * @return int |
||
| 1197 | */ |
||
| 1198 | public function getID_ActivityToken() |
||
| 1202 | |||
| 1203 | /** |
||
| 1204 | * @param int $ID_ActivityToken |
||
| 1205 | * @return \Gueststream\PMS\IQWare\API\Reservation |
||
| 1206 | */ |
||
| 1207 | public function setID_ActivityToken($ID_ActivityToken) |
||
| 1212 | } |
||
| 1213 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..