Complex classes like SaveReservation 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 SaveReservation, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
5 | class SaveReservation |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var int $intGUID |
||
10 | */ |
||
11 | protected $intGUID = null; |
||
12 | |||
13 | /** |
||
14 | * @var string $strISOLanguage |
||
15 | */ |
||
16 | protected $strISOLanguage = null; |
||
17 | |||
18 | /** |
||
19 | * @var string $strFirstName |
||
20 | */ |
||
21 | protected $strFirstName = null; |
||
22 | |||
23 | /** |
||
24 | * @var string $strLastName |
||
25 | */ |
||
26 | protected $strLastName = null; |
||
27 | |||
28 | /** |
||
29 | * @var string $strCompany |
||
30 | */ |
||
31 | protected $strCompany = null; |
||
32 | |||
33 | /** |
||
34 | * @var string $strAddress1 |
||
35 | */ |
||
36 | protected $strAddress1 = null; |
||
37 | |||
38 | /** |
||
39 | * @var string $strAddress2 |
||
40 | */ |
||
41 | protected $strAddress2 = null; |
||
42 | |||
43 | /** |
||
44 | * @var string $strCity |
||
45 | */ |
||
46 | protected $strCity = null; |
||
47 | |||
48 | /** |
||
49 | * @var string $strState |
||
50 | */ |
||
51 | protected $strState = null; |
||
52 | |||
53 | /** |
||
54 | * @var string $strCountry |
||
55 | */ |
||
56 | protected $strCountry = null; |
||
57 | |||
58 | /** |
||
59 | * @var string $strZip |
||
60 | */ |
||
61 | protected $strZip = null; |
||
62 | |||
63 | /** |
||
64 | * @var string $strPhone |
||
65 | */ |
||
66 | protected $strPhone = null; |
||
67 | |||
68 | /** |
||
69 | * @var string $strEmail |
||
70 | */ |
||
71 | protected $strEmail = null; |
||
72 | |||
73 | /** |
||
74 | * @var int $intCCType |
||
75 | */ |
||
76 | protected $intCCType = null; |
||
77 | |||
78 | /** |
||
79 | * @var string $strCCNumber |
||
80 | */ |
||
81 | protected $strCCNumber = null; |
||
82 | |||
83 | /** |
||
84 | * @var \DateTime $dtCCExp |
||
85 | */ |
||
86 | protected $dtCCExp = null; |
||
87 | |||
88 | /** |
||
89 | * @var \DateTime $dtArrivalDate |
||
90 | */ |
||
91 | protected $dtArrivalDate = null; |
||
92 | |||
93 | /** |
||
94 | * @var \DateTime $dtDepartureDate |
||
95 | */ |
||
96 | protected $dtDepartureDate = null; |
||
97 | |||
98 | /** |
||
99 | * @var int $intGuestCount |
||
100 | */ |
||
101 | protected $intGuestCount = null; |
||
102 | |||
103 | /** |
||
104 | * @var string $strChildren |
||
105 | */ |
||
106 | protected $strChildren = null; |
||
107 | |||
108 | /** |
||
109 | * @var int $intRateID |
||
110 | */ |
||
111 | protected $intRateID = null; |
||
112 | |||
113 | /** |
||
114 | * @var int $intRoomTypeID |
||
115 | */ |
||
116 | protected $intRoomTypeID = null; |
||
117 | |||
118 | /** |
||
119 | * @var int $intPromoPushID |
||
120 | */ |
||
121 | protected $intPromoPushID = null; |
||
122 | |||
123 | /** |
||
124 | * @var int $intPromoCodeID |
||
125 | */ |
||
126 | protected $intPromoCodeID = null; |
||
127 | |||
128 | /** |
||
129 | * @var string $strAttributes |
||
130 | */ |
||
131 | protected $strAttributes = null; |
||
132 | |||
133 | /** |
||
134 | * @var string $strLocations |
||
135 | */ |
||
136 | protected $strLocations = null; |
||
137 | |||
138 | /** |
||
139 | * @var string $strSpecialRequests |
||
140 | */ |
||
141 | protected $strSpecialRequests = null; |
||
142 | |||
143 | /** |
||
144 | * @var string $strActivityStructure |
||
145 | */ |
||
146 | protected $strActivityStructure = null; |
||
147 | |||
148 | /** |
||
149 | * @var int $intRoomQty |
||
150 | */ |
||
151 | protected $intRoomQty = null; |
||
152 | |||
153 | /** |
||
154 | * @var dstElements $dstElements |
||
155 | */ |
||
156 | protected $dstElements = null; |
||
157 | |||
158 | /** |
||
159 | * @var int $intTANo |
||
160 | */ |
||
161 | protected $intTANo = null; |
||
162 | |||
163 | /** |
||
164 | * @var string $strIATANo |
||
165 | */ |
||
166 | protected $strIATANo = null; |
||
167 | |||
168 | /** |
||
169 | * @var int $intMemNo |
||
170 | */ |
||
171 | protected $intMemNo = null; |
||
172 | |||
173 | /** |
||
174 | * @var dstGolfPackageItems $dstGolfPackageItems |
||
175 | */ |
||
176 | protected $dstGolfPackageItems = null; |
||
177 | |||
178 | /** |
||
179 | * @var int $intCondoOwnerId |
||
180 | */ |
||
181 | protected $intCondoOwnerId = null; |
||
182 | |||
183 | /** |
||
184 | * @var int $intRoomId |
||
185 | */ |
||
186 | protected $intRoomId = null; |
||
187 | |||
188 | /** |
||
189 | * @var int $intBookingCondoType |
||
190 | */ |
||
191 | protected $intBookingCondoType = null; |
||
192 | |||
193 | /** |
||
194 | * @var boolean $IsInsuranceAccepted |
||
195 | */ |
||
196 | protected $IsInsuranceAccepted = null; |
||
197 | |||
198 | /** |
||
199 | * @var int $intBuildingID |
||
200 | */ |
||
201 | protected $intBuildingID = null; |
||
202 | |||
203 | /** |
||
204 | * @var string $strTokenGuid |
||
205 | */ |
||
206 | protected $strTokenGuid = null; |
||
207 | |||
208 | /** |
||
209 | * @var string $ELMMarketingSource |
||
210 | */ |
||
211 | protected $ELMMarketingSource = null; |
||
212 | |||
213 | /** |
||
214 | * @var string $DayOfBirth |
||
215 | */ |
||
216 | protected $DayOfBirth = null; |
||
217 | |||
218 | /** |
||
219 | * @var string $MonthOfBirth |
||
220 | */ |
||
221 | protected $MonthOfBirth = null; |
||
222 | |||
223 | /** |
||
224 | * @var string $YearOfBirth |
||
225 | */ |
||
226 | protected $YearOfBirth = null; |
||
227 | |||
228 | /** |
||
229 | * @var string $strComments |
||
230 | */ |
||
231 | protected $strComments = null; |
||
232 | |||
233 | /** |
||
234 | * @var boolean $IsPaidByFOO |
||
235 | */ |
||
236 | protected $IsPaidByFOO = null; |
||
237 | |||
238 | /** |
||
239 | * @var boolean $IsApplySpecialOffers |
||
240 | */ |
||
241 | protected $IsApplySpecialOffers = null; |
||
242 | |||
243 | /** |
||
244 | * @var int $intBusinessSourceID |
||
245 | */ |
||
246 | protected $intBusinessSourceID = null; |
||
247 | |||
248 | /** |
||
249 | * @var dstServicesChargesALaCarte $dstServicesChargesALaCarte |
||
250 | */ |
||
251 | protected $dstServicesChargesALaCarte = null; |
||
252 | |||
253 | /** |
||
254 | * @var int $intSuiteConfigurationID |
||
255 | */ |
||
256 | protected $intSuiteConfigurationID = null; |
||
257 | |||
258 | /** |
||
259 | * @param int $intGUID |
||
260 | * @param string $strISOLanguage |
||
261 | * @param string $strFirstName |
||
262 | * @param string $strLastName |
||
263 | * @param string $strCompany |
||
264 | * @param string $strAddress1 |
||
265 | * @param string $strAddress2 |
||
266 | * @param string $strCity |
||
267 | * @param string $strState |
||
268 | * @param string $strCountry |
||
269 | * @param string $strZip |
||
270 | * @param string $strPhone |
||
271 | * @param string $strEmail |
||
272 | * @param int $intCCType |
||
273 | * @param string $strCCNumber |
||
274 | * @param \DateTime $dtCCExp |
||
275 | * @param \DateTime $dtArrivalDate |
||
276 | * @param \DateTime $dtDepartureDate |
||
277 | * @param int $intGuestCount |
||
278 | * @param string $strChildren |
||
279 | * @param int $intRateID |
||
280 | * @param int $intRoomTypeID |
||
281 | * @param int $intPromoPushID |
||
282 | * @param int $intPromoCodeID |
||
283 | * @param string $strAttributes |
||
284 | * @param string $strLocations |
||
285 | * @param string $strSpecialRequests |
||
286 | * @param string $strActivityStructure |
||
287 | * @param int $intRoomQty |
||
288 | * @param dstElements $dstElements |
||
289 | * @param int $intTANo |
||
290 | * @param string $strIATANo |
||
291 | * @param int $intMemNo |
||
292 | * @param dstGolfPackageItems $dstGolfPackageItems |
||
293 | * @param int $intCondoOwnerId |
||
294 | * @param int $intRoomId |
||
295 | * @param int $intBookingCondoType |
||
296 | * @param boolean $IsInsuranceAccepted |
||
297 | * @param int $intBuildingID |
||
298 | * @param string $strTokenGuid |
||
299 | * @param string $ELMMarketingSource |
||
300 | * @param string $DayOfBirth |
||
301 | * @param string $MonthOfBirth |
||
302 | * @param string $YearOfBirth |
||
303 | * @param string $strComments |
||
304 | * @param boolean $IsPaidByFOO |
||
305 | * @param boolean $IsApplySpecialOffers |
||
306 | * @param int $intBusinessSourceID |
||
307 | * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte |
||
308 | * @param int $intSuiteConfigurationID |
||
309 | */ |
||
310 | public function __construct($intGUID, $strISOLanguage, $strFirstName, $strLastName, $strCompany, $strAddress1, $strAddress2, $strCity, $strState, $strCountry, $strZip, $strPhone, $strEmail, $intCCType, $strCCNumber, \DateTime $dtCCExp, \DateTime $dtArrivalDate, \DateTime $dtDepartureDate, $intGuestCount, $strChildren, $intRateID, $intRoomTypeID, $intPromoPushID, $intPromoCodeID, $strAttributes, $strLocations, $strSpecialRequests, $strActivityStructure, $intRoomQty, $dstElements, $intTANo, $strIATANo, $intMemNo, $dstGolfPackageItems, $intCondoOwnerId, $intRoomId, $intBookingCondoType, $IsInsuranceAccepted, $intBuildingID, $strTokenGuid, $ELMMarketingSource, $DayOfBirth, $MonthOfBirth, $YearOfBirth, $strComments, $IsPaidByFOO, $IsApplySpecialOffers, $intBusinessSourceID, $dstServicesChargesALaCarte, $intSuiteConfigurationID) |
||
363 | |||
364 | /** |
||
365 | * @return int |
||
366 | */ |
||
367 | public function getIntGUID() |
||
371 | |||
372 | /** |
||
373 | * @param int $intGUID |
||
374 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
375 | */ |
||
376 | public function setIntGUID($intGUID) |
||
381 | |||
382 | /** |
||
383 | * @return string |
||
384 | */ |
||
385 | public function getStrISOLanguage() |
||
389 | |||
390 | /** |
||
391 | * @param string $strISOLanguage |
||
392 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
393 | */ |
||
394 | public function setStrISOLanguage($strISOLanguage) |
||
399 | |||
400 | /** |
||
401 | * @return string |
||
402 | */ |
||
403 | public function getStrFirstName() |
||
407 | |||
408 | /** |
||
409 | * @param string $strFirstName |
||
410 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
411 | */ |
||
412 | public function setStrFirstName($strFirstName) |
||
417 | |||
418 | /** |
||
419 | * @return string |
||
420 | */ |
||
421 | public function getStrLastName() |
||
425 | |||
426 | /** |
||
427 | * @param string $strLastName |
||
428 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
429 | */ |
||
430 | public function setStrLastName($strLastName) |
||
435 | |||
436 | /** |
||
437 | * @return string |
||
438 | */ |
||
439 | public function getStrCompany() |
||
443 | |||
444 | /** |
||
445 | * @param string $strCompany |
||
446 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
447 | */ |
||
448 | public function setStrCompany($strCompany) |
||
453 | |||
454 | /** |
||
455 | * @return string |
||
456 | */ |
||
457 | public function getStrAddress1() |
||
461 | |||
462 | /** |
||
463 | * @param string $strAddress1 |
||
464 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
465 | */ |
||
466 | public function setStrAddress1($strAddress1) |
||
471 | |||
472 | /** |
||
473 | * @return string |
||
474 | */ |
||
475 | public function getStrAddress2() |
||
479 | |||
480 | /** |
||
481 | * @param string $strAddress2 |
||
482 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
483 | */ |
||
484 | public function setStrAddress2($strAddress2) |
||
489 | |||
490 | /** |
||
491 | * @return string |
||
492 | */ |
||
493 | public function getStrCity() |
||
497 | |||
498 | /** |
||
499 | * @param string $strCity |
||
500 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
501 | */ |
||
502 | public function setStrCity($strCity) |
||
507 | |||
508 | /** |
||
509 | * @return string |
||
510 | */ |
||
511 | public function getStrState() |
||
515 | |||
516 | /** |
||
517 | * @param string $strState |
||
518 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
519 | */ |
||
520 | public function setStrState($strState) |
||
525 | |||
526 | /** |
||
527 | * @return string |
||
528 | */ |
||
529 | public function getStrCountry() |
||
533 | |||
534 | /** |
||
535 | * @param string $strCountry |
||
536 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
537 | */ |
||
538 | public function setStrCountry($strCountry) |
||
543 | |||
544 | /** |
||
545 | * @return string |
||
546 | */ |
||
547 | public function getStrZip() |
||
551 | |||
552 | /** |
||
553 | * @param string $strZip |
||
554 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
555 | */ |
||
556 | public function setStrZip($strZip) |
||
561 | |||
562 | /** |
||
563 | * @return string |
||
564 | */ |
||
565 | public function getStrPhone() |
||
569 | |||
570 | /** |
||
571 | * @param string $strPhone |
||
572 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
573 | */ |
||
574 | public function setStrPhone($strPhone) |
||
579 | |||
580 | /** |
||
581 | * @return string |
||
582 | */ |
||
583 | public function getStrEmail() |
||
587 | |||
588 | /** |
||
589 | * @param string $strEmail |
||
590 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
591 | */ |
||
592 | public function setStrEmail($strEmail) |
||
597 | |||
598 | /** |
||
599 | * @return int |
||
600 | */ |
||
601 | public function getIntCCType() |
||
605 | |||
606 | /** |
||
607 | * @param int $intCCType |
||
608 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
609 | */ |
||
610 | public function setIntCCType($intCCType) |
||
615 | |||
616 | /** |
||
617 | * @return string |
||
618 | */ |
||
619 | public function getStrCCNumber() |
||
623 | |||
624 | /** |
||
625 | * @param string $strCCNumber |
||
626 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
627 | */ |
||
628 | public function setStrCCNumber($strCCNumber) |
||
633 | |||
634 | /** |
||
635 | * @return \DateTime |
||
636 | */ |
||
637 | public function getDtCCExp() |
||
649 | |||
650 | /** |
||
651 | * @param \DateTime $dtCCExp |
||
652 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
653 | */ |
||
654 | public function setDtCCExp(\DateTime $dtCCExp) |
||
659 | |||
660 | /** |
||
661 | * @return \DateTime |
||
662 | */ |
||
663 | public function getDtArrivalDate() |
||
675 | |||
676 | /** |
||
677 | * @param \DateTime $dtArrivalDate |
||
678 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
679 | */ |
||
680 | public function setDtArrivalDate(\DateTime $dtArrivalDate) |
||
685 | |||
686 | /** |
||
687 | * @return \DateTime |
||
688 | */ |
||
689 | public function getDtDepartureDate() |
||
701 | |||
702 | /** |
||
703 | * @param \DateTime $dtDepartureDate |
||
704 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
705 | */ |
||
706 | public function setDtDepartureDate(\DateTime $dtDepartureDate) |
||
711 | |||
712 | /** |
||
713 | * @return int |
||
714 | */ |
||
715 | public function getIntGuestCount() |
||
719 | |||
720 | /** |
||
721 | * @param int $intGuestCount |
||
722 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
723 | */ |
||
724 | public function setIntGuestCount($intGuestCount) |
||
729 | |||
730 | /** |
||
731 | * @return string |
||
732 | */ |
||
733 | public function getStrChildren() |
||
737 | |||
738 | /** |
||
739 | * @param string $strChildren |
||
740 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
741 | */ |
||
742 | public function setStrChildren($strChildren) |
||
747 | |||
748 | /** |
||
749 | * @return int |
||
750 | */ |
||
751 | public function getIntRateID() |
||
755 | |||
756 | /** |
||
757 | * @param int $intRateID |
||
758 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
759 | */ |
||
760 | public function setIntRateID($intRateID) |
||
765 | |||
766 | /** |
||
767 | * @return int |
||
768 | */ |
||
769 | public function getIntRoomTypeID() |
||
773 | |||
774 | /** |
||
775 | * @param int $intRoomTypeID |
||
776 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
777 | */ |
||
778 | public function setIntRoomTypeID($intRoomTypeID) |
||
783 | |||
784 | /** |
||
785 | * @return int |
||
786 | */ |
||
787 | public function getIntPromoPushID() |
||
791 | |||
792 | /** |
||
793 | * @param int $intPromoPushID |
||
794 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
795 | */ |
||
796 | public function setIntPromoPushID($intPromoPushID) |
||
801 | |||
802 | /** |
||
803 | * @return int |
||
804 | */ |
||
805 | public function getIntPromoCodeID() |
||
809 | |||
810 | /** |
||
811 | * @param int $intPromoCodeID |
||
812 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
813 | */ |
||
814 | public function setIntPromoCodeID($intPromoCodeID) |
||
819 | |||
820 | /** |
||
821 | * @return string |
||
822 | */ |
||
823 | public function getStrAttributes() |
||
827 | |||
828 | /** |
||
829 | * @param string $strAttributes |
||
830 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
831 | */ |
||
832 | public function setStrAttributes($strAttributes) |
||
837 | |||
838 | /** |
||
839 | * @return string |
||
840 | */ |
||
841 | public function getStrLocations() |
||
845 | |||
846 | /** |
||
847 | * @param string $strLocations |
||
848 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
849 | */ |
||
850 | public function setStrLocations($strLocations) |
||
855 | |||
856 | /** |
||
857 | * @return string |
||
858 | */ |
||
859 | public function getStrSpecialRequests() |
||
863 | |||
864 | /** |
||
865 | * @param string $strSpecialRequests |
||
866 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
867 | */ |
||
868 | public function setStrSpecialRequests($strSpecialRequests) |
||
873 | |||
874 | /** |
||
875 | * @return string |
||
876 | */ |
||
877 | public function getStrActivityStructure() |
||
881 | |||
882 | /** |
||
883 | * @param string $strActivityStructure |
||
884 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
885 | */ |
||
886 | public function setStrActivityStructure($strActivityStructure) |
||
891 | |||
892 | /** |
||
893 | * @return int |
||
894 | */ |
||
895 | public function getIntRoomQty() |
||
899 | |||
900 | /** |
||
901 | * @param int $intRoomQty |
||
902 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
903 | */ |
||
904 | public function setIntRoomQty($intRoomQty) |
||
909 | |||
910 | /** |
||
911 | * @return dstElements |
||
912 | */ |
||
913 | public function getDstElements() |
||
917 | |||
918 | /** |
||
919 | * @param dstElements $dstElements |
||
920 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
921 | */ |
||
922 | public function setDstElements($dstElements) |
||
927 | |||
928 | /** |
||
929 | * @return int |
||
930 | */ |
||
931 | public function getIntTANo() |
||
935 | |||
936 | /** |
||
937 | * @param int $intTANo |
||
938 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
939 | */ |
||
940 | public function setIntTANo($intTANo) |
||
945 | |||
946 | /** |
||
947 | * @return string |
||
948 | */ |
||
949 | public function getStrIATANo() |
||
953 | |||
954 | /** |
||
955 | * @param string $strIATANo |
||
956 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
957 | */ |
||
958 | public function setStrIATANo($strIATANo) |
||
963 | |||
964 | /** |
||
965 | * @return int |
||
966 | */ |
||
967 | public function getIntMemNo() |
||
971 | |||
972 | /** |
||
973 | * @param int $intMemNo |
||
974 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
975 | */ |
||
976 | public function setIntMemNo($intMemNo) |
||
981 | |||
982 | /** |
||
983 | * @return dstGolfPackageItems |
||
984 | */ |
||
985 | public function getDstGolfPackageItems() |
||
989 | |||
990 | /** |
||
991 | * @param dstGolfPackageItems $dstGolfPackageItems |
||
992 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
993 | */ |
||
994 | public function setDstGolfPackageItems($dstGolfPackageItems) |
||
999 | |||
1000 | /** |
||
1001 | * @return int |
||
1002 | */ |
||
1003 | public function getIntCondoOwnerId() |
||
1007 | |||
1008 | /** |
||
1009 | * @param int $intCondoOwnerId |
||
1010 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1011 | */ |
||
1012 | public function setIntCondoOwnerId($intCondoOwnerId) |
||
1017 | |||
1018 | /** |
||
1019 | * @return int |
||
1020 | */ |
||
1021 | public function getIntRoomId() |
||
1025 | |||
1026 | /** |
||
1027 | * @param int $intRoomId |
||
1028 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1029 | */ |
||
1030 | public function setIntRoomId($intRoomId) |
||
1035 | |||
1036 | /** |
||
1037 | * @return int |
||
1038 | */ |
||
1039 | public function getIntBookingCondoType() |
||
1043 | |||
1044 | /** |
||
1045 | * @param int $intBookingCondoType |
||
1046 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1047 | */ |
||
1048 | public function setIntBookingCondoType($intBookingCondoType) |
||
1053 | |||
1054 | /** |
||
1055 | * @return boolean |
||
1056 | */ |
||
1057 | public function getIsInsuranceAccepted() |
||
1061 | |||
1062 | /** |
||
1063 | * @param boolean $IsInsuranceAccepted |
||
1064 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1065 | */ |
||
1066 | public function setIsInsuranceAccepted($IsInsuranceAccepted) |
||
1071 | |||
1072 | /** |
||
1073 | * @return int |
||
1074 | */ |
||
1075 | public function getIntBuildingID() |
||
1079 | |||
1080 | /** |
||
1081 | * @param int $intBuildingID |
||
1082 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1083 | */ |
||
1084 | public function setIntBuildingID($intBuildingID) |
||
1089 | |||
1090 | /** |
||
1091 | * @return string |
||
1092 | */ |
||
1093 | public function getStrTokenGuid() |
||
1097 | |||
1098 | /** |
||
1099 | * @param string $strTokenGuid |
||
1100 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1101 | */ |
||
1102 | public function setStrTokenGuid($strTokenGuid) |
||
1107 | |||
1108 | /** |
||
1109 | * @return string |
||
1110 | */ |
||
1111 | public function getELMMarketingSource() |
||
1115 | |||
1116 | /** |
||
1117 | * @param string $ELMMarketingSource |
||
1118 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1119 | */ |
||
1120 | public function setELMMarketingSource($ELMMarketingSource) |
||
1125 | |||
1126 | /** |
||
1127 | * @return string |
||
1128 | */ |
||
1129 | public function getDayOfBirth() |
||
1133 | |||
1134 | /** |
||
1135 | * @param string $DayOfBirth |
||
1136 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1137 | */ |
||
1138 | public function setDayOfBirth($DayOfBirth) |
||
1143 | |||
1144 | /** |
||
1145 | * @return string |
||
1146 | */ |
||
1147 | public function getMonthOfBirth() |
||
1151 | |||
1152 | /** |
||
1153 | * @param string $MonthOfBirth |
||
1154 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1155 | */ |
||
1156 | public function setMonthOfBirth($MonthOfBirth) |
||
1161 | |||
1162 | /** |
||
1163 | * @return string |
||
1164 | */ |
||
1165 | public function getYearOfBirth() |
||
1169 | |||
1170 | /** |
||
1171 | * @param string $YearOfBirth |
||
1172 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1173 | */ |
||
1174 | public function setYearOfBirth($YearOfBirth) |
||
1179 | |||
1180 | /** |
||
1181 | * @return string |
||
1182 | */ |
||
1183 | public function getStrComments() |
||
1187 | |||
1188 | /** |
||
1189 | * @param string $strComments |
||
1190 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1191 | */ |
||
1192 | public function setStrComments($strComments) |
||
1197 | |||
1198 | /** |
||
1199 | * @return boolean |
||
1200 | */ |
||
1201 | public function getIsPaidByFOO() |
||
1205 | |||
1206 | /** |
||
1207 | * @param boolean $IsPaidByFOO |
||
1208 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1209 | */ |
||
1210 | public function setIsPaidByFOO($IsPaidByFOO) |
||
1215 | |||
1216 | /** |
||
1217 | * @return boolean |
||
1218 | */ |
||
1219 | public function getIsApplySpecialOffers() |
||
1223 | |||
1224 | /** |
||
1225 | * @param boolean $IsApplySpecialOffers |
||
1226 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1227 | */ |
||
1228 | public function setIsApplySpecialOffers($IsApplySpecialOffers) |
||
1233 | |||
1234 | /** |
||
1235 | * @return int |
||
1236 | */ |
||
1237 | public function getIntBusinessSourceID() |
||
1241 | |||
1242 | /** |
||
1243 | * @param int $intBusinessSourceID |
||
1244 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1245 | */ |
||
1246 | public function setIntBusinessSourceID($intBusinessSourceID) |
||
1251 | |||
1252 | /** |
||
1253 | * @return dstServicesChargesALaCarte |
||
1254 | */ |
||
1255 | public function getDstServicesChargesALaCarte() |
||
1259 | |||
1260 | /** |
||
1261 | * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte |
||
1262 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1263 | */ |
||
1264 | public function setDstServicesChargesALaCarte($dstServicesChargesALaCarte) |
||
1269 | |||
1270 | /** |
||
1271 | * @return int |
||
1272 | */ |
||
1273 | public function getIntSuiteConfigurationID() |
||
1277 | |||
1278 | /** |
||
1279 | * @param int $intSuiteConfigurationID |
||
1280 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1281 | */ |
||
1282 | public function setIntSuiteConfigurationID($intSuiteConfigurationID) |
||
1287 | } |
||
1288 |
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..