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 OwnerReservations |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var int $ID_Guest |
||
10 | */ |
||
11 | protected $ID_Guest = null; |
||
12 | |||
13 | /** |
||
14 | * @var int $ID_Room |
||
15 | */ |
||
16 | protected $ID_Room = null; |
||
17 | |||
18 | /** |
||
19 | * @var \DateTime $ArrivalDate |
||
20 | */ |
||
21 | protected $ArrivalDate = null; |
||
22 | |||
23 | /** |
||
24 | * @var \DateTime $DepartureDate |
||
25 | */ |
||
26 | protected $DepartureDate = null; |
||
27 | |||
28 | /** |
||
29 | * @var int $RoomQty |
||
30 | */ |
||
31 | protected $RoomQty = null; |
||
32 | |||
33 | /** |
||
34 | * @var int $AccountStatus |
||
35 | */ |
||
36 | protected $AccountStatus = null; |
||
37 | |||
38 | /** |
||
39 | * @var int $LedgerStatus |
||
40 | */ |
||
41 | protected $LedgerStatus = null; |
||
42 | |||
43 | /** |
||
44 | * @var int $ID_Property |
||
45 | */ |
||
46 | protected $ID_Property = null; |
||
47 | |||
48 | /** |
||
49 | * @var int $AccountNo |
||
50 | */ |
||
51 | protected $AccountNo = null; |
||
52 | |||
53 | /** |
||
54 | * @var string $AccountName |
||
55 | */ |
||
56 | protected $AccountName = null; |
||
57 | |||
58 | /** |
||
59 | * @var float $TotalFolios |
||
60 | */ |
||
61 | protected $TotalFolios = null; |
||
62 | |||
63 | /** |
||
64 | * @var string $PropertyGUID |
||
65 | */ |
||
66 | protected $PropertyGUID = null; |
||
67 | |||
68 | /** |
||
69 | * @var string $PropertyCode |
||
70 | */ |
||
71 | protected $PropertyCode = null; |
||
72 | |||
73 | /** |
||
74 | * @var boolean $IsGuaranteed |
||
75 | */ |
||
76 | protected $IsGuaranteed = null; |
||
77 | |||
78 | /** |
||
79 | * @var int $BookingCondoType |
||
80 | */ |
||
81 | protected $BookingCondoType = null; |
||
82 | |||
83 | /** |
||
84 | * @var string $RoomNo |
||
85 | */ |
||
86 | protected $RoomNo = null; |
||
87 | |||
88 | /** |
||
89 | * @var int $ID_RoomTypeOcc |
||
90 | */ |
||
91 | protected $ID_RoomTypeOcc = null; |
||
92 | |||
93 | /** |
||
94 | * @var int $ID_SuiteConfiguration |
||
95 | */ |
||
96 | protected $ID_SuiteConfiguration = null; |
||
97 | |||
98 | /** |
||
99 | * @var int $HSKRoomStatusType |
||
100 | */ |
||
101 | protected $HSKRoomStatusType = null; |
||
102 | |||
103 | /** |
||
104 | * @var int $HSKRoomInspectionType |
||
105 | */ |
||
106 | protected $HSKRoomInspectionType = null; |
||
107 | |||
108 | /** |
||
109 | * @var boolean $IsHSKRoomOccupied |
||
110 | */ |
||
111 | protected $IsHSKRoomOccupied = null; |
||
112 | |||
113 | /** |
||
114 | * @var int $ID_Member |
||
115 | */ |
||
116 | protected $ID_Member = null; |
||
117 | |||
118 | /** |
||
119 | * @var int $ID_Admin |
||
120 | */ |
||
121 | protected $ID_Admin = null; |
||
122 | |||
123 | /** |
||
124 | * @var int $ID_CondoOwner |
||
125 | */ |
||
126 | protected $ID_CondoOwner = null; |
||
127 | |||
128 | /** |
||
129 | * @var \DateTime $SystemCreationDate |
||
130 | */ |
||
131 | protected $SystemCreationDate = null; |
||
132 | |||
133 | /** |
||
134 | * @var float $StayValue |
||
135 | */ |
||
136 | protected $StayValue = null; |
||
137 | |||
138 | /** |
||
139 | * @var float $GrossRevenue |
||
140 | */ |
||
141 | protected $GrossRevenue = null; |
||
142 | |||
143 | /** |
||
144 | * @var boolean $IsInternalReferal |
||
145 | */ |
||
146 | protected $IsInternalReferal = null; |
||
147 | |||
148 | /** |
||
149 | * @var int $ID_Referal |
||
150 | */ |
||
151 | protected $ID_Referal = null; |
||
152 | |||
153 | /** |
||
154 | * @var boolean $IsRBO |
||
155 | */ |
||
156 | protected $IsRBO = null; |
||
157 | |||
158 | /** |
||
159 | * @var string $RateCodeName |
||
160 | */ |
||
161 | protected $RateCodeName = null; |
||
162 | |||
163 | /** |
||
164 | * @var float $GrossRevenueTotal |
||
165 | */ |
||
166 | protected $GrossRevenueTotal = null; |
||
167 | |||
168 | /** |
||
169 | * @param int $ID_Guest |
||
170 | * @param int $ID_Room |
||
171 | * @param \DateTime $ArrivalDate |
||
172 | * @param \DateTime $DepartureDate |
||
173 | * @param int $RoomQty |
||
174 | * @param int $AccountStatus |
||
175 | * @param int $LedgerStatus |
||
176 | * @param int $ID_Property |
||
177 | * @param int $AccountNo |
||
178 | * @param string $AccountName |
||
179 | * @param float $TotalFolios |
||
180 | * @param string $PropertyGUID |
||
181 | * @param string $PropertyCode |
||
182 | * @param boolean $IsGuaranteed |
||
183 | * @param int $BookingCondoType |
||
184 | * @param string $RoomNo |
||
185 | * @param int $ID_RoomTypeOcc |
||
186 | * @param int $ID_SuiteConfiguration |
||
187 | * @param int $HSKRoomStatusType |
||
188 | * @param int $HSKRoomInspectionType |
||
189 | * @param boolean $IsHSKRoomOccupied |
||
190 | * @param int $ID_Member |
||
191 | * @param int $ID_Admin |
||
192 | * @param int $ID_CondoOwner |
||
193 | * @param \DateTime $SystemCreationDate |
||
194 | * @param float $StayValue |
||
195 | * @param float $GrossRevenue |
||
196 | * @param boolean $IsInternalReferal |
||
197 | * @param int $ID_Referal |
||
198 | * @param boolean $IsRBO |
||
199 | * @param string $RateCodeName |
||
200 | * @param float $GrossRevenueTotal |
||
201 | */ |
||
202 | public function __construct($ID_Guest, $ID_Room, \DateTime $ArrivalDate, \DateTime $DepartureDate, $RoomQty, $AccountStatus, $LedgerStatus, $ID_Property, $AccountNo, $AccountName, $TotalFolios, $PropertyGUID, $PropertyCode, $IsGuaranteed, $BookingCondoType, $RoomNo, $ID_RoomTypeOcc, $ID_SuiteConfiguration, $HSKRoomStatusType, $HSKRoomInspectionType, $IsHSKRoomOccupied, $ID_Member, $ID_Admin, $ID_CondoOwner, \DateTime $SystemCreationDate, $StayValue, $GrossRevenue, $IsInternalReferal, $ID_Referal, $IsRBO, $RateCodeName, $GrossRevenueTotal) |
||
203 | { |
||
204 | $this->ID_Guest = $ID_Guest; |
||
205 | $this->ID_Room = $ID_Room; |
||
206 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
|
|||
207 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$DepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DepartureDate .
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.. ![]() |
|||
208 | $this->RoomQty = $RoomQty; |
||
209 | $this->AccountStatus = $AccountStatus; |
||
210 | $this->LedgerStatus = $LedgerStatus; |
||
211 | $this->ID_Property = $ID_Property; |
||
212 | $this->AccountNo = $AccountNo; |
||
213 | $this->AccountName = $AccountName; |
||
214 | $this->TotalFolios = $TotalFolios; |
||
215 | $this->PropertyGUID = $PropertyGUID; |
||
216 | $this->PropertyCode = $PropertyCode; |
||
217 | $this->IsGuaranteed = $IsGuaranteed; |
||
218 | $this->BookingCondoType = $BookingCondoType; |
||
219 | $this->RoomNo = $RoomNo; |
||
220 | $this->ID_RoomTypeOcc = $ID_RoomTypeOcc; |
||
221 | $this->ID_SuiteConfiguration = $ID_SuiteConfiguration; |
||
222 | $this->HSKRoomStatusType = $HSKRoomStatusType; |
||
223 | $this->HSKRoomInspectionType = $HSKRoomInspectionType; |
||
224 | $this->IsHSKRoomOccupied = $IsHSKRoomOccupied; |
||
225 | $this->ID_Member = $ID_Member; |
||
226 | $this->ID_Admin = $ID_Admin; |
||
227 | $this->ID_CondoOwner = $ID_CondoOwner; |
||
228 | $this->SystemCreationDate = $SystemCreationDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$SystemCreationDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $SystemCreationDate .
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.. ![]() |
|||
229 | $this->StayValue = $StayValue; |
||
230 | $this->GrossRevenue = $GrossRevenue; |
||
231 | $this->IsInternalReferal = $IsInternalReferal; |
||
232 | $this->ID_Referal = $ID_Referal; |
||
233 | $this->IsRBO = $IsRBO; |
||
234 | $this->RateCodeName = $RateCodeName; |
||
235 | $this->GrossRevenueTotal = $GrossRevenueTotal; |
||
236 | } |
||
237 | |||
238 | /** |
||
239 | * @return int |
||
240 | */ |
||
241 | public function getID_Guest() |
||
242 | { |
||
243 | return $this->ID_Guest; |
||
244 | } |
||
245 | |||
246 | /** |
||
247 | * @param int $ID_Guest |
||
248 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
249 | */ |
||
250 | public function setID_Guest($ID_Guest) |
||
251 | { |
||
252 | $this->ID_Guest = $ID_Guest; |
||
253 | return $this; |
||
254 | } |
||
255 | |||
256 | /** |
||
257 | * @return int |
||
258 | */ |
||
259 | public function getID_Room() |
||
260 | { |
||
261 | return $this->ID_Room; |
||
262 | } |
||
263 | |||
264 | /** |
||
265 | * @param int $ID_Room |
||
266 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
267 | */ |
||
268 | public function setID_Room($ID_Room) |
||
269 | { |
||
270 | $this->ID_Room = $ID_Room; |
||
271 | return $this; |
||
272 | } |
||
273 | |||
274 | /** |
||
275 | * @return \DateTime |
||
276 | */ |
||
277 | public function getArrivalDate() |
||
278 | { |
||
279 | if ($this->ArrivalDate == null) { |
||
280 | return null; |
||
281 | } else { |
||
282 | try { |
||
283 | return new \DateTime($this->ArrivalDate); |
||
284 | } catch (\Exception $e) { |
||
285 | return false; |
||
286 | } |
||
287 | } |
||
288 | } |
||
289 | |||
290 | /** |
||
291 | * @param \DateTime $ArrivalDate |
||
292 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
293 | */ |
||
294 | public function setArrivalDate(\DateTime $ArrivalDate) |
||
295 | { |
||
296 | $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$ArrivalDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $ArrivalDate .
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.. ![]() |
|||
297 | return $this; |
||
298 | } |
||
299 | |||
300 | /** |
||
301 | * @return \DateTime |
||
302 | */ |
||
303 | public function getDepartureDate() |
||
304 | { |
||
305 | if ($this->DepartureDate == null) { |
||
306 | return null; |
||
307 | } else { |
||
308 | try { |
||
309 | return new \DateTime($this->DepartureDate); |
||
310 | } catch (\Exception $e) { |
||
311 | return false; |
||
312 | } |
||
313 | } |
||
314 | } |
||
315 | |||
316 | /** |
||
317 | * @param \DateTime $DepartureDate |
||
318 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
319 | */ |
||
320 | public function setDepartureDate(\DateTime $DepartureDate) |
||
321 | { |
||
322 | $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$DepartureDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $DepartureDate .
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.. ![]() |
|||
323 | return $this; |
||
324 | } |
||
325 | |||
326 | /** |
||
327 | * @return int |
||
328 | */ |
||
329 | public function getRoomQty() |
||
330 | { |
||
331 | return $this->RoomQty; |
||
332 | } |
||
333 | |||
334 | /** |
||
335 | * @param int $RoomQty |
||
336 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
337 | */ |
||
338 | public function setRoomQty($RoomQty) |
||
339 | { |
||
340 | $this->RoomQty = $RoomQty; |
||
341 | return $this; |
||
342 | } |
||
343 | |||
344 | /** |
||
345 | * @return int |
||
346 | */ |
||
347 | public function getAccountStatus() |
||
348 | { |
||
349 | return $this->AccountStatus; |
||
350 | } |
||
351 | |||
352 | /** |
||
353 | * @param int $AccountStatus |
||
354 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
355 | */ |
||
356 | public function setAccountStatus($AccountStatus) |
||
357 | { |
||
358 | $this->AccountStatus = $AccountStatus; |
||
359 | return $this; |
||
360 | } |
||
361 | |||
362 | /** |
||
363 | * @return int |
||
364 | */ |
||
365 | public function getLedgerStatus() |
||
366 | { |
||
367 | return $this->LedgerStatus; |
||
368 | } |
||
369 | |||
370 | /** |
||
371 | * @param int $LedgerStatus |
||
372 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
373 | */ |
||
374 | public function setLedgerStatus($LedgerStatus) |
||
375 | { |
||
376 | $this->LedgerStatus = $LedgerStatus; |
||
377 | return $this; |
||
378 | } |
||
379 | |||
380 | /** |
||
381 | * @return int |
||
382 | */ |
||
383 | public function getID_Property() |
||
384 | { |
||
385 | return $this->ID_Property; |
||
386 | } |
||
387 | |||
388 | /** |
||
389 | * @param int $ID_Property |
||
390 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
391 | */ |
||
392 | public function setID_Property($ID_Property) |
||
393 | { |
||
394 | $this->ID_Property = $ID_Property; |
||
395 | return $this; |
||
396 | } |
||
397 | |||
398 | /** |
||
399 | * @return int |
||
400 | */ |
||
401 | public function getAccountNo() |
||
402 | { |
||
403 | return $this->AccountNo; |
||
404 | } |
||
405 | |||
406 | /** |
||
407 | * @param int $AccountNo |
||
408 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
409 | */ |
||
410 | public function setAccountNo($AccountNo) |
||
411 | { |
||
412 | $this->AccountNo = $AccountNo; |
||
413 | return $this; |
||
414 | } |
||
415 | |||
416 | /** |
||
417 | * @return string |
||
418 | */ |
||
419 | public function getAccountName() |
||
420 | { |
||
421 | return $this->AccountName; |
||
422 | } |
||
423 | |||
424 | /** |
||
425 | * @param string $AccountName |
||
426 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
427 | */ |
||
428 | public function setAccountName($AccountName) |
||
429 | { |
||
430 | $this->AccountName = $AccountName; |
||
431 | return $this; |
||
432 | } |
||
433 | |||
434 | /** |
||
435 | * @return float |
||
436 | */ |
||
437 | public function getTotalFolios() |
||
438 | { |
||
439 | return $this->TotalFolios; |
||
440 | } |
||
441 | |||
442 | /** |
||
443 | * @param float $TotalFolios |
||
444 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
445 | */ |
||
446 | public function setTotalFolios($TotalFolios) |
||
447 | { |
||
448 | $this->TotalFolios = $TotalFolios; |
||
449 | return $this; |
||
450 | } |
||
451 | |||
452 | /** |
||
453 | * @return string |
||
454 | */ |
||
455 | public function getPropertyGUID() |
||
456 | { |
||
457 | return $this->PropertyGUID; |
||
458 | } |
||
459 | |||
460 | /** |
||
461 | * @param string $PropertyGUID |
||
462 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
463 | */ |
||
464 | public function setPropertyGUID($PropertyGUID) |
||
465 | { |
||
466 | $this->PropertyGUID = $PropertyGUID; |
||
467 | return $this; |
||
468 | } |
||
469 | |||
470 | /** |
||
471 | * @return string |
||
472 | */ |
||
473 | public function getPropertyCode() |
||
474 | { |
||
475 | return $this->PropertyCode; |
||
476 | } |
||
477 | |||
478 | /** |
||
479 | * @param string $PropertyCode |
||
480 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
481 | */ |
||
482 | public function setPropertyCode($PropertyCode) |
||
483 | { |
||
484 | $this->PropertyCode = $PropertyCode; |
||
485 | return $this; |
||
486 | } |
||
487 | |||
488 | /** |
||
489 | * @return boolean |
||
490 | */ |
||
491 | public function getIsGuaranteed() |
||
492 | { |
||
493 | return $this->IsGuaranteed; |
||
494 | } |
||
495 | |||
496 | /** |
||
497 | * @param boolean $IsGuaranteed |
||
498 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
499 | */ |
||
500 | public function setIsGuaranteed($IsGuaranteed) |
||
501 | { |
||
502 | $this->IsGuaranteed = $IsGuaranteed; |
||
503 | return $this; |
||
504 | } |
||
505 | |||
506 | /** |
||
507 | * @return int |
||
508 | */ |
||
509 | public function getBookingCondoType() |
||
510 | { |
||
511 | return $this->BookingCondoType; |
||
512 | } |
||
513 | |||
514 | /** |
||
515 | * @param int $BookingCondoType |
||
516 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
517 | */ |
||
518 | public function setBookingCondoType($BookingCondoType) |
||
519 | { |
||
520 | $this->BookingCondoType = $BookingCondoType; |
||
521 | return $this; |
||
522 | } |
||
523 | |||
524 | /** |
||
525 | * @return string |
||
526 | */ |
||
527 | public function getRoomNo() |
||
528 | { |
||
529 | return $this->RoomNo; |
||
530 | } |
||
531 | |||
532 | /** |
||
533 | * @param string $RoomNo |
||
534 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
535 | */ |
||
536 | public function setRoomNo($RoomNo) |
||
537 | { |
||
538 | $this->RoomNo = $RoomNo; |
||
539 | return $this; |
||
540 | } |
||
541 | |||
542 | /** |
||
543 | * @return int |
||
544 | */ |
||
545 | public function getID_RoomTypeOcc() |
||
546 | { |
||
547 | return $this->ID_RoomTypeOcc; |
||
548 | } |
||
549 | |||
550 | /** |
||
551 | * @param int $ID_RoomTypeOcc |
||
552 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
553 | */ |
||
554 | public function setID_RoomTypeOcc($ID_RoomTypeOcc) |
||
555 | { |
||
556 | $this->ID_RoomTypeOcc = $ID_RoomTypeOcc; |
||
557 | return $this; |
||
558 | } |
||
559 | |||
560 | /** |
||
561 | * @return int |
||
562 | */ |
||
563 | public function getID_SuiteConfiguration() |
||
564 | { |
||
565 | return $this->ID_SuiteConfiguration; |
||
566 | } |
||
567 | |||
568 | /** |
||
569 | * @param int $ID_SuiteConfiguration |
||
570 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
571 | */ |
||
572 | public function setID_SuiteConfiguration($ID_SuiteConfiguration) |
||
573 | { |
||
574 | $this->ID_SuiteConfiguration = $ID_SuiteConfiguration; |
||
575 | return $this; |
||
576 | } |
||
577 | |||
578 | /** |
||
579 | * @return int |
||
580 | */ |
||
581 | public function getHSKRoomStatusType() |
||
582 | { |
||
583 | return $this->HSKRoomStatusType; |
||
584 | } |
||
585 | |||
586 | /** |
||
587 | * @param int $HSKRoomStatusType |
||
588 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
589 | */ |
||
590 | public function setHSKRoomStatusType($HSKRoomStatusType) |
||
591 | { |
||
592 | $this->HSKRoomStatusType = $HSKRoomStatusType; |
||
593 | return $this; |
||
594 | } |
||
595 | |||
596 | /** |
||
597 | * @return int |
||
598 | */ |
||
599 | public function getHSKRoomInspectionType() |
||
600 | { |
||
601 | return $this->HSKRoomInspectionType; |
||
602 | } |
||
603 | |||
604 | /** |
||
605 | * @param int $HSKRoomInspectionType |
||
606 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
607 | */ |
||
608 | public function setHSKRoomInspectionType($HSKRoomInspectionType) |
||
609 | { |
||
610 | $this->HSKRoomInspectionType = $HSKRoomInspectionType; |
||
611 | return $this; |
||
612 | } |
||
613 | |||
614 | /** |
||
615 | * @return boolean |
||
616 | */ |
||
617 | public function getIsHSKRoomOccupied() |
||
618 | { |
||
619 | return $this->IsHSKRoomOccupied; |
||
620 | } |
||
621 | |||
622 | /** |
||
623 | * @param boolean $IsHSKRoomOccupied |
||
624 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
625 | */ |
||
626 | public function setIsHSKRoomOccupied($IsHSKRoomOccupied) |
||
627 | { |
||
628 | $this->IsHSKRoomOccupied = $IsHSKRoomOccupied; |
||
629 | return $this; |
||
630 | } |
||
631 | |||
632 | /** |
||
633 | * @return int |
||
634 | */ |
||
635 | public function getID_Member() |
||
636 | { |
||
637 | return $this->ID_Member; |
||
638 | } |
||
639 | |||
640 | /** |
||
641 | * @param int $ID_Member |
||
642 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
643 | */ |
||
644 | public function setID_Member($ID_Member) |
||
645 | { |
||
646 | $this->ID_Member = $ID_Member; |
||
647 | return $this; |
||
648 | } |
||
649 | |||
650 | /** |
||
651 | * @return int |
||
652 | */ |
||
653 | public function getID_Admin() |
||
654 | { |
||
655 | return $this->ID_Admin; |
||
656 | } |
||
657 | |||
658 | /** |
||
659 | * @param int $ID_Admin |
||
660 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
661 | */ |
||
662 | public function setID_Admin($ID_Admin) |
||
663 | { |
||
664 | $this->ID_Admin = $ID_Admin; |
||
665 | return $this; |
||
666 | } |
||
667 | |||
668 | /** |
||
669 | * @return int |
||
670 | */ |
||
671 | public function getID_CondoOwner() |
||
672 | { |
||
673 | return $this->ID_CondoOwner; |
||
674 | } |
||
675 | |||
676 | /** |
||
677 | * @param int $ID_CondoOwner |
||
678 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
679 | */ |
||
680 | public function setID_CondoOwner($ID_CondoOwner) |
||
681 | { |
||
682 | $this->ID_CondoOwner = $ID_CondoOwner; |
||
683 | return $this; |
||
684 | } |
||
685 | |||
686 | /** |
||
687 | * @return \DateTime |
||
688 | */ |
||
689 | public function getSystemCreationDate() |
||
690 | { |
||
691 | if ($this->SystemCreationDate == null) { |
||
692 | return null; |
||
693 | } else { |
||
694 | try { |
||
695 | return new \DateTime($this->SystemCreationDate); |
||
696 | } catch (\Exception $e) { |
||
697 | return false; |
||
698 | } |
||
699 | } |
||
700 | } |
||
701 | |||
702 | /** |
||
703 | * @param \DateTime $SystemCreationDate |
||
704 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
705 | */ |
||
706 | public function setSystemCreationDate(\DateTime $SystemCreationDate) |
||
707 | { |
||
708 | $this->SystemCreationDate = $SystemCreationDate->format(\DateTime::ATOM); |
||
0 ignored issues
–
show
It seems like
$SystemCreationDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $SystemCreationDate .
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 float |
||
714 | */ |
||
715 | public function getStayValue() |
||
716 | { |
||
717 | return $this->StayValue; |
||
718 | } |
||
719 | |||
720 | /** |
||
721 | * @param float $StayValue |
||
722 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
723 | */ |
||
724 | public function setStayValue($StayValue) |
||
725 | { |
||
726 | $this->StayValue = $StayValue; |
||
727 | return $this; |
||
728 | } |
||
729 | |||
730 | /** |
||
731 | * @return float |
||
732 | */ |
||
733 | public function getGrossRevenue() |
||
734 | { |
||
735 | return $this->GrossRevenue; |
||
736 | } |
||
737 | |||
738 | /** |
||
739 | * @param float $GrossRevenue |
||
740 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
741 | */ |
||
742 | public function setGrossRevenue($GrossRevenue) |
||
743 | { |
||
744 | $this->GrossRevenue = $GrossRevenue; |
||
745 | return $this; |
||
746 | } |
||
747 | |||
748 | /** |
||
749 | * @return boolean |
||
750 | */ |
||
751 | public function getIsInternalReferal() |
||
752 | { |
||
753 | return $this->IsInternalReferal; |
||
754 | } |
||
755 | |||
756 | /** |
||
757 | * @param boolean $IsInternalReferal |
||
758 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
759 | */ |
||
760 | public function setIsInternalReferal($IsInternalReferal) |
||
761 | { |
||
762 | $this->IsInternalReferal = $IsInternalReferal; |
||
763 | return $this; |
||
764 | } |
||
765 | |||
766 | /** |
||
767 | * @return int |
||
768 | */ |
||
769 | public function getID_Referal() |
||
770 | { |
||
771 | return $this->ID_Referal; |
||
772 | } |
||
773 | |||
774 | /** |
||
775 | * @param int $ID_Referal |
||
776 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
777 | */ |
||
778 | public function setID_Referal($ID_Referal) |
||
779 | { |
||
780 | $this->ID_Referal = $ID_Referal; |
||
781 | return $this; |
||
782 | } |
||
783 | |||
784 | /** |
||
785 | * @return boolean |
||
786 | */ |
||
787 | public function getIsRBO() |
||
788 | { |
||
789 | return $this->IsRBO; |
||
790 | } |
||
791 | |||
792 | /** |
||
793 | * @param boolean $IsRBO |
||
794 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
795 | */ |
||
796 | public function setIsRBO($IsRBO) |
||
797 | { |
||
798 | $this->IsRBO = $IsRBO; |
||
799 | return $this; |
||
800 | } |
||
801 | |||
802 | /** |
||
803 | * @return string |
||
804 | */ |
||
805 | public function getRateCodeName() |
||
806 | { |
||
807 | return $this->RateCodeName; |
||
808 | } |
||
809 | |||
810 | /** |
||
811 | * @param string $RateCodeName |
||
812 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
813 | */ |
||
814 | public function setRateCodeName($RateCodeName) |
||
815 | { |
||
816 | $this->RateCodeName = $RateCodeName; |
||
817 | return $this; |
||
818 | } |
||
819 | |||
820 | /** |
||
821 | * @return float |
||
822 | */ |
||
823 | public function getGrossRevenueTotal() |
||
824 | { |
||
825 | return $this->GrossRevenueTotal; |
||
826 | } |
||
827 | |||
828 | /** |
||
829 | * @param float $GrossRevenueTotal |
||
830 | * @return \Gueststream\PMS\IQWare\API\OwnerReservations |
||
831 | */ |
||
832 | public function setGrossRevenueTotal($GrossRevenueTotal) |
||
833 | { |
||
834 | $this->GrossRevenueTotal = $GrossRevenueTotal; |
||
835 | return $this; |
||
836 | } |
||
837 | } |
||
838 |
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..