Complex classes like OwnerTemplates 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 OwnerTemplates, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 5 | class OwnerTemplates |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var int $ID_Template |
||
| 10 | */ |
||
| 11 | protected $ID_Template = null; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int $ID_Nationality |
||
| 15 | */ |
||
| 16 | protected $ID_Nationality = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var boolean $IsFreePayTV |
||
| 20 | */ |
||
| 21 | protected $IsFreePayTV = null; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var int $ID_Language |
||
| 25 | */ |
||
| 26 | protected $ID_Language = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var boolean $IsExportAllowed |
||
| 30 | */ |
||
| 31 | protected $IsExportAllowed = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var int $ID_TaxExemption |
||
| 35 | */ |
||
| 36 | protected $ID_TaxExemption = null; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var int $ID_SocioPro |
||
| 40 | */ |
||
| 41 | protected $ID_SocioPro = null; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var boolean $IsSendToBanquet |
||
| 45 | */ |
||
| 46 | protected $IsSendToBanquet = null; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var int $PhoneRestrictionLevel |
||
| 50 | */ |
||
| 51 | protected $PhoneRestrictionLevel = null; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @var int $ID_Geographic |
||
| 55 | */ |
||
| 56 | protected $ID_Geographic = null; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var boolean $IsExpressCOAuthorised |
||
| 60 | */ |
||
| 61 | protected $IsExpressCOAuthorised = null; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @var int $ID_RoomTypeSold |
||
| 65 | */ |
||
| 66 | protected $ID_RoomTypeSold = null; |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @var int $ID_Bedding |
||
| 70 | */ |
||
| 71 | protected $ID_Bedding = null; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var int $TVPackageNo |
||
| 75 | */ |
||
| 76 | protected $TVPackageNo = null; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @var boolean $IsAR |
||
| 80 | */ |
||
| 81 | protected $IsAR = null; |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @var boolean $IsPayTVActivated |
||
| 85 | */ |
||
| 86 | protected $IsPayTVActivated = null; |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @var int $ID_RateCode |
||
| 90 | */ |
||
| 91 | protected $ID_RateCode = null; |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @var int $ID_RateReason |
||
| 95 | */ |
||
| 96 | protected $ID_RateReason = null; |
||
| 97 | |||
| 98 | /** |
||
| 99 | * @var int $ID_Floor |
||
| 100 | */ |
||
| 101 | protected $ID_Floor = null; |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @var int $ConnectingWith |
||
| 105 | */ |
||
| 106 | protected $ConnectingWith = null; |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @var string $Note |
||
| 110 | */ |
||
| 111 | protected $Note = null; |
||
| 112 | |||
| 113 | /** |
||
| 114 | * @var float $ManuelRate |
||
| 115 | */ |
||
| 116 | protected $ManuelRate = null; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * @var int $ID_CreditLimit |
||
| 120 | */ |
||
| 121 | protected $ID_CreditLimit = null; |
||
| 122 | |||
| 123 | /** |
||
| 124 | * @var int $HoldLevel |
||
| 125 | */ |
||
| 126 | protected $HoldLevel = null; |
||
| 127 | |||
| 128 | /** |
||
| 129 | * @var \DateTime $ExpectedArrTime |
||
| 130 | */ |
||
| 131 | protected $ExpectedArrTime = null; |
||
| 132 | |||
| 133 | /** |
||
| 134 | * @var \DateTime $ExpectedDepTime |
||
| 135 | */ |
||
| 136 | protected $ExpectedDepTime = null; |
||
| 137 | |||
| 138 | /** |
||
| 139 | * @var int $AcceptedCurrencyType |
||
| 140 | */ |
||
| 141 | protected $AcceptedCurrencyType = null; |
||
| 142 | |||
| 143 | /** |
||
| 144 | * @var int $CutoffDays |
||
| 145 | */ |
||
| 146 | protected $CutoffDays = null; |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @var int $ID_CreditCard |
||
| 150 | */ |
||
| 151 | protected $ID_CreditCard = null; |
||
| 152 | |||
| 153 | /** |
||
| 154 | * @var string $Card_Number |
||
| 155 | */ |
||
| 156 | protected $Card_Number = null; |
||
| 157 | |||
| 158 | /** |
||
| 159 | * @var string $Expire_Date |
||
| 160 | */ |
||
| 161 | protected $Expire_Date = null; |
||
| 162 | |||
| 163 | /** |
||
| 164 | * @var string $Voucher |
||
| 165 | */ |
||
| 166 | protected $Voucher = null; |
||
| 167 | |||
| 168 | /** |
||
| 169 | * @var string $TaxNo |
||
| 170 | */ |
||
| 171 | protected $TaxNo = null; |
||
| 172 | |||
| 173 | /** |
||
| 174 | * @var int $FirstDepDay |
||
| 175 | */ |
||
| 176 | protected $FirstDepDay = null; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * @var int $ID_GuestType |
||
| 180 | */ |
||
| 181 | protected $ID_GuestType = null; |
||
| 182 | |||
| 183 | /** |
||
| 184 | * @var \DateTime $FirstDepDate |
||
| 185 | */ |
||
| 186 | protected $FirstDepDate = null; |
||
| 187 | |||
| 188 | /** |
||
| 189 | * @var string $TaxNo2 |
||
| 190 | */ |
||
| 191 | protected $TaxNo2 = null; |
||
| 192 | |||
| 193 | /** |
||
| 194 | * @var int $ID_SrcBusiness |
||
| 195 | */ |
||
| 196 | protected $ID_SrcBusiness = null; |
||
| 197 | |||
| 198 | /** |
||
| 199 | * @var int $FirstDepType |
||
| 200 | */ |
||
| 201 | protected $FirstDepType = null; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * @var float $FirstDepAmount |
||
| 205 | */ |
||
| 206 | protected $FirstDepAmount = null; |
||
| 207 | |||
| 208 | /** |
||
| 209 | * @var int $SecondDepDay |
||
| 210 | */ |
||
| 211 | protected $SecondDepDay = null; |
||
| 212 | |||
| 213 | /** |
||
| 214 | * @var \DateTime $SecondDepDate |
||
| 215 | */ |
||
| 216 | protected $SecondDepDate = null; |
||
| 217 | |||
| 218 | /** |
||
| 219 | * @var int $SecondDepType |
||
| 220 | */ |
||
| 221 | protected $SecondDepType = null; |
||
| 222 | |||
| 223 | /** |
||
| 224 | * @var float $SecondDepAmount |
||
| 225 | */ |
||
| 226 | protected $SecondDepAmount = null; |
||
| 227 | |||
| 228 | /** |
||
| 229 | * @var int $ArrivalDepDay |
||
| 230 | */ |
||
| 231 | protected $ArrivalDepDay = null; |
||
| 232 | |||
| 233 | /** |
||
| 234 | * @var \DateTime $ArrivalDepDate |
||
| 235 | */ |
||
| 236 | protected $ArrivalDepDate = null; |
||
| 237 | |||
| 238 | /** |
||
| 239 | * @var int $ArrivalDepType |
||
| 240 | */ |
||
| 241 | protected $ArrivalDepType = null; |
||
| 242 | |||
| 243 | /** |
||
| 244 | * @var float $ArrivalDepAmount |
||
| 245 | */ |
||
| 246 | protected $ArrivalDepAmount = null; |
||
| 247 | |||
| 248 | /** |
||
| 249 | * @var int $PhoneCallMethod |
||
| 250 | */ |
||
| 251 | protected $PhoneCallMethod = null; |
||
| 252 | |||
| 253 | /** |
||
| 254 | * @var int $PhoneChargeType |
||
| 255 | */ |
||
| 256 | protected $PhoneChargeType = null; |
||
| 257 | |||
| 258 | /** |
||
| 259 | * @var int $NumberFreeCall |
||
| 260 | */ |
||
| 261 | protected $NumberFreeCall = null; |
||
| 262 | |||
| 263 | /** |
||
| 264 | * @var int $Confirmation |
||
| 265 | */ |
||
| 266 | protected $Confirmation = null; |
||
| 267 | |||
| 268 | /** |
||
| 269 | * @var int $Sex |
||
| 270 | */ |
||
| 271 | protected $Sex = null; |
||
| 272 | |||
| 273 | /** |
||
| 274 | * @var boolean $Is_VIP |
||
| 275 | */ |
||
| 276 | protected $Is_VIP = null; |
||
| 277 | |||
| 278 | /** |
||
| 279 | * @var boolean $IsCashOnly |
||
| 280 | */ |
||
| 281 | protected $IsCashOnly = null; |
||
| 282 | |||
| 283 | /** |
||
| 284 | * @var int $ID_Vip |
||
| 285 | */ |
||
| 286 | protected $ID_Vip = null; |
||
| 287 | |||
| 288 | /** |
||
| 289 | * @var boolean $IsGuaranteed |
||
| 290 | */ |
||
| 291 | protected $IsGuaranteed = null; |
||
| 292 | |||
| 293 | /** |
||
| 294 | * @var boolean $IsCallReset |
||
| 295 | */ |
||
| 296 | protected $IsCallReset = null; |
||
| 297 | |||
| 298 | /** |
||
| 299 | * @var boolean $IsPreBillingActive |
||
| 300 | */ |
||
| 301 | protected $IsPreBillingActive = null; |
||
| 302 | |||
| 303 | /** |
||
| 304 | * @var int $PreBillingDaysNbr |
||
| 305 | */ |
||
| 306 | protected $PreBillingDaysNbr = null; |
||
| 307 | |||
| 308 | /** |
||
| 309 | * @var int $ID_MArketSegment |
||
| 310 | */ |
||
| 311 | protected $ID_MArketSegment = null; |
||
| 312 | |||
| 313 | /** |
||
| 314 | * @var int $CondoOwner_Id |
||
| 315 | */ |
||
| 316 | protected $CondoOwner_Id = null; |
||
| 317 | |||
| 318 | /** |
||
| 319 | * @var int $CondoOwner_Id_0 |
||
| 320 | */ |
||
| 321 | protected $CondoOwner_Id_0 = null; |
||
| 322 | |||
| 323 | /** |
||
| 324 | * @param int $ID_Template |
||
| 325 | * @param int $ID_Nationality |
||
| 326 | * @param boolean $IsFreePayTV |
||
| 327 | * @param int $ID_Language |
||
| 328 | * @param boolean $IsExportAllowed |
||
| 329 | * @param int $ID_TaxExemption |
||
| 330 | * @param int $ID_SocioPro |
||
| 331 | * @param boolean $IsSendToBanquet |
||
| 332 | * @param int $PhoneRestrictionLevel |
||
| 333 | * @param int $ID_Geographic |
||
| 334 | * @param boolean $IsExpressCOAuthorised |
||
| 335 | * @param int $ID_RoomTypeSold |
||
| 336 | * @param int $ID_Bedding |
||
| 337 | * @param int $TVPackageNo |
||
| 338 | * @param boolean $IsAR |
||
| 339 | * @param boolean $IsPayTVActivated |
||
| 340 | * @param int $ID_RateCode |
||
| 341 | * @param int $ID_RateReason |
||
| 342 | * @param int $ID_Floor |
||
| 343 | * @param int $ConnectingWith |
||
| 344 | * @param string $Note |
||
| 345 | * @param float $ManuelRate |
||
| 346 | * @param int $ID_CreditLimit |
||
| 347 | * @param int $HoldLevel |
||
| 348 | * @param \DateTime $ExpectedArrTime |
||
| 349 | * @param \DateTime $ExpectedDepTime |
||
| 350 | * @param int $AcceptedCurrencyType |
||
| 351 | * @param int $CutoffDays |
||
| 352 | * @param int $ID_CreditCard |
||
| 353 | * @param string $Card_Number |
||
| 354 | * @param string $Expire_Date |
||
| 355 | * @param string $Voucher |
||
| 356 | * @param string $TaxNo |
||
| 357 | * @param int $FirstDepDay |
||
| 358 | * @param int $ID_GuestType |
||
| 359 | * @param \DateTime $FirstDepDate |
||
| 360 | * @param string $TaxNo2 |
||
| 361 | * @param int $ID_SrcBusiness |
||
| 362 | * @param int $FirstDepType |
||
| 363 | * @param float $FirstDepAmount |
||
| 364 | * @param int $SecondDepDay |
||
| 365 | * @param \DateTime $SecondDepDate |
||
| 366 | * @param int $SecondDepType |
||
| 367 | * @param float $SecondDepAmount |
||
| 368 | * @param int $ArrivalDepDay |
||
| 369 | * @param \DateTime $ArrivalDepDate |
||
| 370 | * @param int $ArrivalDepType |
||
| 371 | * @param float $ArrivalDepAmount |
||
| 372 | * @param int $PhoneCallMethod |
||
| 373 | * @param int $PhoneChargeType |
||
| 374 | * @param int $NumberFreeCall |
||
| 375 | * @param int $Confirmation |
||
| 376 | * @param int $Sex |
||
| 377 | * @param boolean $Is_VIP |
||
| 378 | * @param boolean $IsCashOnly |
||
| 379 | * @param int $ID_Vip |
||
| 380 | * @param boolean $IsGuaranteed |
||
| 381 | * @param boolean $IsCallReset |
||
| 382 | * @param boolean $IsPreBillingActive |
||
| 383 | * @param int $PreBillingDaysNbr |
||
| 384 | * @param int $ID_MArketSegment |
||
| 385 | * @param int $CondoOwner_Id |
||
| 386 | * @param int $CondoOwner_Id_0 |
||
| 387 | */ |
||
| 388 | public function __construct($ID_Template, $ID_Nationality, $IsFreePayTV, $ID_Language, $IsExportAllowed, $ID_TaxExemption, $ID_SocioPro, $IsSendToBanquet, $PhoneRestrictionLevel, $ID_Geographic, $IsExpressCOAuthorised, $ID_RoomTypeSold, $ID_Bedding, $TVPackageNo, $IsAR, $IsPayTVActivated, $ID_RateCode, $ID_RateReason, $ID_Floor, $ConnectingWith, $Note, $ManuelRate, $ID_CreditLimit, $HoldLevel, \DateTime $ExpectedArrTime, \DateTime $ExpectedDepTime, $AcceptedCurrencyType, $CutoffDays, $ID_CreditCard, $Card_Number, $Expire_Date, $Voucher, $TaxNo, $FirstDepDay, $ID_GuestType, \DateTime $FirstDepDate, $TaxNo2, $ID_SrcBusiness, $FirstDepType, $FirstDepAmount, $SecondDepDay, \DateTime $SecondDepDate, $SecondDepType, $SecondDepAmount, $ArrivalDepDay, \DateTime $ArrivalDepDate, $ArrivalDepType, $ArrivalDepAmount, $PhoneCallMethod, $PhoneChargeType, $NumberFreeCall, $Confirmation, $Sex, $Is_VIP, $IsCashOnly, $ID_Vip, $IsGuaranteed, $IsCallReset, $IsPreBillingActive, $PreBillingDaysNbr, $ID_MArketSegment, $CondoOwner_Id, $CondoOwner_Id_0) |
||
| 454 | |||
| 455 | /** |
||
| 456 | * @return int |
||
| 457 | */ |
||
| 458 | public function getID_Template() |
||
| 462 | |||
| 463 | /** |
||
| 464 | * @param int $ID_Template |
||
| 465 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 466 | */ |
||
| 467 | public function setID_Template($ID_Template) |
||
| 472 | |||
| 473 | /** |
||
| 474 | * @return int |
||
| 475 | */ |
||
| 476 | public function getID_Nationality() |
||
| 480 | |||
| 481 | /** |
||
| 482 | * @param int $ID_Nationality |
||
| 483 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 484 | */ |
||
| 485 | public function setID_Nationality($ID_Nationality) |
||
| 490 | |||
| 491 | /** |
||
| 492 | * @return boolean |
||
| 493 | */ |
||
| 494 | public function getIsFreePayTV() |
||
| 498 | |||
| 499 | /** |
||
| 500 | * @param boolean $IsFreePayTV |
||
| 501 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 502 | */ |
||
| 503 | public function setIsFreePayTV($IsFreePayTV) |
||
| 508 | |||
| 509 | /** |
||
| 510 | * @return int |
||
| 511 | */ |
||
| 512 | public function getID_Language() |
||
| 516 | |||
| 517 | /** |
||
| 518 | * @param int $ID_Language |
||
| 519 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 520 | */ |
||
| 521 | public function setID_Language($ID_Language) |
||
| 526 | |||
| 527 | /** |
||
| 528 | * @return boolean |
||
| 529 | */ |
||
| 530 | public function getIsExportAllowed() |
||
| 534 | |||
| 535 | /** |
||
| 536 | * @param boolean $IsExportAllowed |
||
| 537 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 538 | */ |
||
| 539 | public function setIsExportAllowed($IsExportAllowed) |
||
| 544 | |||
| 545 | /** |
||
| 546 | * @return int |
||
| 547 | */ |
||
| 548 | public function getID_TaxExemption() |
||
| 552 | |||
| 553 | /** |
||
| 554 | * @param int $ID_TaxExemption |
||
| 555 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 556 | */ |
||
| 557 | public function setID_TaxExemption($ID_TaxExemption) |
||
| 562 | |||
| 563 | /** |
||
| 564 | * @return int |
||
| 565 | */ |
||
| 566 | public function getID_SocioPro() |
||
| 570 | |||
| 571 | /** |
||
| 572 | * @param int $ID_SocioPro |
||
| 573 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 574 | */ |
||
| 575 | public function setID_SocioPro($ID_SocioPro) |
||
| 580 | |||
| 581 | /** |
||
| 582 | * @return boolean |
||
| 583 | */ |
||
| 584 | public function getIsSendToBanquet() |
||
| 588 | |||
| 589 | /** |
||
| 590 | * @param boolean $IsSendToBanquet |
||
| 591 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 592 | */ |
||
| 593 | public function setIsSendToBanquet($IsSendToBanquet) |
||
| 598 | |||
| 599 | /** |
||
| 600 | * @return int |
||
| 601 | */ |
||
| 602 | public function getPhoneRestrictionLevel() |
||
| 606 | |||
| 607 | /** |
||
| 608 | * @param int $PhoneRestrictionLevel |
||
| 609 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 610 | */ |
||
| 611 | public function setPhoneRestrictionLevel($PhoneRestrictionLevel) |
||
| 616 | |||
| 617 | /** |
||
| 618 | * @return int |
||
| 619 | */ |
||
| 620 | public function getID_Geographic() |
||
| 624 | |||
| 625 | /** |
||
| 626 | * @param int $ID_Geographic |
||
| 627 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 628 | */ |
||
| 629 | public function setID_Geographic($ID_Geographic) |
||
| 634 | |||
| 635 | /** |
||
| 636 | * @return boolean |
||
| 637 | */ |
||
| 638 | public function getIsExpressCOAuthorised() |
||
| 642 | |||
| 643 | /** |
||
| 644 | * @param boolean $IsExpressCOAuthorised |
||
| 645 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 646 | */ |
||
| 647 | public function setIsExpressCOAuthorised($IsExpressCOAuthorised) |
||
| 652 | |||
| 653 | /** |
||
| 654 | * @return int |
||
| 655 | */ |
||
| 656 | public function getID_RoomTypeSold() |
||
| 660 | |||
| 661 | /** |
||
| 662 | * @param int $ID_RoomTypeSold |
||
| 663 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 664 | */ |
||
| 665 | public function setID_RoomTypeSold($ID_RoomTypeSold) |
||
| 670 | |||
| 671 | /** |
||
| 672 | * @return int |
||
| 673 | */ |
||
| 674 | public function getID_Bedding() |
||
| 678 | |||
| 679 | /** |
||
| 680 | * @param int $ID_Bedding |
||
| 681 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 682 | */ |
||
| 683 | public function setID_Bedding($ID_Bedding) |
||
| 688 | |||
| 689 | /** |
||
| 690 | * @return int |
||
| 691 | */ |
||
| 692 | public function getTVPackageNo() |
||
| 696 | |||
| 697 | /** |
||
| 698 | * @param int $TVPackageNo |
||
| 699 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 700 | */ |
||
| 701 | public function setTVPackageNo($TVPackageNo) |
||
| 706 | |||
| 707 | /** |
||
| 708 | * @return boolean |
||
| 709 | */ |
||
| 710 | public function getIsAR() |
||
| 714 | |||
| 715 | /** |
||
| 716 | * @param boolean $IsAR |
||
| 717 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 718 | */ |
||
| 719 | public function setIsAR($IsAR) |
||
| 724 | |||
| 725 | /** |
||
| 726 | * @return boolean |
||
| 727 | */ |
||
| 728 | public function getIsPayTVActivated() |
||
| 732 | |||
| 733 | /** |
||
| 734 | * @param boolean $IsPayTVActivated |
||
| 735 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 736 | */ |
||
| 737 | public function setIsPayTVActivated($IsPayTVActivated) |
||
| 742 | |||
| 743 | /** |
||
| 744 | * @return int |
||
| 745 | */ |
||
| 746 | public function getID_RateCode() |
||
| 750 | |||
| 751 | /** |
||
| 752 | * @param int $ID_RateCode |
||
| 753 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 754 | */ |
||
| 755 | public function setID_RateCode($ID_RateCode) |
||
| 760 | |||
| 761 | /** |
||
| 762 | * @return int |
||
| 763 | */ |
||
| 764 | public function getID_RateReason() |
||
| 768 | |||
| 769 | /** |
||
| 770 | * @param int $ID_RateReason |
||
| 771 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 772 | */ |
||
| 773 | public function setID_RateReason($ID_RateReason) |
||
| 778 | |||
| 779 | /** |
||
| 780 | * @return int |
||
| 781 | */ |
||
| 782 | public function getID_Floor() |
||
| 786 | |||
| 787 | /** |
||
| 788 | * @param int $ID_Floor |
||
| 789 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 790 | */ |
||
| 791 | public function setID_Floor($ID_Floor) |
||
| 796 | |||
| 797 | /** |
||
| 798 | * @return int |
||
| 799 | */ |
||
| 800 | public function getConnectingWith() |
||
| 804 | |||
| 805 | /** |
||
| 806 | * @param int $ConnectingWith |
||
| 807 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 808 | */ |
||
| 809 | public function setConnectingWith($ConnectingWith) |
||
| 814 | |||
| 815 | /** |
||
| 816 | * @return string |
||
| 817 | */ |
||
| 818 | public function getNote() |
||
| 822 | |||
| 823 | /** |
||
| 824 | * @param string $Note |
||
| 825 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 826 | */ |
||
| 827 | public function setNote($Note) |
||
| 832 | |||
| 833 | /** |
||
| 834 | * @return float |
||
| 835 | */ |
||
| 836 | public function getManuelRate() |
||
| 840 | |||
| 841 | /** |
||
| 842 | * @param float $ManuelRate |
||
| 843 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 844 | */ |
||
| 845 | public function setManuelRate($ManuelRate) |
||
| 850 | |||
| 851 | /** |
||
| 852 | * @return int |
||
| 853 | */ |
||
| 854 | public function getID_CreditLimit() |
||
| 858 | |||
| 859 | /** |
||
| 860 | * @param int $ID_CreditLimit |
||
| 861 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 862 | */ |
||
| 863 | public function setID_CreditLimit($ID_CreditLimit) |
||
| 868 | |||
| 869 | /** |
||
| 870 | * @return int |
||
| 871 | */ |
||
| 872 | public function getHoldLevel() |
||
| 876 | |||
| 877 | /** |
||
| 878 | * @param int $HoldLevel |
||
| 879 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 880 | */ |
||
| 881 | public function setHoldLevel($HoldLevel) |
||
| 886 | |||
| 887 | /** |
||
| 888 | * @return \DateTime |
||
| 889 | */ |
||
| 890 | public function getExpectedArrTime() |
||
| 902 | |||
| 903 | /** |
||
| 904 | * @param \DateTime $ExpectedArrTime |
||
| 905 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 906 | */ |
||
| 907 | public function setExpectedArrTime(\DateTime $ExpectedArrTime) |
||
| 912 | |||
| 913 | /** |
||
| 914 | * @return \DateTime |
||
| 915 | */ |
||
| 916 | public function getExpectedDepTime() |
||
| 928 | |||
| 929 | /** |
||
| 930 | * @param \DateTime $ExpectedDepTime |
||
| 931 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 932 | */ |
||
| 933 | public function setExpectedDepTime(\DateTime $ExpectedDepTime) |
||
| 938 | |||
| 939 | /** |
||
| 940 | * @return int |
||
| 941 | */ |
||
| 942 | public function getAcceptedCurrencyType() |
||
| 946 | |||
| 947 | /** |
||
| 948 | * @param int $AcceptedCurrencyType |
||
| 949 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 950 | */ |
||
| 951 | public function setAcceptedCurrencyType($AcceptedCurrencyType) |
||
| 956 | |||
| 957 | /** |
||
| 958 | * @return int |
||
| 959 | */ |
||
| 960 | public function getCutoffDays() |
||
| 964 | |||
| 965 | /** |
||
| 966 | * @param int $CutoffDays |
||
| 967 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 968 | */ |
||
| 969 | public function setCutoffDays($CutoffDays) |
||
| 974 | |||
| 975 | /** |
||
| 976 | * @return int |
||
| 977 | */ |
||
| 978 | public function getID_CreditCard() |
||
| 982 | |||
| 983 | /** |
||
| 984 | * @param int $ID_CreditCard |
||
| 985 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 986 | */ |
||
| 987 | public function setID_CreditCard($ID_CreditCard) |
||
| 992 | |||
| 993 | /** |
||
| 994 | * @return string |
||
| 995 | */ |
||
| 996 | public function getCard_Number() |
||
| 1000 | |||
| 1001 | /** |
||
| 1002 | * @param string $Card_Number |
||
| 1003 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1004 | */ |
||
| 1005 | public function setCard_Number($Card_Number) |
||
| 1010 | |||
| 1011 | /** |
||
| 1012 | * @return string |
||
| 1013 | */ |
||
| 1014 | public function getExpire_Date() |
||
| 1018 | |||
| 1019 | /** |
||
| 1020 | * @param string $Expire_Date |
||
| 1021 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1022 | */ |
||
| 1023 | public function setExpire_Date($Expire_Date) |
||
| 1028 | |||
| 1029 | /** |
||
| 1030 | * @return string |
||
| 1031 | */ |
||
| 1032 | public function getVoucher() |
||
| 1036 | |||
| 1037 | /** |
||
| 1038 | * @param string $Voucher |
||
| 1039 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1040 | */ |
||
| 1041 | public function setVoucher($Voucher) |
||
| 1046 | |||
| 1047 | /** |
||
| 1048 | * @return string |
||
| 1049 | */ |
||
| 1050 | public function getTaxNo() |
||
| 1054 | |||
| 1055 | /** |
||
| 1056 | * @param string $TaxNo |
||
| 1057 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1058 | */ |
||
| 1059 | public function setTaxNo($TaxNo) |
||
| 1064 | |||
| 1065 | /** |
||
| 1066 | * @return int |
||
| 1067 | */ |
||
| 1068 | public function getFirstDepDay() |
||
| 1072 | |||
| 1073 | /** |
||
| 1074 | * @param int $FirstDepDay |
||
| 1075 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1076 | */ |
||
| 1077 | public function setFirstDepDay($FirstDepDay) |
||
| 1082 | |||
| 1083 | /** |
||
| 1084 | * @return int |
||
| 1085 | */ |
||
| 1086 | public function getID_GuestType() |
||
| 1090 | |||
| 1091 | /** |
||
| 1092 | * @param int $ID_GuestType |
||
| 1093 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1094 | */ |
||
| 1095 | public function setID_GuestType($ID_GuestType) |
||
| 1100 | |||
| 1101 | /** |
||
| 1102 | * @return \DateTime |
||
| 1103 | */ |
||
| 1104 | public function getFirstDepDate() |
||
| 1116 | |||
| 1117 | /** |
||
| 1118 | * @param \DateTime $FirstDepDate |
||
| 1119 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1120 | */ |
||
| 1121 | public function setFirstDepDate(\DateTime $FirstDepDate) |
||
| 1126 | |||
| 1127 | /** |
||
| 1128 | * @return string |
||
| 1129 | */ |
||
| 1130 | public function getTaxNo2() |
||
| 1134 | |||
| 1135 | /** |
||
| 1136 | * @param string $TaxNo2 |
||
| 1137 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1138 | */ |
||
| 1139 | public function setTaxNo2($TaxNo2) |
||
| 1144 | |||
| 1145 | /** |
||
| 1146 | * @return int |
||
| 1147 | */ |
||
| 1148 | public function getID_SrcBusiness() |
||
| 1152 | |||
| 1153 | /** |
||
| 1154 | * @param int $ID_SrcBusiness |
||
| 1155 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1156 | */ |
||
| 1157 | public function setID_SrcBusiness($ID_SrcBusiness) |
||
| 1162 | |||
| 1163 | /** |
||
| 1164 | * @return int |
||
| 1165 | */ |
||
| 1166 | public function getFirstDepType() |
||
| 1170 | |||
| 1171 | /** |
||
| 1172 | * @param int $FirstDepType |
||
| 1173 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1174 | */ |
||
| 1175 | public function setFirstDepType($FirstDepType) |
||
| 1180 | |||
| 1181 | /** |
||
| 1182 | * @return float |
||
| 1183 | */ |
||
| 1184 | public function getFirstDepAmount() |
||
| 1188 | |||
| 1189 | /** |
||
| 1190 | * @param float $FirstDepAmount |
||
| 1191 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1192 | */ |
||
| 1193 | public function setFirstDepAmount($FirstDepAmount) |
||
| 1198 | |||
| 1199 | /** |
||
| 1200 | * @return int |
||
| 1201 | */ |
||
| 1202 | public function getSecondDepDay() |
||
| 1206 | |||
| 1207 | /** |
||
| 1208 | * @param int $SecondDepDay |
||
| 1209 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1210 | */ |
||
| 1211 | public function setSecondDepDay($SecondDepDay) |
||
| 1216 | |||
| 1217 | /** |
||
| 1218 | * @return \DateTime |
||
| 1219 | */ |
||
| 1220 | public function getSecondDepDate() |
||
| 1232 | |||
| 1233 | /** |
||
| 1234 | * @param \DateTime $SecondDepDate |
||
| 1235 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1236 | */ |
||
| 1237 | public function setSecondDepDate(\DateTime $SecondDepDate) |
||
| 1242 | |||
| 1243 | /** |
||
| 1244 | * @return int |
||
| 1245 | */ |
||
| 1246 | public function getSecondDepType() |
||
| 1250 | |||
| 1251 | /** |
||
| 1252 | * @param int $SecondDepType |
||
| 1253 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1254 | */ |
||
| 1255 | public function setSecondDepType($SecondDepType) |
||
| 1260 | |||
| 1261 | /** |
||
| 1262 | * @return float |
||
| 1263 | */ |
||
| 1264 | public function getSecondDepAmount() |
||
| 1268 | |||
| 1269 | /** |
||
| 1270 | * @param float $SecondDepAmount |
||
| 1271 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1272 | */ |
||
| 1273 | public function setSecondDepAmount($SecondDepAmount) |
||
| 1278 | |||
| 1279 | /** |
||
| 1280 | * @return int |
||
| 1281 | */ |
||
| 1282 | public function getArrivalDepDay() |
||
| 1286 | |||
| 1287 | /** |
||
| 1288 | * @param int $ArrivalDepDay |
||
| 1289 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1290 | */ |
||
| 1291 | public function setArrivalDepDay($ArrivalDepDay) |
||
| 1296 | |||
| 1297 | /** |
||
| 1298 | * @return \DateTime |
||
| 1299 | */ |
||
| 1300 | public function getArrivalDepDate() |
||
| 1312 | |||
| 1313 | /** |
||
| 1314 | * @param \DateTime $ArrivalDepDate |
||
| 1315 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1316 | */ |
||
| 1317 | public function setArrivalDepDate(\DateTime $ArrivalDepDate) |
||
| 1322 | |||
| 1323 | /** |
||
| 1324 | * @return int |
||
| 1325 | */ |
||
| 1326 | public function getArrivalDepType() |
||
| 1330 | |||
| 1331 | /** |
||
| 1332 | * @param int $ArrivalDepType |
||
| 1333 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1334 | */ |
||
| 1335 | public function setArrivalDepType($ArrivalDepType) |
||
| 1340 | |||
| 1341 | /** |
||
| 1342 | * @return float |
||
| 1343 | */ |
||
| 1344 | public function getArrivalDepAmount() |
||
| 1348 | |||
| 1349 | /** |
||
| 1350 | * @param float $ArrivalDepAmount |
||
| 1351 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1352 | */ |
||
| 1353 | public function setArrivalDepAmount($ArrivalDepAmount) |
||
| 1358 | |||
| 1359 | /** |
||
| 1360 | * @return int |
||
| 1361 | */ |
||
| 1362 | public function getPhoneCallMethod() |
||
| 1366 | |||
| 1367 | /** |
||
| 1368 | * @param int $PhoneCallMethod |
||
| 1369 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1370 | */ |
||
| 1371 | public function setPhoneCallMethod($PhoneCallMethod) |
||
| 1376 | |||
| 1377 | /** |
||
| 1378 | * @return int |
||
| 1379 | */ |
||
| 1380 | public function getPhoneChargeType() |
||
| 1384 | |||
| 1385 | /** |
||
| 1386 | * @param int $PhoneChargeType |
||
| 1387 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1388 | */ |
||
| 1389 | public function setPhoneChargeType($PhoneChargeType) |
||
| 1394 | |||
| 1395 | /** |
||
| 1396 | * @return int |
||
| 1397 | */ |
||
| 1398 | public function getNumberFreeCall() |
||
| 1402 | |||
| 1403 | /** |
||
| 1404 | * @param int $NumberFreeCall |
||
| 1405 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1406 | */ |
||
| 1407 | public function setNumberFreeCall($NumberFreeCall) |
||
| 1412 | |||
| 1413 | /** |
||
| 1414 | * @return int |
||
| 1415 | */ |
||
| 1416 | public function getConfirmation() |
||
| 1420 | |||
| 1421 | /** |
||
| 1422 | * @param int $Confirmation |
||
| 1423 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1424 | */ |
||
| 1425 | public function setConfirmation($Confirmation) |
||
| 1430 | |||
| 1431 | /** |
||
| 1432 | * @return int |
||
| 1433 | */ |
||
| 1434 | public function getSex() |
||
| 1438 | |||
| 1439 | /** |
||
| 1440 | * @param int $Sex |
||
| 1441 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1442 | */ |
||
| 1443 | public function setSex($Sex) |
||
| 1448 | |||
| 1449 | /** |
||
| 1450 | * @return boolean |
||
| 1451 | */ |
||
| 1452 | public function getIs_VIP() |
||
| 1456 | |||
| 1457 | /** |
||
| 1458 | * @param boolean $Is_VIP |
||
| 1459 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1460 | */ |
||
| 1461 | public function setIs_VIP($Is_VIP) |
||
| 1466 | |||
| 1467 | /** |
||
| 1468 | * @return boolean |
||
| 1469 | */ |
||
| 1470 | public function getIsCashOnly() |
||
| 1474 | |||
| 1475 | /** |
||
| 1476 | * @param boolean $IsCashOnly |
||
| 1477 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1478 | */ |
||
| 1479 | public function setIsCashOnly($IsCashOnly) |
||
| 1484 | |||
| 1485 | /** |
||
| 1486 | * @return int |
||
| 1487 | */ |
||
| 1488 | public function getID_Vip() |
||
| 1492 | |||
| 1493 | /** |
||
| 1494 | * @param int $ID_Vip |
||
| 1495 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1496 | */ |
||
| 1497 | public function setID_Vip($ID_Vip) |
||
| 1502 | |||
| 1503 | /** |
||
| 1504 | * @return boolean |
||
| 1505 | */ |
||
| 1506 | public function getIsGuaranteed() |
||
| 1510 | |||
| 1511 | /** |
||
| 1512 | * @param boolean $IsGuaranteed |
||
| 1513 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1514 | */ |
||
| 1515 | public function setIsGuaranteed($IsGuaranteed) |
||
| 1520 | |||
| 1521 | /** |
||
| 1522 | * @return boolean |
||
| 1523 | */ |
||
| 1524 | public function getIsCallReset() |
||
| 1528 | |||
| 1529 | /** |
||
| 1530 | * @param boolean $IsCallReset |
||
| 1531 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1532 | */ |
||
| 1533 | public function setIsCallReset($IsCallReset) |
||
| 1538 | |||
| 1539 | /** |
||
| 1540 | * @return boolean |
||
| 1541 | */ |
||
| 1542 | public function getIsPreBillingActive() |
||
| 1546 | |||
| 1547 | /** |
||
| 1548 | * @param boolean $IsPreBillingActive |
||
| 1549 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1550 | */ |
||
| 1551 | public function setIsPreBillingActive($IsPreBillingActive) |
||
| 1556 | |||
| 1557 | /** |
||
| 1558 | * @return int |
||
| 1559 | */ |
||
| 1560 | public function getPreBillingDaysNbr() |
||
| 1564 | |||
| 1565 | /** |
||
| 1566 | * @param int $PreBillingDaysNbr |
||
| 1567 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1568 | */ |
||
| 1569 | public function setPreBillingDaysNbr($PreBillingDaysNbr) |
||
| 1574 | |||
| 1575 | /** |
||
| 1576 | * @return int |
||
| 1577 | */ |
||
| 1578 | public function getID_MArketSegment() |
||
| 1582 | |||
| 1583 | /** |
||
| 1584 | * @param int $ID_MArketSegment |
||
| 1585 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1586 | */ |
||
| 1587 | public function setID_MArketSegment($ID_MArketSegment) |
||
| 1592 | |||
| 1593 | /** |
||
| 1594 | * @return int |
||
| 1595 | */ |
||
| 1596 | public function getCondoOwner_Id() |
||
| 1600 | |||
| 1601 | /** |
||
| 1602 | * @param int $CondoOwner_Id |
||
| 1603 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1604 | */ |
||
| 1605 | public function setCondoOwner_Id($CondoOwner_Id) |
||
| 1610 | |||
| 1611 | /** |
||
| 1612 | * @return int |
||
| 1613 | */ |
||
| 1614 | public function getCondoOwner_Id_0() |
||
| 1618 | |||
| 1619 | /** |
||
| 1620 | * @param int $CondoOwner_Id_0 |
||
| 1621 | * @return \Gueststream\PMS\IQWare\API\OwnerTemplates |
||
| 1622 | */ |
||
| 1623 | public function setCondoOwner_Id_0($CondoOwner_Id_0) |
||
| 1628 | } |
||
| 1629 |
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..