Complex classes like WebCondoConfig 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 WebCondoConfig, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
5 | class WebCondoConfig |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var \DateTime $ShowGuestsSince |
||
10 | */ |
||
11 | protected $ShowGuestsSince = null; |
||
12 | |||
13 | /** |
||
14 | * @var \DateTime $ShowWorkOrdersSince |
||
15 | */ |
||
16 | protected $ShowWorkOrdersSince = null; |
||
17 | |||
18 | /** |
||
19 | * @var string $CustomLabelSubFolioA |
||
20 | */ |
||
21 | protected $CustomLabelSubFolioA = null; |
||
22 | |||
23 | /** |
||
24 | * @var string $CustomLabelSubFolioB |
||
25 | */ |
||
26 | protected $CustomLabelSubFolioB = null; |
||
27 | |||
28 | /** |
||
29 | * @var string $CustomLabelSubFolioC |
||
30 | */ |
||
31 | protected $CustomLabelSubFolioC = null; |
||
32 | |||
33 | /** |
||
34 | * @var string $CustomLabelSubFolioD |
||
35 | */ |
||
36 | protected $CustomLabelSubFolioD = null; |
||
37 | |||
38 | /** |
||
39 | * @var boolean $IsCCConfirmationToPL |
||
40 | */ |
||
41 | protected $IsCCConfirmationToPL = null; |
||
42 | |||
43 | /** |
||
44 | * @var boolean $IsCCConfirmationToBldgGle |
||
45 | */ |
||
46 | protected $IsCCConfirmationToBldgGle = null; |
||
47 | |||
48 | /** |
||
49 | * @var int $wcMinDayFromHotelDate |
||
50 | */ |
||
51 | protected $wcMinDayFromHotelDate = null; |
||
52 | |||
53 | /** |
||
54 | * @var int $wcMaxDayFromHotelDate |
||
55 | */ |
||
56 | protected $wcMaxDayFromHotelDate = null; |
||
57 | |||
58 | /** |
||
59 | * @var boolean $IsShowWorkOrderOnlyInClosedMonth |
||
60 | */ |
||
61 | protected $IsShowWorkOrderOnlyInClosedMonth = null; |
||
62 | |||
63 | /** |
||
64 | * @var boolean $IsShowSubFolioA |
||
65 | */ |
||
66 | protected $IsShowSubFolioA = null; |
||
67 | |||
68 | /** |
||
69 | * @var boolean $IsShowSubFolioB |
||
70 | */ |
||
71 | protected $IsShowSubFolioB = null; |
||
72 | |||
73 | /** |
||
74 | * @var boolean $IsShowSubFolioC |
||
75 | */ |
||
76 | protected $IsShowSubFolioC = null; |
||
77 | |||
78 | /** |
||
79 | * @var boolean $IsShowSubFolioD |
||
80 | */ |
||
81 | protected $IsShowSubFolioD = null; |
||
82 | |||
83 | /** |
||
84 | * @var \DateTime $LoadTime |
||
85 | */ |
||
86 | protected $LoadTime = null; |
||
87 | |||
88 | /** |
||
89 | * @var boolean $AllowOwnerBooking |
||
90 | */ |
||
91 | protected $AllowOwnerBooking = null; |
||
92 | |||
93 | /** |
||
94 | * @var boolean $EnablePDFDownload |
||
95 | */ |
||
96 | protected $EnablePDFDownload = null; |
||
97 | |||
98 | /** |
||
99 | * @var CondoActivityColumnsVisibility $ActivityColumnsVisibility |
||
100 | */ |
||
101 | protected $ActivityColumnsVisibility = null; |
||
102 | |||
103 | /** |
||
104 | * @var CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility |
||
105 | */ |
||
106 | protected $GuestHistoryColumnsVisibility = null; |
||
107 | |||
108 | /** |
||
109 | * @var int $ID_Property |
||
110 | */ |
||
111 | protected $ID_Property = null; |
||
112 | |||
113 | /** |
||
114 | * @var \DateTime $CurrentHotelDate |
||
115 | */ |
||
116 | protected $CurrentHotelDate = null; |
||
117 | |||
118 | /** |
||
119 | * @var string $DefaultLanguage |
||
120 | */ |
||
121 | protected $DefaultLanguage = null; |
||
122 | |||
123 | /** |
||
124 | * @var boolean $Active |
||
125 | */ |
||
126 | protected $Active = null; |
||
127 | |||
128 | /** |
||
129 | * @var boolean $OnlyClosedMonths |
||
130 | */ |
||
131 | protected $OnlyClosedMonths = null; |
||
132 | |||
133 | /** |
||
134 | * @var boolean $ShowXMLActivity |
||
135 | */ |
||
136 | protected $ShowXMLActivity = null; |
||
137 | |||
138 | /** |
||
139 | * @var boolean $ShowXMLStatement |
||
140 | */ |
||
141 | protected $ShowXMLStatement = null; |
||
142 | |||
143 | /** |
||
144 | * @var boolean $ShowExpenses |
||
145 | */ |
||
146 | protected $ShowExpenses = null; |
||
147 | |||
148 | /** |
||
149 | * @var boolean $IsGuestNegociateBooking |
||
150 | */ |
||
151 | protected $IsGuestNegociateBooking = null; |
||
152 | |||
153 | /** |
||
154 | * @var int $ID_SrcBusinessNegociated |
||
155 | */ |
||
156 | protected $ID_SrcBusinessNegociated = null; |
||
157 | |||
158 | /** |
||
159 | * @var int $ID_RateReasonNegociated |
||
160 | */ |
||
161 | protected $ID_RateReasonNegociated = null; |
||
162 | |||
163 | /** |
||
164 | * @var int $ID_RateCodeNegociated |
||
165 | */ |
||
166 | protected $ID_RateCodeNegociated = null; |
||
167 | |||
168 | /** |
||
169 | * @var boolean $AllowProfileUpdate |
||
170 | */ |
||
171 | protected $AllowProfileUpdate = null; |
||
172 | |||
173 | /** |
||
174 | * @var boolean $ShowContractDates |
||
175 | */ |
||
176 | protected $ShowContractDates = null; |
||
177 | |||
178 | /** |
||
179 | * @var CondoActivityTypeEnum $CondoActivityType |
||
180 | */ |
||
181 | protected $CondoActivityType = null; |
||
182 | |||
183 | /** |
||
184 | * @var boolean $ShowContractBalances |
||
185 | */ |
||
186 | protected $ShowContractBalances = null; |
||
187 | |||
188 | /** |
||
189 | * @var boolean $ShowProfileBalances |
||
190 | */ |
||
191 | protected $ShowProfileBalances = null; |
||
192 | |||
193 | /** |
||
194 | * @var boolean $ShowContractBalancesDetails |
||
195 | */ |
||
196 | protected $ShowContractBalancesDetails = null; |
||
197 | |||
198 | /** |
||
199 | * @var boolean $ShowProfileBalancesDetails |
||
200 | */ |
||
201 | protected $ShowProfileBalancesDetails = null; |
||
202 | |||
203 | /** |
||
204 | * @var boolean $ShowRoomTypeSoldOutAsAvailable |
||
205 | */ |
||
206 | protected $ShowRoomTypeSoldOutAsAvailable = null; |
||
207 | |||
208 | /** |
||
209 | * @var string $Disclaimer |
||
210 | */ |
||
211 | protected $Disclaimer = null; |
||
212 | |||
213 | /** |
||
214 | * @var boolean $ShowWorkOrdersPostedOnly |
||
215 | */ |
||
216 | protected $ShowWorkOrdersPostedOnly = null; |
||
217 | |||
218 | /** |
||
219 | * @var boolean $DeduceRoomRevFromSAComm |
||
220 | */ |
||
221 | protected $DeduceRoomRevFromSAComm = null; |
||
222 | |||
223 | /** |
||
224 | * @var int $MaxInitialContractsLoadWorkOrder |
||
225 | */ |
||
226 | protected $MaxInitialContractsLoadWorkOrder = null; |
||
227 | |||
228 | /** |
||
229 | * @var boolean $ShowGHOnlyBookingTypeOwnerFriend |
||
230 | */ |
||
231 | protected $ShowGHOnlyBookingTypeOwnerFriend = null; |
||
232 | |||
233 | /** |
||
234 | * @var boolean $ShowGHPastResa |
||
235 | */ |
||
236 | protected $ShowGHPastResa = null; |
||
237 | |||
238 | /** |
||
239 | * @var boolean $ShowGHFutureResa |
||
240 | */ |
||
241 | protected $ShowGHFutureResa = null; |
||
242 | |||
243 | /** |
||
244 | * @var boolean $ShowGuestHistoryMenu |
||
245 | */ |
||
246 | protected $ShowGuestHistoryMenu = null; |
||
247 | |||
248 | /** |
||
249 | * @var boolean $ShowContractMenu |
||
250 | */ |
||
251 | protected $ShowContractMenu = null; |
||
252 | |||
253 | /** |
||
254 | * @var boolean $ShowStatisticMenu |
||
255 | */ |
||
256 | protected $ShowStatisticMenu = null; |
||
257 | |||
258 | /** |
||
259 | * @var boolean $ShowBookingOwnerFriendMenu |
||
260 | */ |
||
261 | protected $ShowBookingOwnerFriendMenu = null; |
||
262 | |||
263 | /** |
||
264 | * @var boolean $ShowBookingGuestMenu |
||
265 | */ |
||
266 | protected $ShowBookingGuestMenu = null; |
||
267 | |||
268 | /** |
||
269 | * @var boolean $ShowLoginPwdMenu |
||
270 | */ |
||
271 | protected $ShowLoginPwdMenu = null; |
||
272 | |||
273 | /** |
||
274 | * @var boolean $ShowWorkOrderMenu |
||
275 | */ |
||
276 | protected $ShowWorkOrderMenu = null; |
||
277 | |||
278 | /** |
||
279 | * @var boolean $AllowGuestBooking |
||
280 | */ |
||
281 | protected $AllowGuestBooking = null; |
||
282 | |||
283 | /** |
||
284 | * @var boolean $ShowNewsMenu |
||
285 | */ |
||
286 | protected $ShowNewsMenu = null; |
||
287 | |||
288 | /** |
||
289 | * @var boolean $AllowFractionalOwnerBooking |
||
290 | */ |
||
291 | protected $AllowFractionalOwnerBooking = null; |
||
292 | |||
293 | /** |
||
294 | * @var boolean $ShowWorkOrderTechInfo |
||
295 | */ |
||
296 | protected $ShowWorkOrderTechInfo = null; |
||
297 | |||
298 | /** |
||
299 | * @var boolean $ShowGrossRentalRevenu |
||
300 | */ |
||
301 | protected $ShowGrossRentalRevenu = null; |
||
302 | |||
303 | /** |
||
304 | * @param \DateTime $ShowGuestsSince |
||
305 | * @param \DateTime $ShowWorkOrdersSince |
||
306 | * @param boolean $IsCCConfirmationToPL |
||
307 | * @param boolean $IsCCConfirmationToBldgGle |
||
308 | * @param int $wcMinDayFromHotelDate |
||
309 | * @param int $wcMaxDayFromHotelDate |
||
310 | * @param boolean $IsShowWorkOrderOnlyInClosedMonth |
||
311 | * @param boolean $IsShowSubFolioA |
||
312 | * @param boolean $IsShowSubFolioB |
||
313 | * @param boolean $IsShowSubFolioC |
||
314 | * @param boolean $IsShowSubFolioD |
||
315 | * @param \DateTime $LoadTime |
||
316 | * @param boolean $AllowOwnerBooking |
||
317 | * @param boolean $EnablePDFDownload |
||
318 | * @param CondoActivityColumnsVisibility $ActivityColumnsVisibility |
||
319 | * @param CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility |
||
320 | * @param int $ID_Property |
||
321 | * @param \DateTime $CurrentHotelDate |
||
322 | * @param boolean $Active |
||
323 | * @param boolean $OnlyClosedMonths |
||
324 | * @param boolean $ShowXMLActivity |
||
325 | * @param boolean $ShowXMLStatement |
||
326 | * @param boolean $ShowExpenses |
||
327 | * @param boolean $IsGuestNegociateBooking |
||
328 | * @param int $ID_SrcBusinessNegociated |
||
329 | * @param int $ID_RateReasonNegociated |
||
330 | * @param int $ID_RateCodeNegociated |
||
331 | * @param boolean $AllowProfileUpdate |
||
332 | * @param boolean $ShowContractDates |
||
333 | * @param CondoActivityTypeEnum $CondoActivityType |
||
334 | * @param boolean $ShowContractBalances |
||
335 | * @param boolean $ShowProfileBalances |
||
336 | * @param boolean $ShowContractBalancesDetails |
||
337 | * @param boolean $ShowProfileBalancesDetails |
||
338 | * @param boolean $ShowRoomTypeSoldOutAsAvailable |
||
339 | * @param boolean $ShowWorkOrdersPostedOnly |
||
340 | * @param boolean $DeduceRoomRevFromSAComm |
||
341 | * @param int $MaxInitialContractsLoadWorkOrder |
||
342 | * @param boolean $ShowGHOnlyBookingTypeOwnerFriend |
||
343 | * @param boolean $ShowGHPastResa |
||
344 | * @param boolean $ShowGHFutureResa |
||
345 | * @param boolean $ShowGuestHistoryMenu |
||
346 | * @param boolean $ShowContractMenu |
||
347 | * @param boolean $ShowStatisticMenu |
||
348 | * @param boolean $ShowBookingOwnerFriendMenu |
||
349 | * @param boolean $ShowBookingGuestMenu |
||
350 | * @param boolean $ShowLoginPwdMenu |
||
351 | * @param boolean $ShowWorkOrderMenu |
||
352 | * @param boolean $AllowGuestBooking |
||
353 | * @param boolean $ShowNewsMenu |
||
354 | * @param boolean $AllowFractionalOwnerBooking |
||
355 | * @param boolean $ShowWorkOrderTechInfo |
||
356 | * @param boolean $ShowGrossRentalRevenu |
||
357 | */ |
||
358 | public function __construct(\DateTime $ShowGuestsSince, \DateTime $ShowWorkOrdersSince, $IsCCConfirmationToPL, $IsCCConfirmationToBldgGle, $wcMinDayFromHotelDate, $wcMaxDayFromHotelDate, $IsShowWorkOrderOnlyInClosedMonth, $IsShowSubFolioA, $IsShowSubFolioB, $IsShowSubFolioC, $IsShowSubFolioD, \DateTime $LoadTime, $AllowOwnerBooking, $EnablePDFDownload, $ActivityColumnsVisibility, $GuestHistoryColumnsVisibility, $ID_Property, \DateTime $CurrentHotelDate, $Active, $OnlyClosedMonths, $ShowXMLActivity, $ShowXMLStatement, $ShowExpenses, $IsGuestNegociateBooking, $ID_SrcBusinessNegociated, $ID_RateReasonNegociated, $ID_RateCodeNegociated, $AllowProfileUpdate, $ShowContractDates, $CondoActivityType, $ShowContractBalances, $ShowProfileBalances, $ShowContractBalancesDetails, $ShowProfileBalancesDetails, $ShowRoomTypeSoldOutAsAvailable, $ShowWorkOrdersPostedOnly, $DeduceRoomRevFromSAComm, $MaxInitialContractsLoadWorkOrder, $ShowGHOnlyBookingTypeOwnerFriend, $ShowGHPastResa, $ShowGHFutureResa, $ShowGuestHistoryMenu, $ShowContractMenu, $ShowStatisticMenu, $ShowBookingOwnerFriendMenu, $ShowBookingGuestMenu, $ShowLoginPwdMenu, $ShowWorkOrderMenu, $AllowGuestBooking, $ShowNewsMenu, $AllowFractionalOwnerBooking, $ShowWorkOrderTechInfo, $ShowGrossRentalRevenu) |
||
414 | |||
415 | /** |
||
416 | * @return \DateTime |
||
417 | */ |
||
418 | public function getShowGuestsSince() |
||
430 | |||
431 | /** |
||
432 | * @param \DateTime $ShowGuestsSince |
||
433 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
434 | */ |
||
435 | public function setShowGuestsSince(\DateTime $ShowGuestsSince) |
||
440 | |||
441 | /** |
||
442 | * @return \DateTime |
||
443 | */ |
||
444 | public function getShowWorkOrdersSince() |
||
456 | |||
457 | /** |
||
458 | * @param \DateTime $ShowWorkOrdersSince |
||
459 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
460 | */ |
||
461 | public function setShowWorkOrdersSince(\DateTime $ShowWorkOrdersSince) |
||
466 | |||
467 | /** |
||
468 | * @return string |
||
469 | */ |
||
470 | public function getCustomLabelSubFolioA() |
||
474 | |||
475 | /** |
||
476 | * @param string $CustomLabelSubFolioA |
||
477 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
478 | */ |
||
479 | public function setCustomLabelSubFolioA($CustomLabelSubFolioA) |
||
484 | |||
485 | /** |
||
486 | * @return string |
||
487 | */ |
||
488 | public function getCustomLabelSubFolioB() |
||
492 | |||
493 | /** |
||
494 | * @param string $CustomLabelSubFolioB |
||
495 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
496 | */ |
||
497 | public function setCustomLabelSubFolioB($CustomLabelSubFolioB) |
||
502 | |||
503 | /** |
||
504 | * @return string |
||
505 | */ |
||
506 | public function getCustomLabelSubFolioC() |
||
510 | |||
511 | /** |
||
512 | * @param string $CustomLabelSubFolioC |
||
513 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
514 | */ |
||
515 | public function setCustomLabelSubFolioC($CustomLabelSubFolioC) |
||
520 | |||
521 | /** |
||
522 | * @return string |
||
523 | */ |
||
524 | public function getCustomLabelSubFolioD() |
||
528 | |||
529 | /** |
||
530 | * @param string $CustomLabelSubFolioD |
||
531 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
532 | */ |
||
533 | public function setCustomLabelSubFolioD($CustomLabelSubFolioD) |
||
538 | |||
539 | /** |
||
540 | * @return boolean |
||
541 | */ |
||
542 | public function getIsCCConfirmationToPL() |
||
546 | |||
547 | /** |
||
548 | * @param boolean $IsCCConfirmationToPL |
||
549 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
550 | */ |
||
551 | public function setIsCCConfirmationToPL($IsCCConfirmationToPL) |
||
556 | |||
557 | /** |
||
558 | * @return boolean |
||
559 | */ |
||
560 | public function getIsCCConfirmationToBldgGle() |
||
564 | |||
565 | /** |
||
566 | * @param boolean $IsCCConfirmationToBldgGle |
||
567 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
568 | */ |
||
569 | public function setIsCCConfirmationToBldgGle($IsCCConfirmationToBldgGle) |
||
574 | |||
575 | /** |
||
576 | * @return int |
||
577 | */ |
||
578 | public function getWcMinDayFromHotelDate() |
||
582 | |||
583 | /** |
||
584 | * @param int $wcMinDayFromHotelDate |
||
585 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
586 | */ |
||
587 | public function setWcMinDayFromHotelDate($wcMinDayFromHotelDate) |
||
592 | |||
593 | /** |
||
594 | * @return int |
||
595 | */ |
||
596 | public function getWcMaxDayFromHotelDate() |
||
600 | |||
601 | /** |
||
602 | * @param int $wcMaxDayFromHotelDate |
||
603 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
604 | */ |
||
605 | public function setWcMaxDayFromHotelDate($wcMaxDayFromHotelDate) |
||
610 | |||
611 | /** |
||
612 | * @return boolean |
||
613 | */ |
||
614 | public function getIsShowWorkOrderOnlyInClosedMonth() |
||
618 | |||
619 | /** |
||
620 | * @param boolean $IsShowWorkOrderOnlyInClosedMonth |
||
621 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
622 | */ |
||
623 | public function setIsShowWorkOrderOnlyInClosedMonth($IsShowWorkOrderOnlyInClosedMonth) |
||
628 | |||
629 | /** |
||
630 | * @return boolean |
||
631 | */ |
||
632 | public function getIsShowSubFolioA() |
||
636 | |||
637 | /** |
||
638 | * @param boolean $IsShowSubFolioA |
||
639 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
640 | */ |
||
641 | public function setIsShowSubFolioA($IsShowSubFolioA) |
||
646 | |||
647 | /** |
||
648 | * @return boolean |
||
649 | */ |
||
650 | public function getIsShowSubFolioB() |
||
654 | |||
655 | /** |
||
656 | * @param boolean $IsShowSubFolioB |
||
657 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
658 | */ |
||
659 | public function setIsShowSubFolioB($IsShowSubFolioB) |
||
664 | |||
665 | /** |
||
666 | * @return boolean |
||
667 | */ |
||
668 | public function getIsShowSubFolioC() |
||
672 | |||
673 | /** |
||
674 | * @param boolean $IsShowSubFolioC |
||
675 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
676 | */ |
||
677 | public function setIsShowSubFolioC($IsShowSubFolioC) |
||
682 | |||
683 | /** |
||
684 | * @return boolean |
||
685 | */ |
||
686 | public function getIsShowSubFolioD() |
||
690 | |||
691 | /** |
||
692 | * @param boolean $IsShowSubFolioD |
||
693 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
694 | */ |
||
695 | public function setIsShowSubFolioD($IsShowSubFolioD) |
||
700 | |||
701 | /** |
||
702 | * @return \DateTime |
||
703 | */ |
||
704 | public function getLoadTime() |
||
716 | |||
717 | /** |
||
718 | * @param \DateTime $LoadTime |
||
719 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
720 | */ |
||
721 | public function setLoadTime(\DateTime $LoadTime) |
||
726 | |||
727 | /** |
||
728 | * @return boolean |
||
729 | */ |
||
730 | public function getAllowOwnerBooking() |
||
734 | |||
735 | /** |
||
736 | * @param boolean $AllowOwnerBooking |
||
737 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
738 | */ |
||
739 | public function setAllowOwnerBooking($AllowOwnerBooking) |
||
744 | |||
745 | /** |
||
746 | * @return boolean |
||
747 | */ |
||
748 | public function getEnablePDFDownload() |
||
752 | |||
753 | /** |
||
754 | * @param boolean $EnablePDFDownload |
||
755 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
756 | */ |
||
757 | public function setEnablePDFDownload($EnablePDFDownload) |
||
762 | |||
763 | /** |
||
764 | * @return CondoActivityColumnsVisibility |
||
765 | */ |
||
766 | public function getActivityColumnsVisibility() |
||
770 | |||
771 | /** |
||
772 | * @param CondoActivityColumnsVisibility $ActivityColumnsVisibility |
||
773 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
774 | */ |
||
775 | public function setActivityColumnsVisibility($ActivityColumnsVisibility) |
||
780 | |||
781 | /** |
||
782 | * @return CondoGuestHistoryColumnsVisibility |
||
783 | */ |
||
784 | public function getGuestHistoryColumnsVisibility() |
||
788 | |||
789 | /** |
||
790 | * @param CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility |
||
791 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
792 | */ |
||
793 | public function setGuestHistoryColumnsVisibility($GuestHistoryColumnsVisibility) |
||
798 | |||
799 | /** |
||
800 | * @return int |
||
801 | */ |
||
802 | public function getID_Property() |
||
806 | |||
807 | /** |
||
808 | * @param int $ID_Property |
||
809 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
810 | */ |
||
811 | public function setID_Property($ID_Property) |
||
816 | |||
817 | /** |
||
818 | * @return \DateTime |
||
819 | */ |
||
820 | public function getCurrentHotelDate() |
||
832 | |||
833 | /** |
||
834 | * @param \DateTime $CurrentHotelDate |
||
835 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
836 | */ |
||
837 | public function setCurrentHotelDate(\DateTime $CurrentHotelDate) |
||
842 | |||
843 | /** |
||
844 | * @return string |
||
845 | */ |
||
846 | public function getDefaultLanguage() |
||
850 | |||
851 | /** |
||
852 | * @param string $DefaultLanguage |
||
853 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
854 | */ |
||
855 | public function setDefaultLanguage($DefaultLanguage) |
||
860 | |||
861 | /** |
||
862 | * @return boolean |
||
863 | */ |
||
864 | public function getActive() |
||
868 | |||
869 | /** |
||
870 | * @param boolean $Active |
||
871 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
872 | */ |
||
873 | public function setActive($Active) |
||
878 | |||
879 | /** |
||
880 | * @return boolean |
||
881 | */ |
||
882 | public function getOnlyClosedMonths() |
||
886 | |||
887 | /** |
||
888 | * @param boolean $OnlyClosedMonths |
||
889 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
890 | */ |
||
891 | public function setOnlyClosedMonths($OnlyClosedMonths) |
||
896 | |||
897 | /** |
||
898 | * @return boolean |
||
899 | */ |
||
900 | public function getShowXMLActivity() |
||
904 | |||
905 | /** |
||
906 | * @param boolean $ShowXMLActivity |
||
907 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
908 | */ |
||
909 | public function setShowXMLActivity($ShowXMLActivity) |
||
914 | |||
915 | /** |
||
916 | * @return boolean |
||
917 | */ |
||
918 | public function getShowXMLStatement() |
||
922 | |||
923 | /** |
||
924 | * @param boolean $ShowXMLStatement |
||
925 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
926 | */ |
||
927 | public function setShowXMLStatement($ShowXMLStatement) |
||
932 | |||
933 | /** |
||
934 | * @return boolean |
||
935 | */ |
||
936 | public function getShowExpenses() |
||
940 | |||
941 | /** |
||
942 | * @param boolean $ShowExpenses |
||
943 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
944 | */ |
||
945 | public function setShowExpenses($ShowExpenses) |
||
950 | |||
951 | /** |
||
952 | * @return boolean |
||
953 | */ |
||
954 | public function getIsGuestNegociateBooking() |
||
958 | |||
959 | /** |
||
960 | * @param boolean $IsGuestNegociateBooking |
||
961 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
962 | */ |
||
963 | public function setIsGuestNegociateBooking($IsGuestNegociateBooking) |
||
968 | |||
969 | /** |
||
970 | * @return int |
||
971 | */ |
||
972 | public function getID_SrcBusinessNegociated() |
||
976 | |||
977 | /** |
||
978 | * @param int $ID_SrcBusinessNegociated |
||
979 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
980 | */ |
||
981 | public function setID_SrcBusinessNegociated($ID_SrcBusinessNegociated) |
||
986 | |||
987 | /** |
||
988 | * @return int |
||
989 | */ |
||
990 | public function getID_RateReasonNegociated() |
||
994 | |||
995 | /** |
||
996 | * @param int $ID_RateReasonNegociated |
||
997 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
998 | */ |
||
999 | public function setID_RateReasonNegociated($ID_RateReasonNegociated) |
||
1004 | |||
1005 | /** |
||
1006 | * @return int |
||
1007 | */ |
||
1008 | public function getID_RateCodeNegociated() |
||
1012 | |||
1013 | /** |
||
1014 | * @param int $ID_RateCodeNegociated |
||
1015 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1016 | */ |
||
1017 | public function setID_RateCodeNegociated($ID_RateCodeNegociated) |
||
1022 | |||
1023 | /** |
||
1024 | * @return boolean |
||
1025 | */ |
||
1026 | public function getAllowProfileUpdate() |
||
1030 | |||
1031 | /** |
||
1032 | * @param boolean $AllowProfileUpdate |
||
1033 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1034 | */ |
||
1035 | public function setAllowProfileUpdate($AllowProfileUpdate) |
||
1040 | |||
1041 | /** |
||
1042 | * @return boolean |
||
1043 | */ |
||
1044 | public function getShowContractDates() |
||
1048 | |||
1049 | /** |
||
1050 | * @param boolean $ShowContractDates |
||
1051 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1052 | */ |
||
1053 | public function setShowContractDates($ShowContractDates) |
||
1058 | |||
1059 | /** |
||
1060 | * @return CondoActivityTypeEnum |
||
1061 | */ |
||
1062 | public function getCondoActivityType() |
||
1066 | |||
1067 | /** |
||
1068 | * @param CondoActivityTypeEnum $CondoActivityType |
||
1069 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1070 | */ |
||
1071 | public function setCondoActivityType($CondoActivityType) |
||
1076 | |||
1077 | /** |
||
1078 | * @return boolean |
||
1079 | */ |
||
1080 | public function getShowContractBalances() |
||
1084 | |||
1085 | /** |
||
1086 | * @param boolean $ShowContractBalances |
||
1087 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1088 | */ |
||
1089 | public function setShowContractBalances($ShowContractBalances) |
||
1094 | |||
1095 | /** |
||
1096 | * @return boolean |
||
1097 | */ |
||
1098 | public function getShowProfileBalances() |
||
1102 | |||
1103 | /** |
||
1104 | * @param boolean $ShowProfileBalances |
||
1105 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1106 | */ |
||
1107 | public function setShowProfileBalances($ShowProfileBalances) |
||
1112 | |||
1113 | /** |
||
1114 | * @return boolean |
||
1115 | */ |
||
1116 | public function getShowContractBalancesDetails() |
||
1120 | |||
1121 | /** |
||
1122 | * @param boolean $ShowContractBalancesDetails |
||
1123 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1124 | */ |
||
1125 | public function setShowContractBalancesDetails($ShowContractBalancesDetails) |
||
1130 | |||
1131 | /** |
||
1132 | * @return boolean |
||
1133 | */ |
||
1134 | public function getShowProfileBalancesDetails() |
||
1138 | |||
1139 | /** |
||
1140 | * @param boolean $ShowProfileBalancesDetails |
||
1141 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1142 | */ |
||
1143 | public function setShowProfileBalancesDetails($ShowProfileBalancesDetails) |
||
1148 | |||
1149 | /** |
||
1150 | * @return boolean |
||
1151 | */ |
||
1152 | public function getShowRoomTypeSoldOutAsAvailable() |
||
1156 | |||
1157 | /** |
||
1158 | * @param boolean $ShowRoomTypeSoldOutAsAvailable |
||
1159 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1160 | */ |
||
1161 | public function setShowRoomTypeSoldOutAsAvailable($ShowRoomTypeSoldOutAsAvailable) |
||
1166 | |||
1167 | /** |
||
1168 | * @return string |
||
1169 | */ |
||
1170 | public function getDisclaimer() |
||
1174 | |||
1175 | /** |
||
1176 | * @param string $Disclaimer |
||
1177 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1178 | */ |
||
1179 | public function setDisclaimer($Disclaimer) |
||
1184 | |||
1185 | /** |
||
1186 | * @return boolean |
||
1187 | */ |
||
1188 | public function getShowWorkOrdersPostedOnly() |
||
1192 | |||
1193 | /** |
||
1194 | * @param boolean $ShowWorkOrdersPostedOnly |
||
1195 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1196 | */ |
||
1197 | public function setShowWorkOrdersPostedOnly($ShowWorkOrdersPostedOnly) |
||
1202 | |||
1203 | /** |
||
1204 | * @return boolean |
||
1205 | */ |
||
1206 | public function getDeduceRoomRevFromSAComm() |
||
1210 | |||
1211 | /** |
||
1212 | * @param boolean $DeduceRoomRevFromSAComm |
||
1213 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1214 | */ |
||
1215 | public function setDeduceRoomRevFromSAComm($DeduceRoomRevFromSAComm) |
||
1220 | |||
1221 | /** |
||
1222 | * @return int |
||
1223 | */ |
||
1224 | public function getMaxInitialContractsLoadWorkOrder() |
||
1228 | |||
1229 | /** |
||
1230 | * @param int $MaxInitialContractsLoadWorkOrder |
||
1231 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1232 | */ |
||
1233 | public function setMaxInitialContractsLoadWorkOrder($MaxInitialContractsLoadWorkOrder) |
||
1238 | |||
1239 | /** |
||
1240 | * @return boolean |
||
1241 | */ |
||
1242 | public function getShowGHOnlyBookingTypeOwnerFriend() |
||
1246 | |||
1247 | /** |
||
1248 | * @param boolean $ShowGHOnlyBookingTypeOwnerFriend |
||
1249 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1250 | */ |
||
1251 | public function setShowGHOnlyBookingTypeOwnerFriend($ShowGHOnlyBookingTypeOwnerFriend) |
||
1256 | |||
1257 | /** |
||
1258 | * @return boolean |
||
1259 | */ |
||
1260 | public function getShowGHPastResa() |
||
1264 | |||
1265 | /** |
||
1266 | * @param boolean $ShowGHPastResa |
||
1267 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1268 | */ |
||
1269 | public function setShowGHPastResa($ShowGHPastResa) |
||
1274 | |||
1275 | /** |
||
1276 | * @return boolean |
||
1277 | */ |
||
1278 | public function getShowGHFutureResa() |
||
1282 | |||
1283 | /** |
||
1284 | * @param boolean $ShowGHFutureResa |
||
1285 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1286 | */ |
||
1287 | public function setShowGHFutureResa($ShowGHFutureResa) |
||
1292 | |||
1293 | /** |
||
1294 | * @return boolean |
||
1295 | */ |
||
1296 | public function getShowGuestHistoryMenu() |
||
1300 | |||
1301 | /** |
||
1302 | * @param boolean $ShowGuestHistoryMenu |
||
1303 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1304 | */ |
||
1305 | public function setShowGuestHistoryMenu($ShowGuestHistoryMenu) |
||
1310 | |||
1311 | /** |
||
1312 | * @return boolean |
||
1313 | */ |
||
1314 | public function getShowContractMenu() |
||
1318 | |||
1319 | /** |
||
1320 | * @param boolean $ShowContractMenu |
||
1321 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1322 | */ |
||
1323 | public function setShowContractMenu($ShowContractMenu) |
||
1328 | |||
1329 | /** |
||
1330 | * @return boolean |
||
1331 | */ |
||
1332 | public function getShowStatisticMenu() |
||
1336 | |||
1337 | /** |
||
1338 | * @param boolean $ShowStatisticMenu |
||
1339 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1340 | */ |
||
1341 | public function setShowStatisticMenu($ShowStatisticMenu) |
||
1346 | |||
1347 | /** |
||
1348 | * @return boolean |
||
1349 | */ |
||
1350 | public function getShowBookingOwnerFriendMenu() |
||
1354 | |||
1355 | /** |
||
1356 | * @param boolean $ShowBookingOwnerFriendMenu |
||
1357 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1358 | */ |
||
1359 | public function setShowBookingOwnerFriendMenu($ShowBookingOwnerFriendMenu) |
||
1364 | |||
1365 | /** |
||
1366 | * @return boolean |
||
1367 | */ |
||
1368 | public function getShowBookingGuestMenu() |
||
1372 | |||
1373 | /** |
||
1374 | * @param boolean $ShowBookingGuestMenu |
||
1375 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1376 | */ |
||
1377 | public function setShowBookingGuestMenu($ShowBookingGuestMenu) |
||
1382 | |||
1383 | /** |
||
1384 | * @return boolean |
||
1385 | */ |
||
1386 | public function getShowLoginPwdMenu() |
||
1390 | |||
1391 | /** |
||
1392 | * @param boolean $ShowLoginPwdMenu |
||
1393 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1394 | */ |
||
1395 | public function setShowLoginPwdMenu($ShowLoginPwdMenu) |
||
1400 | |||
1401 | /** |
||
1402 | * @return boolean |
||
1403 | */ |
||
1404 | public function getShowWorkOrderMenu() |
||
1408 | |||
1409 | /** |
||
1410 | * @param boolean $ShowWorkOrderMenu |
||
1411 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1412 | */ |
||
1413 | public function setShowWorkOrderMenu($ShowWorkOrderMenu) |
||
1418 | |||
1419 | /** |
||
1420 | * @return boolean |
||
1421 | */ |
||
1422 | public function getAllowGuestBooking() |
||
1426 | |||
1427 | /** |
||
1428 | * @param boolean $AllowGuestBooking |
||
1429 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1430 | */ |
||
1431 | public function setAllowGuestBooking($AllowGuestBooking) |
||
1436 | |||
1437 | /** |
||
1438 | * @return boolean |
||
1439 | */ |
||
1440 | public function getShowNewsMenu() |
||
1444 | |||
1445 | /** |
||
1446 | * @param boolean $ShowNewsMenu |
||
1447 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1448 | */ |
||
1449 | public function setShowNewsMenu($ShowNewsMenu) |
||
1454 | |||
1455 | /** |
||
1456 | * @return boolean |
||
1457 | */ |
||
1458 | public function getAllowFractionalOwnerBooking() |
||
1462 | |||
1463 | /** |
||
1464 | * @param boolean $AllowFractionalOwnerBooking |
||
1465 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1466 | */ |
||
1467 | public function setAllowFractionalOwnerBooking($AllowFractionalOwnerBooking) |
||
1472 | |||
1473 | /** |
||
1474 | * @return boolean |
||
1475 | */ |
||
1476 | public function getShowWorkOrderTechInfo() |
||
1480 | |||
1481 | /** |
||
1482 | * @param boolean $ShowWorkOrderTechInfo |
||
1483 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1484 | */ |
||
1485 | public function setShowWorkOrderTechInfo($ShowWorkOrderTechInfo) |
||
1490 | |||
1491 | /** |
||
1492 | * @return boolean |
||
1493 | */ |
||
1494 | public function getShowGrossRentalRevenu() |
||
1498 | |||
1499 | /** |
||
1500 | * @param boolean $ShowGrossRentalRevenu |
||
1501 | * @return \Gueststream\PMS\IQWare\API\WebCondoConfig |
||
1502 | */ |
||
1503 | public function setShowGrossRentalRevenu($ShowGrossRentalRevenu) |
||
1508 | } |
||
1509 |
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..