Complex classes like RoomSpecification 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 RoomSpecification, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 5 | class RoomSpecification |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int $ID_Room |
||
| 10 | */ |
||
| 11 | protected $ID_Room = null; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int $ID_Bedding |
||
| 15 | */ |
||
| 16 | protected $ID_Bedding = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var int $ID_RoomType |
||
| 20 | */ |
||
| 21 | protected $ID_RoomType = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string $OptionalRoomName |
||
| 25 | */ |
||
| 26 | protected $OptionalRoomName = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string $Description |
||
| 30 | */ |
||
| 31 | protected $Description = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string $WebDescription |
||
| 35 | */ |
||
| 36 | protected $WebDescription = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var int $ID_Building |
||
| 40 | */ |
||
| 41 | protected $ID_Building = null; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var int $ID_AccommodationType |
||
| 45 | */ |
||
| 46 | protected $ID_AccommodationType = null; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var boolean $IsSoldByRoomNo |
||
| 50 | */ |
||
| 51 | protected $IsSoldByRoomNo = null; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var boolean $IsVirtual |
||
| 55 | */ |
||
| 56 | protected $IsVirtual = null; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var string $RoomNo |
||
| 60 | */ |
||
| 61 | protected $RoomNo = null; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @var string $Address1 |
||
| 65 | */ |
||
| 66 | protected $Address1 = null; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @var string $LastName |
||
| 70 | */ |
||
| 71 | protected $LastName = null; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var string $FirstName |
||
| 75 | */ |
||
| 76 | protected $FirstName = null; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @var string $City |
||
| 80 | */ |
||
| 81 | protected $City = null; |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @var string $State |
||
| 85 | */ |
||
| 86 | protected $State = null; |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @var string $Title |
||
| 90 | */ |
||
| 91 | protected $Title = null; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @var string $Country |
||
| 95 | */ |
||
| 96 | protected $Country = null; |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @var string $ZipCode |
||
| 100 | */ |
||
| 101 | protected $ZipCode = null; |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @var string $Address2 |
||
| 105 | */ |
||
| 106 | protected $Address2 = null; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @var string $WebSiteURL |
||
| 110 | */ |
||
| 111 | protected $WebSiteURL = null; |
||
| 112 | |||
| 113 | /** |
||
| 114 | * @var string $Email |
||
| 115 | */ |
||
| 116 | protected $Email = null; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * @var string $ConfirmBy |
||
| 120 | */ |
||
| 121 | protected $ConfirmBy = null; |
||
| 122 | |||
| 123 | /** |
||
| 124 | * @var string $IsMailing |
||
| 125 | */ |
||
| 126 | protected $IsMailing = null; |
||
| 127 | |||
| 128 | /** |
||
| 129 | * @var string $ContactType |
||
| 130 | */ |
||
| 131 | protected $ContactType = null; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * @var string $OtherCieName |
||
| 135 | */ |
||
| 136 | protected $OtherCieName = null; |
||
| 137 | |||
| 138 | /** |
||
| 139 | * @var string $BillingType |
||
| 140 | */ |
||
| 141 | protected $BillingType = null; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @var int $ID_SuiteConfiguration |
||
| 145 | */ |
||
| 146 | protected $ID_SuiteConfiguration = null; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @var string $SuiteName |
||
| 150 | */ |
||
| 151 | protected $SuiteName = null; |
||
| 152 | |||
| 153 | /** |
||
| 154 | * @var string $OldRoomNo |
||
| 155 | */ |
||
| 156 | protected $OldRoomNo = null; |
||
| 157 | |||
| 158 | /** |
||
| 159 | * @var string $FloorNo |
||
| 160 | */ |
||
| 161 | protected $FloorNo = null; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @var int $ID_Floor |
||
| 165 | */ |
||
| 166 | protected $ID_Floor = null; |
||
| 167 | |||
| 168 | /** |
||
| 169 | * @var int $NbrSleeps |
||
| 170 | */ |
||
| 171 | protected $NbrSleeps = null; |
||
| 172 | |||
| 173 | /** |
||
| 174 | * @var ArrayOfInt $RoomAttributeIDs |
||
| 175 | */ |
||
| 176 | protected $RoomAttributeIDs = null; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @var ArrayOfInt $RoomLocationIDs |
||
| 180 | */ |
||
| 181 | protected $RoomLocationIDs = null; |
||
| 182 | |||
| 183 | /** |
||
| 184 | * @var int $NbrFloors |
||
| 185 | */ |
||
| 186 | protected $NbrFloors = null; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * @var float $TotalBed |
||
| 190 | */ |
||
| 191 | protected $TotalBed = null; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * @var int $NbrMasterBeds |
||
| 195 | */ |
||
| 196 | protected $NbrMasterBeds = null; |
||
| 197 | |||
| 198 | /** |
||
| 199 | * @var float $TotalBath |
||
| 200 | */ |
||
| 201 | protected $TotalBath = null; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * @var int $NbrDemiBaths |
||
| 205 | */ |
||
| 206 | protected $NbrDemiBaths = null; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * @var boolean $IsSelectChoice |
||
| 210 | */ |
||
| 211 | protected $IsSelectChoice = null; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * @var float $StarRating |
||
| 215 | */ |
||
| 216 | protected $StarRating = null; |
||
| 217 | |||
| 218 | /** |
||
| 219 | * @var int $ID_RoomChoicePrice |
||
| 220 | */ |
||
| 221 | protected $ID_RoomChoicePrice = null; |
||
| 222 | |||
| 223 | /** |
||
| 224 | * @var float $RoomLatitude |
||
| 225 | */ |
||
| 226 | protected $RoomLatitude = null; |
||
| 227 | |||
| 228 | /** |
||
| 229 | * @var float $RoomLongitude |
||
| 230 | */ |
||
| 231 | protected $RoomLongitude = null; |
||
| 232 | |||
| 233 | /** |
||
| 234 | * @param int $ID_Room |
||
| 235 | * @param int $ID_Bedding |
||
| 236 | * @param int $ID_RoomType |
||
| 237 | * @param int $ID_Building |
||
| 238 | * @param int $ID_AccommodationType |
||
| 239 | * @param boolean $IsSoldByRoomNo |
||
| 240 | * @param boolean $IsVirtual |
||
| 241 | * @param int $ID_SuiteConfiguration |
||
| 242 | * @param int $ID_Floor |
||
| 243 | * @param int $NbrSleeps |
||
| 244 | * @param int $NbrFloors |
||
| 245 | * @param float $TotalBed |
||
| 246 | * @param int $NbrMasterBeds |
||
| 247 | * @param float $TotalBath |
||
| 248 | * @param int $NbrDemiBaths |
||
| 249 | * @param boolean $IsSelectChoice |
||
| 250 | * @param float $StarRating |
||
| 251 | * @param int $ID_RoomChoicePrice |
||
| 252 | * @param float $RoomLatitude |
||
| 253 | * @param float $RoomLongitude |
||
| 254 | */ |
||
| 255 | public function __construct($ID_Room, $ID_Bedding, $ID_RoomType, $ID_Building, $ID_AccommodationType, $IsSoldByRoomNo, $IsVirtual, $ID_SuiteConfiguration, $ID_Floor, $NbrSleeps, $NbrFloors, $TotalBed, $NbrMasterBeds, $TotalBath, $NbrDemiBaths, $IsSelectChoice, $StarRating, $ID_RoomChoicePrice, $RoomLatitude, $RoomLongitude) |
||
| 278 | |||
| 279 | /** |
||
| 280 | * @return int |
||
| 281 | */ |
||
| 282 | public function getID_Room() |
||
| 286 | |||
| 287 | /** |
||
| 288 | * @param int $ID_Room |
||
| 289 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 290 | */ |
||
| 291 | public function setID_Room($ID_Room) |
||
| 296 | |||
| 297 | /** |
||
| 298 | * @return int |
||
| 299 | */ |
||
| 300 | public function getID_Bedding() |
||
| 304 | |||
| 305 | /** |
||
| 306 | * @param int $ID_Bedding |
||
| 307 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 308 | */ |
||
| 309 | public function setID_Bedding($ID_Bedding) |
||
| 314 | |||
| 315 | /** |
||
| 316 | * @return int |
||
| 317 | */ |
||
| 318 | public function getID_RoomType() |
||
| 322 | |||
| 323 | /** |
||
| 324 | * @param int $ID_RoomType |
||
| 325 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 326 | */ |
||
| 327 | public function setID_RoomType($ID_RoomType) |
||
| 332 | |||
| 333 | /** |
||
| 334 | * @return string |
||
| 335 | */ |
||
| 336 | public function getOptionalRoomName() |
||
| 340 | |||
| 341 | /** |
||
| 342 | * @param string $OptionalRoomName |
||
| 343 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 344 | */ |
||
| 345 | public function setOptionalRoomName($OptionalRoomName) |
||
| 350 | |||
| 351 | /** |
||
| 352 | * @return string |
||
| 353 | */ |
||
| 354 | public function getDescription() |
||
| 358 | |||
| 359 | /** |
||
| 360 | * @param string $Description |
||
| 361 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 362 | */ |
||
| 363 | public function setDescription($Description) |
||
| 368 | |||
| 369 | /** |
||
| 370 | * @return string |
||
| 371 | */ |
||
| 372 | public function getWebDescription() |
||
| 376 | |||
| 377 | /** |
||
| 378 | * @param string $WebDescription |
||
| 379 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 380 | */ |
||
| 381 | public function setWebDescription($WebDescription) |
||
| 386 | |||
| 387 | /** |
||
| 388 | * @return int |
||
| 389 | */ |
||
| 390 | public function getID_Building() |
||
| 394 | |||
| 395 | /** |
||
| 396 | * @param int $ID_Building |
||
| 397 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 398 | */ |
||
| 399 | public function setID_Building($ID_Building) |
||
| 404 | |||
| 405 | /** |
||
| 406 | * @return int |
||
| 407 | */ |
||
| 408 | public function getID_AccommodationType() |
||
| 412 | |||
| 413 | /** |
||
| 414 | * @param int $ID_AccommodationType |
||
| 415 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 416 | */ |
||
| 417 | public function setID_AccommodationType($ID_AccommodationType) |
||
| 422 | |||
| 423 | /** |
||
| 424 | * @return boolean |
||
| 425 | */ |
||
| 426 | public function getIsSoldByRoomNo() |
||
| 430 | |||
| 431 | /** |
||
| 432 | * @param boolean $IsSoldByRoomNo |
||
| 433 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 434 | */ |
||
| 435 | public function setIsSoldByRoomNo($IsSoldByRoomNo) |
||
| 440 | |||
| 441 | /** |
||
| 442 | * @return boolean |
||
| 443 | */ |
||
| 444 | public function getIsVirtual() |
||
| 448 | |||
| 449 | /** |
||
| 450 | * @param boolean $IsVirtual |
||
| 451 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 452 | */ |
||
| 453 | public function setIsVirtual($IsVirtual) |
||
| 458 | |||
| 459 | /** |
||
| 460 | * @return string |
||
| 461 | */ |
||
| 462 | public function getRoomNo() |
||
| 466 | |||
| 467 | /** |
||
| 468 | * @param string $RoomNo |
||
| 469 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 470 | */ |
||
| 471 | public function setRoomNo($RoomNo) |
||
| 476 | |||
| 477 | /** |
||
| 478 | * @return string |
||
| 479 | */ |
||
| 480 | public function getAddress1() |
||
| 484 | |||
| 485 | /** |
||
| 486 | * @param string $Address1 |
||
| 487 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 488 | */ |
||
| 489 | public function setAddress1($Address1) |
||
| 494 | |||
| 495 | /** |
||
| 496 | * @return string |
||
| 497 | */ |
||
| 498 | public function getLastName() |
||
| 502 | |||
| 503 | /** |
||
| 504 | * @param string $LastName |
||
| 505 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 506 | */ |
||
| 507 | public function setLastName($LastName) |
||
| 512 | |||
| 513 | /** |
||
| 514 | * @return string |
||
| 515 | */ |
||
| 516 | public function getFirstName() |
||
| 520 | |||
| 521 | /** |
||
| 522 | * @param string $FirstName |
||
| 523 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 524 | */ |
||
| 525 | public function setFirstName($FirstName) |
||
| 530 | |||
| 531 | /** |
||
| 532 | * @return string |
||
| 533 | */ |
||
| 534 | public function getCity() |
||
| 538 | |||
| 539 | /** |
||
| 540 | * @param string $City |
||
| 541 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 542 | */ |
||
| 543 | public function setCity($City) |
||
| 548 | |||
| 549 | /** |
||
| 550 | * @return string |
||
| 551 | */ |
||
| 552 | public function getState() |
||
| 556 | |||
| 557 | /** |
||
| 558 | * @param string $State |
||
| 559 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 560 | */ |
||
| 561 | public function setState($State) |
||
| 566 | |||
| 567 | /** |
||
| 568 | * @return string |
||
| 569 | */ |
||
| 570 | public function getTitle() |
||
| 574 | |||
| 575 | /** |
||
| 576 | * @param string $Title |
||
| 577 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 578 | */ |
||
| 579 | public function setTitle($Title) |
||
| 584 | |||
| 585 | /** |
||
| 586 | * @return string |
||
| 587 | */ |
||
| 588 | public function getCountry() |
||
| 592 | |||
| 593 | /** |
||
| 594 | * @param string $Country |
||
| 595 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 596 | */ |
||
| 597 | public function setCountry($Country) |
||
| 602 | |||
| 603 | /** |
||
| 604 | * @return string |
||
| 605 | */ |
||
| 606 | public function getZipCode() |
||
| 610 | |||
| 611 | /** |
||
| 612 | * @param string $ZipCode |
||
| 613 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 614 | */ |
||
| 615 | public function setZipCode($ZipCode) |
||
| 620 | |||
| 621 | /** |
||
| 622 | * @return string |
||
| 623 | */ |
||
| 624 | public function getAddress2() |
||
| 628 | |||
| 629 | /** |
||
| 630 | * @param string $Address2 |
||
| 631 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 632 | */ |
||
| 633 | public function setAddress2($Address2) |
||
| 638 | |||
| 639 | /** |
||
| 640 | * @return string |
||
| 641 | */ |
||
| 642 | public function getWebSiteURL() |
||
| 646 | |||
| 647 | /** |
||
| 648 | * @param string $WebSiteURL |
||
| 649 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 650 | */ |
||
| 651 | public function setWebSiteURL($WebSiteURL) |
||
| 656 | |||
| 657 | /** |
||
| 658 | * @return string |
||
| 659 | */ |
||
| 660 | public function getEmail() |
||
| 664 | |||
| 665 | /** |
||
| 666 | * @param string $Email |
||
| 667 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 668 | */ |
||
| 669 | public function setEmail($Email) |
||
| 674 | |||
| 675 | /** |
||
| 676 | * @return string |
||
| 677 | */ |
||
| 678 | public function getConfirmBy() |
||
| 682 | |||
| 683 | /** |
||
| 684 | * @param string $ConfirmBy |
||
| 685 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 686 | */ |
||
| 687 | public function setConfirmBy($ConfirmBy) |
||
| 692 | |||
| 693 | /** |
||
| 694 | * @return string |
||
| 695 | */ |
||
| 696 | public function getIsMailing() |
||
| 700 | |||
| 701 | /** |
||
| 702 | * @param string $IsMailing |
||
| 703 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 704 | */ |
||
| 705 | public function setIsMailing($IsMailing) |
||
| 710 | |||
| 711 | /** |
||
| 712 | * @return string |
||
| 713 | */ |
||
| 714 | public function getContactType() |
||
| 718 | |||
| 719 | /** |
||
| 720 | * @param string $ContactType |
||
| 721 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 722 | */ |
||
| 723 | public function setContactType($ContactType) |
||
| 728 | |||
| 729 | /** |
||
| 730 | * @return string |
||
| 731 | */ |
||
| 732 | public function getOtherCieName() |
||
| 736 | |||
| 737 | /** |
||
| 738 | * @param string $OtherCieName |
||
| 739 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 740 | */ |
||
| 741 | public function setOtherCieName($OtherCieName) |
||
| 746 | |||
| 747 | /** |
||
| 748 | * @return string |
||
| 749 | */ |
||
| 750 | public function getBillingType() |
||
| 754 | |||
| 755 | /** |
||
| 756 | * @param string $BillingType |
||
| 757 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 758 | */ |
||
| 759 | public function setBillingType($BillingType) |
||
| 764 | |||
| 765 | /** |
||
| 766 | * @return int |
||
| 767 | */ |
||
| 768 | public function getID_SuiteConfiguration() |
||
| 772 | |||
| 773 | /** |
||
| 774 | * @param int $ID_SuiteConfiguration |
||
| 775 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 776 | */ |
||
| 777 | public function setID_SuiteConfiguration($ID_SuiteConfiguration) |
||
| 782 | |||
| 783 | /** |
||
| 784 | * @return string |
||
| 785 | */ |
||
| 786 | public function getSuiteName() |
||
| 790 | |||
| 791 | /** |
||
| 792 | * @param string $SuiteName |
||
| 793 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 794 | */ |
||
| 795 | public function setSuiteName($SuiteName) |
||
| 800 | |||
| 801 | /** |
||
| 802 | * @return string |
||
| 803 | */ |
||
| 804 | public function getOldRoomNo() |
||
| 808 | |||
| 809 | /** |
||
| 810 | * @param string $OldRoomNo |
||
| 811 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 812 | */ |
||
| 813 | public function setOldRoomNo($OldRoomNo) |
||
| 818 | |||
| 819 | /** |
||
| 820 | * @return string |
||
| 821 | */ |
||
| 822 | public function getFloorNo() |
||
| 826 | |||
| 827 | /** |
||
| 828 | * @param string $FloorNo |
||
| 829 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 830 | */ |
||
| 831 | public function setFloorNo($FloorNo) |
||
| 836 | |||
| 837 | /** |
||
| 838 | * @return int |
||
| 839 | */ |
||
| 840 | public function getID_Floor() |
||
| 844 | |||
| 845 | /** |
||
| 846 | * @param int $ID_Floor |
||
| 847 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 848 | */ |
||
| 849 | public function setID_Floor($ID_Floor) |
||
| 854 | |||
| 855 | /** |
||
| 856 | * @return int |
||
| 857 | */ |
||
| 858 | public function getNbrSleeps() |
||
| 862 | |||
| 863 | /** |
||
| 864 | * @param int $NbrSleeps |
||
| 865 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 866 | */ |
||
| 867 | public function setNbrSleeps($NbrSleeps) |
||
| 872 | |||
| 873 | /** |
||
| 874 | * @return ArrayOfInt |
||
| 875 | */ |
||
| 876 | public function getRoomAttributeIDs() |
||
| 880 | |||
| 881 | /** |
||
| 882 | * @param ArrayOfInt $RoomAttributeIDs |
||
| 883 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 884 | */ |
||
| 885 | public function setRoomAttributeIDs($RoomAttributeIDs) |
||
| 890 | |||
| 891 | /** |
||
| 892 | * @return ArrayOfInt |
||
| 893 | */ |
||
| 894 | public function getRoomLocationIDs() |
||
| 898 | |||
| 899 | /** |
||
| 900 | * @param ArrayOfInt $RoomLocationIDs |
||
| 901 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 902 | */ |
||
| 903 | public function setRoomLocationIDs($RoomLocationIDs) |
||
| 908 | |||
| 909 | /** |
||
| 910 | * @return int |
||
| 911 | */ |
||
| 912 | public function getNbrFloors() |
||
| 916 | |||
| 917 | /** |
||
| 918 | * @param int $NbrFloors |
||
| 919 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 920 | */ |
||
| 921 | public function setNbrFloors($NbrFloors) |
||
| 926 | |||
| 927 | /** |
||
| 928 | * @return float |
||
| 929 | */ |
||
| 930 | public function getTotalBed() |
||
| 934 | |||
| 935 | /** |
||
| 936 | * @param float $TotalBed |
||
| 937 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 938 | */ |
||
| 939 | public function setTotalBed($TotalBed) |
||
| 944 | |||
| 945 | /** |
||
| 946 | * @return int |
||
| 947 | */ |
||
| 948 | public function getNbrMasterBeds() |
||
| 952 | |||
| 953 | /** |
||
| 954 | * @param int $NbrMasterBeds |
||
| 955 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 956 | */ |
||
| 957 | public function setNbrMasterBeds($NbrMasterBeds) |
||
| 962 | |||
| 963 | /** |
||
| 964 | * @return float |
||
| 965 | */ |
||
| 966 | public function getTotalBath() |
||
| 970 | |||
| 971 | /** |
||
| 972 | * @param float $TotalBath |
||
| 973 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 974 | */ |
||
| 975 | public function setTotalBath($TotalBath) |
||
| 980 | |||
| 981 | /** |
||
| 982 | * @return int |
||
| 983 | */ |
||
| 984 | public function getNbrDemiBaths() |
||
| 988 | |||
| 989 | /** |
||
| 990 | * @param int $NbrDemiBaths |
||
| 991 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 992 | */ |
||
| 993 | public function setNbrDemiBaths($NbrDemiBaths) |
||
| 998 | |||
| 999 | /** |
||
| 1000 | * @return boolean |
||
| 1001 | */ |
||
| 1002 | public function getIsSelectChoice() |
||
| 1006 | |||
| 1007 | /** |
||
| 1008 | * @param boolean $IsSelectChoice |
||
| 1009 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 1010 | */ |
||
| 1011 | public function setIsSelectChoice($IsSelectChoice) |
||
| 1016 | |||
| 1017 | /** |
||
| 1018 | * @return float |
||
| 1019 | */ |
||
| 1020 | public function getStarRating() |
||
| 1024 | |||
| 1025 | /** |
||
| 1026 | * @param float $StarRating |
||
| 1027 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 1028 | */ |
||
| 1029 | public function setStarRating($StarRating) |
||
| 1034 | |||
| 1035 | /** |
||
| 1036 | * @return int |
||
| 1037 | */ |
||
| 1038 | public function getID_RoomChoicePrice() |
||
| 1042 | |||
| 1043 | /** |
||
| 1044 | * @param int $ID_RoomChoicePrice |
||
| 1045 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 1046 | */ |
||
| 1047 | public function setID_RoomChoicePrice($ID_RoomChoicePrice) |
||
| 1052 | |||
| 1053 | /** |
||
| 1054 | * @return float |
||
| 1055 | */ |
||
| 1056 | public function getRoomLatitude() |
||
| 1060 | |||
| 1061 | /** |
||
| 1062 | * @param float $RoomLatitude |
||
| 1063 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 1064 | */ |
||
| 1065 | public function setRoomLatitude($RoomLatitude) |
||
| 1070 | |||
| 1071 | /** |
||
| 1072 | * @return float |
||
| 1073 | */ |
||
| 1074 | public function getRoomLongitude() |
||
| 1078 | |||
| 1079 | /** |
||
| 1080 | * @param float $RoomLongitude |
||
| 1081 | * @return \Gueststream\PMS\IQWare\API\RoomSpecification |
||
| 1082 | */ |
||
| 1083 | public function setRoomLongitude($RoomLongitude) |
||
| 1088 | } |
||
| 1089 |