This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include
, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Gueststream\PMS\IQWare\API; |
||
4 | |||
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) |
||
311 | { |
||
312 | $this->intGUID = $intGUID; |
||
313 | $this->strISOLanguage = $strISOLanguage; |
||
314 | $this->strFirstName = $strFirstName; |
||
315 | $this->strLastName = $strLastName; |
||
316 | $this->strCompany = $strCompany; |
||
317 | $this->strAddress1 = $strAddress1; |
||
318 | $this->strAddress2 = $strAddress2; |
||
319 | $this->strCity = $strCity; |
||
320 | $this->strState = $strState; |
||
321 | $this->strCountry = $strCountry; |
||
322 | $this->strZip = $strZip; |
||
323 | $this->strPhone = $strPhone; |
||
324 | $this->strEmail = $strEmail; |
||
325 | $this->intCCType = $intCCType; |
||
326 | $this->strCCNumber = $strCCNumber; |
||
327 | $this->dtCCExp = $dtCCExp->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
|
|||
328 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$dtArrivalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $dtArrivalDate .
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.. ![]() |
|||
329 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$dtDepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $dtDepartureDate .
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.. ![]() |
|||
330 | $this->intGuestCount = $intGuestCount; |
||
331 | $this->strChildren = $strChildren; |
||
332 | $this->intRateID = $intRateID; |
||
333 | $this->intRoomTypeID = $intRoomTypeID; |
||
334 | $this->intPromoPushID = $intPromoPushID; |
||
335 | $this->intPromoCodeID = $intPromoCodeID; |
||
336 | $this->strAttributes = $strAttributes; |
||
337 | $this->strLocations = $strLocations; |
||
338 | $this->strSpecialRequests = $strSpecialRequests; |
||
339 | $this->strActivityStructure = $strActivityStructure; |
||
340 | $this->intRoomQty = $intRoomQty; |
||
341 | $this->dstElements = $dstElements; |
||
342 | $this->intTANo = $intTANo; |
||
343 | $this->strIATANo = $strIATANo; |
||
344 | $this->intMemNo = $intMemNo; |
||
345 | $this->dstGolfPackageItems = $dstGolfPackageItems; |
||
346 | $this->intCondoOwnerId = $intCondoOwnerId; |
||
347 | $this->intRoomId = $intRoomId; |
||
348 | $this->intBookingCondoType = $intBookingCondoType; |
||
349 | $this->IsInsuranceAccepted = $IsInsuranceAccepted; |
||
350 | $this->intBuildingID = $intBuildingID; |
||
351 | $this->strTokenGuid = $strTokenGuid; |
||
352 | $this->ELMMarketingSource = $ELMMarketingSource; |
||
353 | $this->DayOfBirth = $DayOfBirth; |
||
354 | $this->MonthOfBirth = $MonthOfBirth; |
||
355 | $this->YearOfBirth = $YearOfBirth; |
||
356 | $this->strComments = $strComments; |
||
357 | $this->IsPaidByFOO = $IsPaidByFOO; |
||
358 | $this->IsApplySpecialOffers = $IsApplySpecialOffers; |
||
359 | $this->intBusinessSourceID = $intBusinessSourceID; |
||
360 | $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte; |
||
361 | $this->intSuiteConfigurationID = $intSuiteConfigurationID; |
||
362 | } |
||
363 | |||
364 | /** |
||
365 | * @return int |
||
366 | */ |
||
367 | public function getIntGUID() |
||
368 | { |
||
369 | return $this->intGUID; |
||
370 | } |
||
371 | |||
372 | /** |
||
373 | * @param int $intGUID |
||
374 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
375 | */ |
||
376 | public function setIntGUID($intGUID) |
||
377 | { |
||
378 | $this->intGUID = $intGUID; |
||
379 | return $this; |
||
380 | } |
||
381 | |||
382 | /** |
||
383 | * @return string |
||
384 | */ |
||
385 | public function getStrISOLanguage() |
||
386 | { |
||
387 | return $this->strISOLanguage; |
||
388 | } |
||
389 | |||
390 | /** |
||
391 | * @param string $strISOLanguage |
||
392 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
393 | */ |
||
394 | public function setStrISOLanguage($strISOLanguage) |
||
395 | { |
||
396 | $this->strISOLanguage = $strISOLanguage; |
||
397 | return $this; |
||
398 | } |
||
399 | |||
400 | /** |
||
401 | * @return string |
||
402 | */ |
||
403 | public function getStrFirstName() |
||
404 | { |
||
405 | return $this->strFirstName; |
||
406 | } |
||
407 | |||
408 | /** |
||
409 | * @param string $strFirstName |
||
410 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
411 | */ |
||
412 | public function setStrFirstName($strFirstName) |
||
413 | { |
||
414 | $this->strFirstName = $strFirstName; |
||
415 | return $this; |
||
416 | } |
||
417 | |||
418 | /** |
||
419 | * @return string |
||
420 | */ |
||
421 | public function getStrLastName() |
||
422 | { |
||
423 | return $this->strLastName; |
||
424 | } |
||
425 | |||
426 | /** |
||
427 | * @param string $strLastName |
||
428 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
429 | */ |
||
430 | public function setStrLastName($strLastName) |
||
431 | { |
||
432 | $this->strLastName = $strLastName; |
||
433 | return $this; |
||
434 | } |
||
435 | |||
436 | /** |
||
437 | * @return string |
||
438 | */ |
||
439 | public function getStrCompany() |
||
440 | { |
||
441 | return $this->strCompany; |
||
442 | } |
||
443 | |||
444 | /** |
||
445 | * @param string $strCompany |
||
446 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
447 | */ |
||
448 | public function setStrCompany($strCompany) |
||
449 | { |
||
450 | $this->strCompany = $strCompany; |
||
451 | return $this; |
||
452 | } |
||
453 | |||
454 | /** |
||
455 | * @return string |
||
456 | */ |
||
457 | public function getStrAddress1() |
||
458 | { |
||
459 | return $this->strAddress1; |
||
460 | } |
||
461 | |||
462 | /** |
||
463 | * @param string $strAddress1 |
||
464 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
465 | */ |
||
466 | public function setStrAddress1($strAddress1) |
||
467 | { |
||
468 | $this->strAddress1 = $strAddress1; |
||
469 | return $this; |
||
470 | } |
||
471 | |||
472 | /** |
||
473 | * @return string |
||
474 | */ |
||
475 | public function getStrAddress2() |
||
476 | { |
||
477 | return $this->strAddress2; |
||
478 | } |
||
479 | |||
480 | /** |
||
481 | * @param string $strAddress2 |
||
482 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
483 | */ |
||
484 | public function setStrAddress2($strAddress2) |
||
485 | { |
||
486 | $this->strAddress2 = $strAddress2; |
||
487 | return $this; |
||
488 | } |
||
489 | |||
490 | /** |
||
491 | * @return string |
||
492 | */ |
||
493 | public function getStrCity() |
||
494 | { |
||
495 | return $this->strCity; |
||
496 | } |
||
497 | |||
498 | /** |
||
499 | * @param string $strCity |
||
500 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
501 | */ |
||
502 | public function setStrCity($strCity) |
||
503 | { |
||
504 | $this->strCity = $strCity; |
||
505 | return $this; |
||
506 | } |
||
507 | |||
508 | /** |
||
509 | * @return string |
||
510 | */ |
||
511 | public function getStrState() |
||
512 | { |
||
513 | return $this->strState; |
||
514 | } |
||
515 | |||
516 | /** |
||
517 | * @param string $strState |
||
518 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
519 | */ |
||
520 | public function setStrState($strState) |
||
521 | { |
||
522 | $this->strState = $strState; |
||
523 | return $this; |
||
524 | } |
||
525 | |||
526 | /** |
||
527 | * @return string |
||
528 | */ |
||
529 | public function getStrCountry() |
||
530 | { |
||
531 | return $this->strCountry; |
||
532 | } |
||
533 | |||
534 | /** |
||
535 | * @param string $strCountry |
||
536 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
537 | */ |
||
538 | public function setStrCountry($strCountry) |
||
539 | { |
||
540 | $this->strCountry = $strCountry; |
||
541 | return $this; |
||
542 | } |
||
543 | |||
544 | /** |
||
545 | * @return string |
||
546 | */ |
||
547 | public function getStrZip() |
||
548 | { |
||
549 | return $this->strZip; |
||
550 | } |
||
551 | |||
552 | /** |
||
553 | * @param string $strZip |
||
554 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
555 | */ |
||
556 | public function setStrZip($strZip) |
||
557 | { |
||
558 | $this->strZip = $strZip; |
||
559 | return $this; |
||
560 | } |
||
561 | |||
562 | /** |
||
563 | * @return string |
||
564 | */ |
||
565 | public function getStrPhone() |
||
566 | { |
||
567 | return $this->strPhone; |
||
568 | } |
||
569 | |||
570 | /** |
||
571 | * @param string $strPhone |
||
572 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
573 | */ |
||
574 | public function setStrPhone($strPhone) |
||
575 | { |
||
576 | $this->strPhone = $strPhone; |
||
577 | return $this; |
||
578 | } |
||
579 | |||
580 | /** |
||
581 | * @return string |
||
582 | */ |
||
583 | public function getStrEmail() |
||
584 | { |
||
585 | return $this->strEmail; |
||
586 | } |
||
587 | |||
588 | /** |
||
589 | * @param string $strEmail |
||
590 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
591 | */ |
||
592 | public function setStrEmail($strEmail) |
||
593 | { |
||
594 | $this->strEmail = $strEmail; |
||
595 | return $this; |
||
596 | } |
||
597 | |||
598 | /** |
||
599 | * @return int |
||
600 | */ |
||
601 | public function getIntCCType() |
||
602 | { |
||
603 | return $this->intCCType; |
||
604 | } |
||
605 | |||
606 | /** |
||
607 | * @param int $intCCType |
||
608 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
609 | */ |
||
610 | public function setIntCCType($intCCType) |
||
611 | { |
||
612 | $this->intCCType = $intCCType; |
||
613 | return $this; |
||
614 | } |
||
615 | |||
616 | /** |
||
617 | * @return string |
||
618 | */ |
||
619 | public function getStrCCNumber() |
||
620 | { |
||
621 | return $this->strCCNumber; |
||
622 | } |
||
623 | |||
624 | /** |
||
625 | * @param string $strCCNumber |
||
626 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
627 | */ |
||
628 | public function setStrCCNumber($strCCNumber) |
||
629 | { |
||
630 | $this->strCCNumber = $strCCNumber; |
||
631 | return $this; |
||
632 | } |
||
633 | |||
634 | /** |
||
635 | * @return \DateTime |
||
636 | */ |
||
637 | public function getDtCCExp() |
||
638 | { |
||
639 | if ($this->dtCCExp == null) { |
||
640 | return null; |
||
641 | } else { |
||
642 | try { |
||
643 | return new \DateTime($this->dtCCExp); |
||
644 | } catch (\Exception $e) { |
||
645 | return false; |
||
646 | } |
||
647 | } |
||
648 | } |
||
649 | |||
650 | /** |
||
651 | * @param \DateTime $dtCCExp |
||
652 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
653 | */ |
||
654 | public function setDtCCExp(\DateTime $dtCCExp) |
||
655 | { |
||
656 | $this->dtCCExp = $dtCCExp->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$dtCCExp->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $dtCCExp .
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.. ![]() |
|||
657 | return $this; |
||
658 | } |
||
659 | |||
660 | /** |
||
661 | * @return \DateTime |
||
662 | */ |
||
663 | public function getDtArrivalDate() |
||
664 | { |
||
665 | if ($this->dtArrivalDate == null) { |
||
666 | return null; |
||
667 | } else { |
||
668 | try { |
||
669 | return new \DateTime($this->dtArrivalDate); |
||
670 | } catch (\Exception $e) { |
||
671 | return false; |
||
672 | } |
||
673 | } |
||
674 | } |
||
675 | |||
676 | /** |
||
677 | * @param \DateTime $dtArrivalDate |
||
678 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
679 | */ |
||
680 | public function setDtArrivalDate(\DateTime $dtArrivalDate) |
||
681 | { |
||
682 | $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$dtArrivalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $dtArrivalDate .
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.. ![]() |
|||
683 | return $this; |
||
684 | } |
||
685 | |||
686 | /** |
||
687 | * @return \DateTime |
||
688 | */ |
||
689 | public function getDtDepartureDate() |
||
690 | { |
||
691 | if ($this->dtDepartureDate == null) { |
||
692 | return null; |
||
693 | } else { |
||
694 | try { |
||
695 | return new \DateTime($this->dtDepartureDate); |
||
696 | } catch (\Exception $e) { |
||
697 | return false; |
||
698 | } |
||
699 | } |
||
700 | } |
||
701 | |||
702 | /** |
||
703 | * @param \DateTime $dtDepartureDate |
||
704 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
705 | */ |
||
706 | public function setDtDepartureDate(\DateTime $dtDepartureDate) |
||
707 | { |
||
708 | $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$dtDepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $dtDepartureDate .
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.. ![]() |
|||
709 | return $this; |
||
710 | } |
||
711 | |||
712 | /** |
||
713 | * @return int |
||
714 | */ |
||
715 | public function getIntGuestCount() |
||
716 | { |
||
717 | return $this->intGuestCount; |
||
718 | } |
||
719 | |||
720 | /** |
||
721 | * @param int $intGuestCount |
||
722 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
723 | */ |
||
724 | public function setIntGuestCount($intGuestCount) |
||
725 | { |
||
726 | $this->intGuestCount = $intGuestCount; |
||
727 | return $this; |
||
728 | } |
||
729 | |||
730 | /** |
||
731 | * @return string |
||
732 | */ |
||
733 | public function getStrChildren() |
||
734 | { |
||
735 | return $this->strChildren; |
||
736 | } |
||
737 | |||
738 | /** |
||
739 | * @param string $strChildren |
||
740 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
741 | */ |
||
742 | public function setStrChildren($strChildren) |
||
743 | { |
||
744 | $this->strChildren = $strChildren; |
||
745 | return $this; |
||
746 | } |
||
747 | |||
748 | /** |
||
749 | * @return int |
||
750 | */ |
||
751 | public function getIntRateID() |
||
752 | { |
||
753 | return $this->intRateID; |
||
754 | } |
||
755 | |||
756 | /** |
||
757 | * @param int $intRateID |
||
758 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
759 | */ |
||
760 | public function setIntRateID($intRateID) |
||
761 | { |
||
762 | $this->intRateID = $intRateID; |
||
763 | return $this; |
||
764 | } |
||
765 | |||
766 | /** |
||
767 | * @return int |
||
768 | */ |
||
769 | public function getIntRoomTypeID() |
||
770 | { |
||
771 | return $this->intRoomTypeID; |
||
772 | } |
||
773 | |||
774 | /** |
||
775 | * @param int $intRoomTypeID |
||
776 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
777 | */ |
||
778 | public function setIntRoomTypeID($intRoomTypeID) |
||
779 | { |
||
780 | $this->intRoomTypeID = $intRoomTypeID; |
||
781 | return $this; |
||
782 | } |
||
783 | |||
784 | /** |
||
785 | * @return int |
||
786 | */ |
||
787 | public function getIntPromoPushID() |
||
788 | { |
||
789 | return $this->intPromoPushID; |
||
790 | } |
||
791 | |||
792 | /** |
||
793 | * @param int $intPromoPushID |
||
794 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
795 | */ |
||
796 | public function setIntPromoPushID($intPromoPushID) |
||
797 | { |
||
798 | $this->intPromoPushID = $intPromoPushID; |
||
799 | return $this; |
||
800 | } |
||
801 | |||
802 | /** |
||
803 | * @return int |
||
804 | */ |
||
805 | public function getIntPromoCodeID() |
||
806 | { |
||
807 | return $this->intPromoCodeID; |
||
808 | } |
||
809 | |||
810 | /** |
||
811 | * @param int $intPromoCodeID |
||
812 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
813 | */ |
||
814 | public function setIntPromoCodeID($intPromoCodeID) |
||
815 | { |
||
816 | $this->intPromoCodeID = $intPromoCodeID; |
||
817 | return $this; |
||
818 | } |
||
819 | |||
820 | /** |
||
821 | * @return string |
||
822 | */ |
||
823 | public function getStrAttributes() |
||
824 | { |
||
825 | return $this->strAttributes; |
||
826 | } |
||
827 | |||
828 | /** |
||
829 | * @param string $strAttributes |
||
830 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
831 | */ |
||
832 | public function setStrAttributes($strAttributes) |
||
833 | { |
||
834 | $this->strAttributes = $strAttributes; |
||
835 | return $this; |
||
836 | } |
||
837 | |||
838 | /** |
||
839 | * @return string |
||
840 | */ |
||
841 | public function getStrLocations() |
||
842 | { |
||
843 | return $this->strLocations; |
||
844 | } |
||
845 | |||
846 | /** |
||
847 | * @param string $strLocations |
||
848 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
849 | */ |
||
850 | public function setStrLocations($strLocations) |
||
851 | { |
||
852 | $this->strLocations = $strLocations; |
||
853 | return $this; |
||
854 | } |
||
855 | |||
856 | /** |
||
857 | * @return string |
||
858 | */ |
||
859 | public function getStrSpecialRequests() |
||
860 | { |
||
861 | return $this->strSpecialRequests; |
||
862 | } |
||
863 | |||
864 | /** |
||
865 | * @param string $strSpecialRequests |
||
866 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
867 | */ |
||
868 | public function setStrSpecialRequests($strSpecialRequests) |
||
869 | { |
||
870 | $this->strSpecialRequests = $strSpecialRequests; |
||
871 | return $this; |
||
872 | } |
||
873 | |||
874 | /** |
||
875 | * @return string |
||
876 | */ |
||
877 | public function getStrActivityStructure() |
||
878 | { |
||
879 | return $this->strActivityStructure; |
||
880 | } |
||
881 | |||
882 | /** |
||
883 | * @param string $strActivityStructure |
||
884 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
885 | */ |
||
886 | public function setStrActivityStructure($strActivityStructure) |
||
887 | { |
||
888 | $this->strActivityStructure = $strActivityStructure; |
||
889 | return $this; |
||
890 | } |
||
891 | |||
892 | /** |
||
893 | * @return int |
||
894 | */ |
||
895 | public function getIntRoomQty() |
||
896 | { |
||
897 | return $this->intRoomQty; |
||
898 | } |
||
899 | |||
900 | /** |
||
901 | * @param int $intRoomQty |
||
902 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
903 | */ |
||
904 | public function setIntRoomQty($intRoomQty) |
||
905 | { |
||
906 | $this->intRoomQty = $intRoomQty; |
||
907 | return $this; |
||
908 | } |
||
909 | |||
910 | /** |
||
911 | * @return dstElements |
||
912 | */ |
||
913 | public function getDstElements() |
||
914 | { |
||
915 | return $this->dstElements; |
||
916 | } |
||
917 | |||
918 | /** |
||
919 | * @param dstElements $dstElements |
||
920 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
921 | */ |
||
922 | public function setDstElements($dstElements) |
||
923 | { |
||
924 | $this->dstElements = $dstElements; |
||
925 | return $this; |
||
926 | } |
||
927 | |||
928 | /** |
||
929 | * @return int |
||
930 | */ |
||
931 | public function getIntTANo() |
||
932 | { |
||
933 | return $this->intTANo; |
||
934 | } |
||
935 | |||
936 | /** |
||
937 | * @param int $intTANo |
||
938 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
939 | */ |
||
940 | public function setIntTANo($intTANo) |
||
941 | { |
||
942 | $this->intTANo = $intTANo; |
||
943 | return $this; |
||
944 | } |
||
945 | |||
946 | /** |
||
947 | * @return string |
||
948 | */ |
||
949 | public function getStrIATANo() |
||
950 | { |
||
951 | return $this->strIATANo; |
||
952 | } |
||
953 | |||
954 | /** |
||
955 | * @param string $strIATANo |
||
956 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
957 | */ |
||
958 | public function setStrIATANo($strIATANo) |
||
959 | { |
||
960 | $this->strIATANo = $strIATANo; |
||
961 | return $this; |
||
962 | } |
||
963 | |||
964 | /** |
||
965 | * @return int |
||
966 | */ |
||
967 | public function getIntMemNo() |
||
968 | { |
||
969 | return $this->intMemNo; |
||
970 | } |
||
971 | |||
972 | /** |
||
973 | * @param int $intMemNo |
||
974 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
975 | */ |
||
976 | public function setIntMemNo($intMemNo) |
||
977 | { |
||
978 | $this->intMemNo = $intMemNo; |
||
979 | return $this; |
||
980 | } |
||
981 | |||
982 | /** |
||
983 | * @return dstGolfPackageItems |
||
984 | */ |
||
985 | public function getDstGolfPackageItems() |
||
986 | { |
||
987 | return $this->dstGolfPackageItems; |
||
988 | } |
||
989 | |||
990 | /** |
||
991 | * @param dstGolfPackageItems $dstGolfPackageItems |
||
992 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
993 | */ |
||
994 | public function setDstGolfPackageItems($dstGolfPackageItems) |
||
995 | { |
||
996 | $this->dstGolfPackageItems = $dstGolfPackageItems; |
||
997 | return $this; |
||
998 | } |
||
999 | |||
1000 | /** |
||
1001 | * @return int |
||
1002 | */ |
||
1003 | public function getIntCondoOwnerId() |
||
1004 | { |
||
1005 | return $this->intCondoOwnerId; |
||
1006 | } |
||
1007 | |||
1008 | /** |
||
1009 | * @param int $intCondoOwnerId |
||
1010 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1011 | */ |
||
1012 | public function setIntCondoOwnerId($intCondoOwnerId) |
||
1013 | { |
||
1014 | $this->intCondoOwnerId = $intCondoOwnerId; |
||
1015 | return $this; |
||
1016 | } |
||
1017 | |||
1018 | /** |
||
1019 | * @return int |
||
1020 | */ |
||
1021 | public function getIntRoomId() |
||
1022 | { |
||
1023 | return $this->intRoomId; |
||
1024 | } |
||
1025 | |||
1026 | /** |
||
1027 | * @param int $intRoomId |
||
1028 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1029 | */ |
||
1030 | public function setIntRoomId($intRoomId) |
||
1031 | { |
||
1032 | $this->intRoomId = $intRoomId; |
||
1033 | return $this; |
||
1034 | } |
||
1035 | |||
1036 | /** |
||
1037 | * @return int |
||
1038 | */ |
||
1039 | public function getIntBookingCondoType() |
||
1040 | { |
||
1041 | return $this->intBookingCondoType; |
||
1042 | } |
||
1043 | |||
1044 | /** |
||
1045 | * @param int $intBookingCondoType |
||
1046 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1047 | */ |
||
1048 | public function setIntBookingCondoType($intBookingCondoType) |
||
1049 | { |
||
1050 | $this->intBookingCondoType = $intBookingCondoType; |
||
1051 | return $this; |
||
1052 | } |
||
1053 | |||
1054 | /** |
||
1055 | * @return boolean |
||
1056 | */ |
||
1057 | public function getIsInsuranceAccepted() |
||
1058 | { |
||
1059 | return $this->IsInsuranceAccepted; |
||
1060 | } |
||
1061 | |||
1062 | /** |
||
1063 | * @param boolean $IsInsuranceAccepted |
||
1064 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1065 | */ |
||
1066 | public function setIsInsuranceAccepted($IsInsuranceAccepted) |
||
1067 | { |
||
1068 | $this->IsInsuranceAccepted = $IsInsuranceAccepted; |
||
1069 | return $this; |
||
1070 | } |
||
1071 | |||
1072 | /** |
||
1073 | * @return int |
||
1074 | */ |
||
1075 | public function getIntBuildingID() |
||
1076 | { |
||
1077 | return $this->intBuildingID; |
||
1078 | } |
||
1079 | |||
1080 | /** |
||
1081 | * @param int $intBuildingID |
||
1082 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1083 | */ |
||
1084 | public function setIntBuildingID($intBuildingID) |
||
1085 | { |
||
1086 | $this->intBuildingID = $intBuildingID; |
||
1087 | return $this; |
||
1088 | } |
||
1089 | |||
1090 | /** |
||
1091 | * @return string |
||
1092 | */ |
||
1093 | public function getStrTokenGuid() |
||
1094 | { |
||
1095 | return $this->strTokenGuid; |
||
1096 | } |
||
1097 | |||
1098 | /** |
||
1099 | * @param string $strTokenGuid |
||
1100 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1101 | */ |
||
1102 | public function setStrTokenGuid($strTokenGuid) |
||
1103 | { |
||
1104 | $this->strTokenGuid = $strTokenGuid; |
||
1105 | return $this; |
||
1106 | } |
||
1107 | |||
1108 | /** |
||
1109 | * @return string |
||
1110 | */ |
||
1111 | public function getELMMarketingSource() |
||
1112 | { |
||
1113 | return $this->ELMMarketingSource; |
||
1114 | } |
||
1115 | |||
1116 | /** |
||
1117 | * @param string $ELMMarketingSource |
||
1118 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1119 | */ |
||
1120 | public function setELMMarketingSource($ELMMarketingSource) |
||
1121 | { |
||
1122 | $this->ELMMarketingSource = $ELMMarketingSource; |
||
1123 | return $this; |
||
1124 | } |
||
1125 | |||
1126 | /** |
||
1127 | * @return string |
||
1128 | */ |
||
1129 | public function getDayOfBirth() |
||
1130 | { |
||
1131 | return $this->DayOfBirth; |
||
1132 | } |
||
1133 | |||
1134 | /** |
||
1135 | * @param string $DayOfBirth |
||
1136 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1137 | */ |
||
1138 | public function setDayOfBirth($DayOfBirth) |
||
1139 | { |
||
1140 | $this->DayOfBirth = $DayOfBirth; |
||
1141 | return $this; |
||
1142 | } |
||
1143 | |||
1144 | /** |
||
1145 | * @return string |
||
1146 | */ |
||
1147 | public function getMonthOfBirth() |
||
1148 | { |
||
1149 | return $this->MonthOfBirth; |
||
1150 | } |
||
1151 | |||
1152 | /** |
||
1153 | * @param string $MonthOfBirth |
||
1154 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1155 | */ |
||
1156 | public function setMonthOfBirth($MonthOfBirth) |
||
1157 | { |
||
1158 | $this->MonthOfBirth = $MonthOfBirth; |
||
1159 | return $this; |
||
1160 | } |
||
1161 | |||
1162 | /** |
||
1163 | * @return string |
||
1164 | */ |
||
1165 | public function getYearOfBirth() |
||
1166 | { |
||
1167 | return $this->YearOfBirth; |
||
1168 | } |
||
1169 | |||
1170 | /** |
||
1171 | * @param string $YearOfBirth |
||
1172 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1173 | */ |
||
1174 | public function setYearOfBirth($YearOfBirth) |
||
1175 | { |
||
1176 | $this->YearOfBirth = $YearOfBirth; |
||
1177 | return $this; |
||
1178 | } |
||
1179 | |||
1180 | /** |
||
1181 | * @return string |
||
1182 | */ |
||
1183 | public function getStrComments() |
||
1184 | { |
||
1185 | return $this->strComments; |
||
1186 | } |
||
1187 | |||
1188 | /** |
||
1189 | * @param string $strComments |
||
1190 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1191 | */ |
||
1192 | public function setStrComments($strComments) |
||
1193 | { |
||
1194 | $this->strComments = $strComments; |
||
1195 | return $this; |
||
1196 | } |
||
1197 | |||
1198 | /** |
||
1199 | * @return boolean |
||
1200 | */ |
||
1201 | public function getIsPaidByFOO() |
||
1202 | { |
||
1203 | return $this->IsPaidByFOO; |
||
1204 | } |
||
1205 | |||
1206 | /** |
||
1207 | * @param boolean $IsPaidByFOO |
||
1208 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1209 | */ |
||
1210 | public function setIsPaidByFOO($IsPaidByFOO) |
||
1211 | { |
||
1212 | $this->IsPaidByFOO = $IsPaidByFOO; |
||
1213 | return $this; |
||
1214 | } |
||
1215 | |||
1216 | /** |
||
1217 | * @return boolean |
||
1218 | */ |
||
1219 | public function getIsApplySpecialOffers() |
||
1220 | { |
||
1221 | return $this->IsApplySpecialOffers; |
||
1222 | } |
||
1223 | |||
1224 | /** |
||
1225 | * @param boolean $IsApplySpecialOffers |
||
1226 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1227 | */ |
||
1228 | public function setIsApplySpecialOffers($IsApplySpecialOffers) |
||
1229 | { |
||
1230 | $this->IsApplySpecialOffers = $IsApplySpecialOffers; |
||
1231 | return $this; |
||
1232 | } |
||
1233 | |||
1234 | /** |
||
1235 | * @return int |
||
1236 | */ |
||
1237 | public function getIntBusinessSourceID() |
||
1238 | { |
||
1239 | return $this->intBusinessSourceID; |
||
1240 | } |
||
1241 | |||
1242 | /** |
||
1243 | * @param int $intBusinessSourceID |
||
1244 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1245 | */ |
||
1246 | public function setIntBusinessSourceID($intBusinessSourceID) |
||
1247 | { |
||
1248 | $this->intBusinessSourceID = $intBusinessSourceID; |
||
1249 | return $this; |
||
1250 | } |
||
1251 | |||
1252 | /** |
||
1253 | * @return dstServicesChargesALaCarte |
||
1254 | */ |
||
1255 | public function getDstServicesChargesALaCarte() |
||
1256 | { |
||
1257 | return $this->dstServicesChargesALaCarte; |
||
1258 | } |
||
1259 | |||
1260 | /** |
||
1261 | * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte |
||
1262 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1263 | */ |
||
1264 | public function setDstServicesChargesALaCarte($dstServicesChargesALaCarte) |
||
1265 | { |
||
1266 | $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte; |
||
1267 | return $this; |
||
1268 | } |
||
1269 | |||
1270 | /** |
||
1271 | * @return int |
||
1272 | */ |
||
1273 | public function getIntSuiteConfigurationID() |
||
1274 | { |
||
1275 | return $this->intSuiteConfigurationID; |
||
1276 | } |
||
1277 | |||
1278 | /** |
||
1279 | * @param int $intSuiteConfigurationID |
||
1280 | * @return \Gueststream\PMS\IQWare\API\SaveReservation |
||
1281 | */ |
||
1282 | public function setIntSuiteConfigurationID($intSuiteConfigurationID) |
||
1283 | { |
||
1284 | $this->intSuiteConfigurationID = $intSuiteConfigurationID; |
||
1285 | return $this; |
||
1286 | } |
||
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..