Complex classes like OwnerContracts 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 OwnerContracts, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 5 | class OwnerContracts |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int $ID_CondoOwner |
||
| 10 | */ |
||
| 11 | protected $ID_CondoOwner = null; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int $ID_Member |
||
| 15 | */ |
||
| 16 | protected $ID_Member = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string $ContractNo |
||
| 20 | */ |
||
| 21 | protected $ContractNo = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var int $ID_Room |
||
| 25 | */ |
||
| 26 | protected $ID_Room = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var boolean $IsGross |
||
| 30 | */ |
||
| 31 | protected $IsGross = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var \DateTime $BeginDate |
||
| 35 | */ |
||
| 36 | protected $BeginDate = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var int $CondoType |
||
| 40 | */ |
||
| 41 | protected $CondoType = null; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var boolean $IsPenalty |
||
| 45 | */ |
||
| 46 | protected $IsPenalty = null; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var \DateTime $EndDate |
||
| 50 | */ |
||
| 51 | protected $EndDate = null; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var boolean $IsTaxDoc |
||
| 55 | */ |
||
| 56 | protected $IsTaxDoc = null; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var \DateTime $TaxDocDate |
||
| 60 | */ |
||
| 61 | protected $TaxDocDate = null; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @var int $MinDayPromo |
||
| 65 | */ |
||
| 66 | protected $MinDayPromo = null; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @var boolean $IsAgeCat1Refused |
||
| 70 | */ |
||
| 71 | protected $IsAgeCat1Refused = null; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var float $BoughtValue |
||
| 75 | */ |
||
| 76 | protected $BoughtValue = null; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @var int $NbrMaxGuest |
||
| 80 | */ |
||
| 81 | protected $NbrMaxGuest = null; |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @var float $SaleValue |
||
| 85 | */ |
||
| 86 | protected $SaleValue = null; |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @var boolean $IsAgeCat2Refused |
||
| 90 | */ |
||
| 91 | protected $IsAgeCat2Refused = null; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @var float $UnitValue |
||
| 95 | */ |
||
| 96 | protected $UnitValue = null; |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @var boolean $IsAgeCat3Refused |
||
| 100 | */ |
||
| 101 | protected $IsAgeCat3Refused = null; |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @var boolean $IsAgeCat4Refused |
||
| 105 | */ |
||
| 106 | protected $IsAgeCat4Refused = null; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @var boolean $IsPool |
||
| 110 | */ |
||
| 111 | protected $IsPool = null; |
||
| 112 | |||
| 113 | /** |
||
| 114 | * @var int $ID_Admin |
||
| 115 | */ |
||
| 116 | protected $ID_Admin = null; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * @var boolean $IsRefusal |
||
| 120 | */ |
||
| 121 | protected $IsRefusal = null; |
||
| 122 | |||
| 123 | /** |
||
| 124 | * @var boolean $IsSold |
||
| 125 | */ |
||
| 126 | protected $IsSold = null; |
||
| 127 | |||
| 128 | /** |
||
| 129 | * @var boolean $IsCalculateCheck |
||
| 130 | */ |
||
| 131 | protected $IsCalculateCheck = null; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * @var boolean $IsSA |
||
| 135 | */ |
||
| 136 | protected $IsSA = null; |
||
| 137 | |||
| 138 | /** |
||
| 139 | * @var int $PlanNbre |
||
| 140 | */ |
||
| 141 | protected $PlanNbre = null; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @var boolean $IsSpecificReserve |
||
| 145 | */ |
||
| 146 | protected $IsSpecificReserve = null; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @var float $AmountReserveMinimum |
||
| 150 | */ |
||
| 151 | protected $AmountReserveMinimum = null; |
||
| 152 | |||
| 153 | /** |
||
| 154 | * @var int $FiscalDate |
||
| 155 | */ |
||
| 156 | protected $FiscalDate = null; |
||
| 157 | |||
| 158 | /** |
||
| 159 | * @var int $ID_AdresseAdmin |
||
| 160 | */ |
||
| 161 | protected $ID_AdresseAdmin = null; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @var int $GuestMax |
||
| 165 | */ |
||
| 166 | protected $GuestMax = null; |
||
| 167 | |||
| 168 | /** |
||
| 169 | * @var int $ID_RoomType |
||
| 170 | */ |
||
| 171 | protected $ID_RoomType = null; |
||
| 172 | |||
| 173 | /** |
||
| 174 | * @var string $AccountName |
||
| 175 | */ |
||
| 176 | protected $AccountName = null; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @var boolean $IsAnnualMaintenance |
||
| 180 | */ |
||
| 181 | protected $IsAnnualMaintenance = null; |
||
| 182 | |||
| 183 | /** |
||
| 184 | * @var string $RoomNo |
||
| 185 | */ |
||
| 186 | protected $RoomNo = null; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * @var float $PctTAChargedBack |
||
| 190 | */ |
||
| 191 | protected $PctTAChargedBack = null; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * @var float $PctCCChargedBack |
||
| 195 | */ |
||
| 196 | protected $PctCCChargedBack = null; |
||
| 197 | |||
| 198 | /** |
||
| 199 | * @var boolean $IsFractional |
||
| 200 | */ |
||
| 201 | protected $IsFractional = null; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * @var boolean $IsNoBooking |
||
| 205 | */ |
||
| 206 | protected $IsNoBooking = null; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * @var int $RoomCategory |
||
| 210 | */ |
||
| 211 | protected $RoomCategory = null; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * @var string $ContractType |
||
| 215 | */ |
||
| 216 | protected $ContractType = null; |
||
| 217 | |||
| 218 | /** |
||
| 219 | * @var ContractBalances $ContractBalances |
||
| 220 | */ |
||
| 221 | protected $ContractBalances = null; |
||
| 222 | |||
| 223 | /** |
||
| 224 | * @var ContractExpenses $ContractExpenses |
||
| 225 | */ |
||
| 226 | protected $ContractExpenses = null; |
||
| 227 | |||
| 228 | /** |
||
| 229 | * @var ContractsBank $ContractsBank |
||
| 230 | */ |
||
| 231 | protected $ContractsBank = null; |
||
| 232 | |||
| 233 | /** |
||
| 234 | * @var ContractSegments $ContractSegments |
||
| 235 | */ |
||
| 236 | protected $ContractSegments = null; |
||
| 237 | |||
| 238 | /** |
||
| 239 | * @var int $CondoOwner_Id |
||
| 240 | */ |
||
| 241 | protected $CondoOwner_Id = null; |
||
| 242 | |||
| 243 | /** |
||
| 244 | * @var int $CondoOwner_Id_0 |
||
| 245 | */ |
||
| 246 | protected $CondoOwner_Id_0 = null; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * @param int $ID_CondoOwner |
||
| 250 | * @param int $ID_Member |
||
| 251 | * @param string $ContractNo |
||
| 252 | * @param int $ID_Room |
||
| 253 | * @param boolean $IsGross |
||
| 254 | * @param \DateTime $BeginDate |
||
| 255 | * @param int $CondoType |
||
| 256 | * @param boolean $IsPenalty |
||
| 257 | * @param \DateTime $EndDate |
||
| 258 | * @param boolean $IsTaxDoc |
||
| 259 | * @param \DateTime $TaxDocDate |
||
| 260 | * @param int $MinDayPromo |
||
| 261 | * @param boolean $IsAgeCat1Refused |
||
| 262 | * @param float $BoughtValue |
||
| 263 | * @param int $NbrMaxGuest |
||
| 264 | * @param float $SaleValue |
||
| 265 | * @param boolean $IsAgeCat2Refused |
||
| 266 | * @param float $UnitValue |
||
| 267 | * @param boolean $IsAgeCat3Refused |
||
| 268 | * @param boolean $IsAgeCat4Refused |
||
| 269 | * @param boolean $IsPool |
||
| 270 | * @param int $ID_Admin |
||
| 271 | * @param boolean $IsRefusal |
||
| 272 | * @param boolean $IsSold |
||
| 273 | * @param boolean $IsCalculateCheck |
||
| 274 | * @param boolean $IsSA |
||
| 275 | * @param int $PlanNbre |
||
| 276 | * @param boolean $IsSpecificReserve |
||
| 277 | * @param float $AmountReserveMinimum |
||
| 278 | * @param int $FiscalDate |
||
| 279 | * @param int $ID_AdresseAdmin |
||
| 280 | * @param int $GuestMax |
||
| 281 | * @param int $ID_RoomType |
||
| 282 | * @param string $AccountName |
||
| 283 | * @param boolean $IsAnnualMaintenance |
||
| 284 | * @param string $RoomNo |
||
| 285 | * @param float $PctTAChargedBack |
||
| 286 | * @param float $PctCCChargedBack |
||
| 287 | * @param boolean $IsFractional |
||
| 288 | * @param boolean $IsNoBooking |
||
| 289 | * @param int $RoomCategory |
||
| 290 | * @param string $ContractType |
||
| 291 | * @param ContractBalances $ContractBalances |
||
| 292 | * @param ContractExpenses $ContractExpenses |
||
| 293 | * @param ContractsBank $ContractsBank |
||
| 294 | * @param ContractSegments $ContractSegments |
||
| 295 | * @param int $CondoOwner_Id |
||
| 296 | * @param int $CondoOwner_Id_0 |
||
| 297 | */ |
||
| 298 | public function __construct($ID_CondoOwner, $ID_Member, $ContractNo, $ID_Room, $IsGross, \DateTime $BeginDate, $CondoType, $IsPenalty, \DateTime $EndDate, $IsTaxDoc, \DateTime $TaxDocDate, $MinDayPromo, $IsAgeCat1Refused, $BoughtValue, $NbrMaxGuest, $SaleValue, $IsAgeCat2Refused, $UnitValue, $IsAgeCat3Refused, $IsAgeCat4Refused, $IsPool, $ID_Admin, $IsRefusal, $IsSold, $IsCalculateCheck, $IsSA, $PlanNbre, $IsSpecificReserve, $AmountReserveMinimum, $FiscalDate, $ID_AdresseAdmin, $GuestMax, $ID_RoomType, $AccountName, $IsAnnualMaintenance, $RoomNo, $PctTAChargedBack, $PctCCChargedBack, $IsFractional, $IsNoBooking, $RoomCategory, $ContractType, $ContractBalances, $ContractExpenses, $ContractsBank, $ContractSegments, $CondoOwner_Id, $CondoOwner_Id_0) |
||
| 349 | |||
| 350 | /** |
||
| 351 | * @return int |
||
| 352 | */ |
||
| 353 | public function getID_CondoOwner() |
||
| 357 | |||
| 358 | /** |
||
| 359 | * @param int $ID_CondoOwner |
||
| 360 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 361 | */ |
||
| 362 | public function setID_CondoOwner($ID_CondoOwner) |
||
| 367 | |||
| 368 | /** |
||
| 369 | * @return int |
||
| 370 | */ |
||
| 371 | public function getID_Member() |
||
| 375 | |||
| 376 | /** |
||
| 377 | * @param int $ID_Member |
||
| 378 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 379 | */ |
||
| 380 | public function setID_Member($ID_Member) |
||
| 385 | |||
| 386 | /** |
||
| 387 | * @return string |
||
| 388 | */ |
||
| 389 | public function getContractNo() |
||
| 393 | |||
| 394 | /** |
||
| 395 | * @param string $ContractNo |
||
| 396 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 397 | */ |
||
| 398 | public function setContractNo($ContractNo) |
||
| 403 | |||
| 404 | /** |
||
| 405 | * @return int |
||
| 406 | */ |
||
| 407 | public function getID_Room() |
||
| 411 | |||
| 412 | /** |
||
| 413 | * @param int $ID_Room |
||
| 414 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 415 | */ |
||
| 416 | public function setID_Room($ID_Room) |
||
| 421 | |||
| 422 | /** |
||
| 423 | * @return boolean |
||
| 424 | */ |
||
| 425 | public function getIsGross() |
||
| 429 | |||
| 430 | /** |
||
| 431 | * @param boolean $IsGross |
||
| 432 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 433 | */ |
||
| 434 | public function setIsGross($IsGross) |
||
| 439 | |||
| 440 | /** |
||
| 441 | * @return \DateTime |
||
| 442 | */ |
||
| 443 | public function getBeginDate() |
||
| 455 | |||
| 456 | /** |
||
| 457 | * @param \DateTime $BeginDate |
||
| 458 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 459 | */ |
||
| 460 | public function setBeginDate(\DateTime $BeginDate) |
||
| 465 | |||
| 466 | /** |
||
| 467 | * @return int |
||
| 468 | */ |
||
| 469 | public function getCondoType() |
||
| 473 | |||
| 474 | /** |
||
| 475 | * @param int $CondoType |
||
| 476 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 477 | */ |
||
| 478 | public function setCondoType($CondoType) |
||
| 483 | |||
| 484 | /** |
||
| 485 | * @return boolean |
||
| 486 | */ |
||
| 487 | public function getIsPenalty() |
||
| 491 | |||
| 492 | /** |
||
| 493 | * @param boolean $IsPenalty |
||
| 494 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 495 | */ |
||
| 496 | public function setIsPenalty($IsPenalty) |
||
| 501 | |||
| 502 | /** |
||
| 503 | * @return \DateTime |
||
| 504 | */ |
||
| 505 | public function getEndDate() |
||
| 517 | |||
| 518 | /** |
||
| 519 | * @param \DateTime $EndDate |
||
| 520 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 521 | */ |
||
| 522 | public function setEndDate(\DateTime $EndDate) |
||
| 527 | |||
| 528 | /** |
||
| 529 | * @return boolean |
||
| 530 | */ |
||
| 531 | public function getIsTaxDoc() |
||
| 535 | |||
| 536 | /** |
||
| 537 | * @param boolean $IsTaxDoc |
||
| 538 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 539 | */ |
||
| 540 | public function setIsTaxDoc($IsTaxDoc) |
||
| 545 | |||
| 546 | /** |
||
| 547 | * @return \DateTime |
||
| 548 | */ |
||
| 549 | public function getTaxDocDate() |
||
| 561 | |||
| 562 | /** |
||
| 563 | * @param \DateTime $TaxDocDate |
||
| 564 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 565 | */ |
||
| 566 | public function setTaxDocDate(\DateTime $TaxDocDate) |
||
| 571 | |||
| 572 | /** |
||
| 573 | * @return int |
||
| 574 | */ |
||
| 575 | public function getMinDayPromo() |
||
| 579 | |||
| 580 | /** |
||
| 581 | * @param int $MinDayPromo |
||
| 582 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 583 | */ |
||
| 584 | public function setMinDayPromo($MinDayPromo) |
||
| 589 | |||
| 590 | /** |
||
| 591 | * @return boolean |
||
| 592 | */ |
||
| 593 | public function getIsAgeCat1Refused() |
||
| 597 | |||
| 598 | /** |
||
| 599 | * @param boolean $IsAgeCat1Refused |
||
| 600 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 601 | */ |
||
| 602 | public function setIsAgeCat1Refused($IsAgeCat1Refused) |
||
| 607 | |||
| 608 | /** |
||
| 609 | * @return float |
||
| 610 | */ |
||
| 611 | public function getBoughtValue() |
||
| 615 | |||
| 616 | /** |
||
| 617 | * @param float $BoughtValue |
||
| 618 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 619 | */ |
||
| 620 | public function setBoughtValue($BoughtValue) |
||
| 625 | |||
| 626 | /** |
||
| 627 | * @return int |
||
| 628 | */ |
||
| 629 | public function getNbrMaxGuest() |
||
| 633 | |||
| 634 | /** |
||
| 635 | * @param int $NbrMaxGuest |
||
| 636 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 637 | */ |
||
| 638 | public function setNbrMaxGuest($NbrMaxGuest) |
||
| 643 | |||
| 644 | /** |
||
| 645 | * @return float |
||
| 646 | */ |
||
| 647 | public function getSaleValue() |
||
| 651 | |||
| 652 | /** |
||
| 653 | * @param float $SaleValue |
||
| 654 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 655 | */ |
||
| 656 | public function setSaleValue($SaleValue) |
||
| 661 | |||
| 662 | /** |
||
| 663 | * @return boolean |
||
| 664 | */ |
||
| 665 | public function getIsAgeCat2Refused() |
||
| 669 | |||
| 670 | /** |
||
| 671 | * @param boolean $IsAgeCat2Refused |
||
| 672 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 673 | */ |
||
| 674 | public function setIsAgeCat2Refused($IsAgeCat2Refused) |
||
| 679 | |||
| 680 | /** |
||
| 681 | * @return float |
||
| 682 | */ |
||
| 683 | public function getUnitValue() |
||
| 687 | |||
| 688 | /** |
||
| 689 | * @param float $UnitValue |
||
| 690 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 691 | */ |
||
| 692 | public function setUnitValue($UnitValue) |
||
| 697 | |||
| 698 | /** |
||
| 699 | * @return boolean |
||
| 700 | */ |
||
| 701 | public function getIsAgeCat3Refused() |
||
| 705 | |||
| 706 | /** |
||
| 707 | * @param boolean $IsAgeCat3Refused |
||
| 708 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 709 | */ |
||
| 710 | public function setIsAgeCat3Refused($IsAgeCat3Refused) |
||
| 715 | |||
| 716 | /** |
||
| 717 | * @return boolean |
||
| 718 | */ |
||
| 719 | public function getIsAgeCat4Refused() |
||
| 723 | |||
| 724 | /** |
||
| 725 | * @param boolean $IsAgeCat4Refused |
||
| 726 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 727 | */ |
||
| 728 | public function setIsAgeCat4Refused($IsAgeCat4Refused) |
||
| 733 | |||
| 734 | /** |
||
| 735 | * @return boolean |
||
| 736 | */ |
||
| 737 | public function getIsPool() |
||
| 741 | |||
| 742 | /** |
||
| 743 | * @param boolean $IsPool |
||
| 744 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 745 | */ |
||
| 746 | public function setIsPool($IsPool) |
||
| 751 | |||
| 752 | /** |
||
| 753 | * @return int |
||
| 754 | */ |
||
| 755 | public function getID_Admin() |
||
| 759 | |||
| 760 | /** |
||
| 761 | * @param int $ID_Admin |
||
| 762 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 763 | */ |
||
| 764 | public function setID_Admin($ID_Admin) |
||
| 769 | |||
| 770 | /** |
||
| 771 | * @return boolean |
||
| 772 | */ |
||
| 773 | public function getIsRefusal() |
||
| 777 | |||
| 778 | /** |
||
| 779 | * @param boolean $IsRefusal |
||
| 780 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 781 | */ |
||
| 782 | public function setIsRefusal($IsRefusal) |
||
| 787 | |||
| 788 | /** |
||
| 789 | * @return boolean |
||
| 790 | */ |
||
| 791 | public function getIsSold() |
||
| 795 | |||
| 796 | /** |
||
| 797 | * @param boolean $IsSold |
||
| 798 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 799 | */ |
||
| 800 | public function setIsSold($IsSold) |
||
| 805 | |||
| 806 | /** |
||
| 807 | * @return boolean |
||
| 808 | */ |
||
| 809 | public function getIsCalculateCheck() |
||
| 813 | |||
| 814 | /** |
||
| 815 | * @param boolean $IsCalculateCheck |
||
| 816 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 817 | */ |
||
| 818 | public function setIsCalculateCheck($IsCalculateCheck) |
||
| 823 | |||
| 824 | /** |
||
| 825 | * @return boolean |
||
| 826 | */ |
||
| 827 | public function getIsSA() |
||
| 831 | |||
| 832 | /** |
||
| 833 | * @param boolean $IsSA |
||
| 834 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 835 | */ |
||
| 836 | public function setIsSA($IsSA) |
||
| 841 | |||
| 842 | /** |
||
| 843 | * @return int |
||
| 844 | */ |
||
| 845 | public function getPlanNbre() |
||
| 849 | |||
| 850 | /** |
||
| 851 | * @param int $PlanNbre |
||
| 852 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 853 | */ |
||
| 854 | public function setPlanNbre($PlanNbre) |
||
| 859 | |||
| 860 | /** |
||
| 861 | * @return boolean |
||
| 862 | */ |
||
| 863 | public function getIsSpecificReserve() |
||
| 867 | |||
| 868 | /** |
||
| 869 | * @param boolean $IsSpecificReserve |
||
| 870 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 871 | */ |
||
| 872 | public function setIsSpecificReserve($IsSpecificReserve) |
||
| 877 | |||
| 878 | /** |
||
| 879 | * @return float |
||
| 880 | */ |
||
| 881 | public function getAmountReserveMinimum() |
||
| 885 | |||
| 886 | /** |
||
| 887 | * @param float $AmountReserveMinimum |
||
| 888 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 889 | */ |
||
| 890 | public function setAmountReserveMinimum($AmountReserveMinimum) |
||
| 895 | |||
| 896 | /** |
||
| 897 | * @return int |
||
| 898 | */ |
||
| 899 | public function getFiscalDate() |
||
| 903 | |||
| 904 | /** |
||
| 905 | * @param int $FiscalDate |
||
| 906 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 907 | */ |
||
| 908 | public function setFiscalDate($FiscalDate) |
||
| 913 | |||
| 914 | /** |
||
| 915 | * @return int |
||
| 916 | */ |
||
| 917 | public function getID_AdresseAdmin() |
||
| 921 | |||
| 922 | /** |
||
| 923 | * @param int $ID_AdresseAdmin |
||
| 924 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 925 | */ |
||
| 926 | public function setID_AdresseAdmin($ID_AdresseAdmin) |
||
| 931 | |||
| 932 | /** |
||
| 933 | * @return int |
||
| 934 | */ |
||
| 935 | public function getGuestMax() |
||
| 939 | |||
| 940 | /** |
||
| 941 | * @param int $GuestMax |
||
| 942 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 943 | */ |
||
| 944 | public function setGuestMax($GuestMax) |
||
| 949 | |||
| 950 | /** |
||
| 951 | * @return int |
||
| 952 | */ |
||
| 953 | public function getID_RoomType() |
||
| 957 | |||
| 958 | /** |
||
| 959 | * @param int $ID_RoomType |
||
| 960 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 961 | */ |
||
| 962 | public function setID_RoomType($ID_RoomType) |
||
| 967 | |||
| 968 | /** |
||
| 969 | * @return string |
||
| 970 | */ |
||
| 971 | public function getAccountName() |
||
| 975 | |||
| 976 | /** |
||
| 977 | * @param string $AccountName |
||
| 978 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 979 | */ |
||
| 980 | public function setAccountName($AccountName) |
||
| 985 | |||
| 986 | /** |
||
| 987 | * @return boolean |
||
| 988 | */ |
||
| 989 | public function getIsAnnualMaintenance() |
||
| 993 | |||
| 994 | /** |
||
| 995 | * @param boolean $IsAnnualMaintenance |
||
| 996 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 997 | */ |
||
| 998 | public function setIsAnnualMaintenance($IsAnnualMaintenance) |
||
| 1003 | |||
| 1004 | /** |
||
| 1005 | * @return string |
||
| 1006 | */ |
||
| 1007 | public function getRoomNo() |
||
| 1011 | |||
| 1012 | /** |
||
| 1013 | * @param string $RoomNo |
||
| 1014 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1015 | */ |
||
| 1016 | public function setRoomNo($RoomNo) |
||
| 1021 | |||
| 1022 | /** |
||
| 1023 | * @return float |
||
| 1024 | */ |
||
| 1025 | public function getPctTAChargedBack() |
||
| 1029 | |||
| 1030 | /** |
||
| 1031 | * @param float $PctTAChargedBack |
||
| 1032 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1033 | */ |
||
| 1034 | public function setPctTAChargedBack($PctTAChargedBack) |
||
| 1039 | |||
| 1040 | /** |
||
| 1041 | * @return float |
||
| 1042 | */ |
||
| 1043 | public function getPctCCChargedBack() |
||
| 1047 | |||
| 1048 | /** |
||
| 1049 | * @param float $PctCCChargedBack |
||
| 1050 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1051 | */ |
||
| 1052 | public function setPctCCChargedBack($PctCCChargedBack) |
||
| 1057 | |||
| 1058 | /** |
||
| 1059 | * @return boolean |
||
| 1060 | */ |
||
| 1061 | public function getIsFractional() |
||
| 1065 | |||
| 1066 | /** |
||
| 1067 | * @param boolean $IsFractional |
||
| 1068 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1069 | */ |
||
| 1070 | public function setIsFractional($IsFractional) |
||
| 1075 | |||
| 1076 | /** |
||
| 1077 | * @return boolean |
||
| 1078 | */ |
||
| 1079 | public function getIsNoBooking() |
||
| 1083 | |||
| 1084 | /** |
||
| 1085 | * @param boolean $IsNoBooking |
||
| 1086 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1087 | */ |
||
| 1088 | public function setIsNoBooking($IsNoBooking) |
||
| 1093 | |||
| 1094 | /** |
||
| 1095 | * @return int |
||
| 1096 | */ |
||
| 1097 | public function getRoomCategory() |
||
| 1101 | |||
| 1102 | /** |
||
| 1103 | * @param int $RoomCategory |
||
| 1104 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1105 | */ |
||
| 1106 | public function setRoomCategory($RoomCategory) |
||
| 1111 | |||
| 1112 | /** |
||
| 1113 | * @return string |
||
| 1114 | */ |
||
| 1115 | public function getContractType() |
||
| 1119 | |||
| 1120 | /** |
||
| 1121 | * @param string $ContractType |
||
| 1122 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1123 | */ |
||
| 1124 | public function setContractType($ContractType) |
||
| 1129 | |||
| 1130 | /** |
||
| 1131 | * @return ContractBalances |
||
| 1132 | */ |
||
| 1133 | public function getContractBalances() |
||
| 1137 | |||
| 1138 | /** |
||
| 1139 | * @param ContractBalances $ContractBalances |
||
| 1140 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1141 | */ |
||
| 1142 | public function setContractBalances($ContractBalances) |
||
| 1147 | |||
| 1148 | /** |
||
| 1149 | * @return ContractExpenses |
||
| 1150 | */ |
||
| 1151 | public function getContractExpenses() |
||
| 1155 | |||
| 1156 | /** |
||
| 1157 | * @param ContractExpenses $ContractExpenses |
||
| 1158 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1159 | */ |
||
| 1160 | public function setContractExpenses($ContractExpenses) |
||
| 1165 | |||
| 1166 | /** |
||
| 1167 | * @return ContractsBank |
||
| 1168 | */ |
||
| 1169 | public function getContractsBank() |
||
| 1173 | |||
| 1174 | /** |
||
| 1175 | * @param ContractsBank $ContractsBank |
||
| 1176 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1177 | */ |
||
| 1178 | public function setContractsBank($ContractsBank) |
||
| 1183 | |||
| 1184 | /** |
||
| 1185 | * @return ContractSegments |
||
| 1186 | */ |
||
| 1187 | public function getContractSegments() |
||
| 1191 | |||
| 1192 | /** |
||
| 1193 | * @param ContractSegments $ContractSegments |
||
| 1194 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1195 | */ |
||
| 1196 | public function setContractSegments($ContractSegments) |
||
| 1201 | |||
| 1202 | /** |
||
| 1203 | * @return int |
||
| 1204 | */ |
||
| 1205 | public function getCondoOwner_Id() |
||
| 1209 | |||
| 1210 | /** |
||
| 1211 | * @param int $CondoOwner_Id |
||
| 1212 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1213 | */ |
||
| 1214 | public function setCondoOwner_Id($CondoOwner_Id) |
||
| 1219 | |||
| 1220 | /** |
||
| 1221 | * @return int |
||
| 1222 | */ |
||
| 1223 | public function getCondoOwner_Id_0() |
||
| 1227 | |||
| 1228 | /** |
||
| 1229 | * @param int $CondoOwner_Id_0 |
||
| 1230 | * @return \Gueststream\PMS\IQWare\API\OwnerContracts |
||
| 1231 | */ |
||
| 1232 | public function setCondoOwner_Id_0($CondoOwner_Id_0) |
||
| 1237 | } |
||
| 1238 |
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..