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 cReservation |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var int $AccountNo |
||
10 | */ |
||
11 | protected $AccountNo = null; |
||
12 | |||
13 | /** |
||
14 | * @var TAccountStatus $AccountStatusType |
||
15 | */ |
||
16 | protected $AccountStatusType = null; |
||
17 | |||
18 | /** |
||
19 | * @var int $NumberOfGuests |
||
20 | */ |
||
21 | protected $NumberOfGuests = null; |
||
22 | |||
23 | /** |
||
24 | * @var \DateTime $ArrivalDate |
||
25 | */ |
||
26 | protected $ArrivalDate = null; |
||
27 | |||
28 | /** |
||
29 | * @var \DateTime $DepartureDate |
||
30 | */ |
||
31 | protected $DepartureDate = null; |
||
32 | |||
33 | /** |
||
34 | * @var int $ID_MarketSegment |
||
35 | */ |
||
36 | protected $ID_MarketSegment = null; |
||
37 | |||
38 | /** |
||
39 | * @var string $CrsNo |
||
40 | */ |
||
41 | protected $CrsNo = null; |
||
42 | |||
43 | /** |
||
44 | * @var TCRSBookingType $CrsBookingType |
||
45 | */ |
||
46 | protected $CrsBookingType = null; |
||
47 | |||
48 | /** |
||
49 | * @var TSBDManualType $ManualRateType |
||
50 | */ |
||
51 | protected $ManualRateType = null; |
||
52 | |||
53 | /** |
||
54 | * @var int $ID_RateCode |
||
55 | */ |
||
56 | protected $ID_RateCode = null; |
||
57 | |||
58 | /** |
||
59 | * @var float $ManualRate |
||
60 | */ |
||
61 | protected $ManualRate = null; |
||
62 | |||
63 | /** |
||
64 | * @var int $ID_ManualRateReason |
||
65 | */ |
||
66 | protected $ID_ManualRateReason = null; |
||
67 | |||
68 | /** |
||
69 | * @var int $ID_RoomType |
||
70 | */ |
||
71 | protected $ID_RoomType = null; |
||
72 | |||
73 | /** |
||
74 | * @var int $ID_Accomodation |
||
75 | */ |
||
76 | protected $ID_Accomodation = null; |
||
77 | |||
78 | /** |
||
79 | * @var ArrayOfInt $ChildrenAges |
||
80 | */ |
||
81 | protected $ChildrenAges = null; |
||
82 | |||
83 | /** |
||
84 | * @var ArrayOfInt $AttributesCode |
||
85 | */ |
||
86 | protected $AttributesCode = null; |
||
87 | |||
88 | /** |
||
89 | * @var ArrayOfInt $LocalizationsCode |
||
90 | */ |
||
91 | protected $LocalizationsCode = null; |
||
92 | |||
93 | /** |
||
94 | * @var ArrayOfInt $SpecialRequest |
||
95 | */ |
||
96 | protected $SpecialRequest = null; |
||
97 | |||
98 | /** |
||
99 | * @var cAccount $Account |
||
100 | */ |
||
101 | protected $Account = null; |
||
102 | |||
103 | /** |
||
104 | * @var cProfil $Profil |
||
105 | */ |
||
106 | protected $Profil = null; |
||
107 | |||
108 | /** |
||
109 | * @var cInfo $Info |
||
110 | */ |
||
111 | protected $Info = null; |
||
112 | |||
113 | /** |
||
114 | * @var cAddresses $Addresses |
||
115 | */ |
||
116 | protected $Addresses = null; |
||
117 | |||
118 | /** |
||
119 | * @var cReservationLinks $Links |
||
120 | */ |
||
121 | protected $Links = null; |
||
122 | |||
123 | /** |
||
124 | * @var ArrayOfCElement $PackageElements |
||
125 | */ |
||
126 | protected $PackageElements = null; |
||
127 | |||
128 | /** |
||
129 | * @var ArrayOfCElement $ElementsALaCarte |
||
130 | */ |
||
131 | protected $ElementsALaCarte = null; |
||
132 | |||
133 | /** |
||
134 | * @var cStayValue $StayValue |
||
135 | */ |
||
136 | protected $StayValue = null; |
||
137 | |||
138 | /** |
||
139 | * @var ArrayOfCRateDaily $DailyRates |
||
140 | */ |
||
141 | protected $DailyRates = null; |
||
142 | |||
143 | /** |
||
144 | * @var ArrayOfCManualRateDaily $DailyManualRates |
||
145 | */ |
||
146 | protected $DailyManualRates = null; |
||
147 | |||
148 | /** |
||
149 | * @var cReservationShare $Share |
||
150 | */ |
||
151 | protected $Share = null; |
||
152 | |||
153 | /** |
||
154 | * @var ArrayOfCPersonCountDaily $DailyPersonCount |
||
155 | */ |
||
156 | protected $DailyPersonCount = null; |
||
157 | |||
158 | /** |
||
159 | * @var ArrayOfCServiceChargeALaCarte $PackageServiceCharges |
||
160 | */ |
||
161 | protected $PackageServiceCharges = null; |
||
162 | |||
163 | /** |
||
164 | * @var ArrayOfCServiceChargeALaCarte $ServiceChargesALaCarte |
||
165 | */ |
||
166 | protected $ServiceChargesALaCarte = null; |
||
167 | |||
168 | /** |
||
169 | * @var ArrayOfCGolfItems $GolfItems |
||
170 | */ |
||
171 | protected $GolfItems = null; |
||
172 | |||
173 | /** |
||
174 | * @var ArrayOfCComments $Comments |
||
175 | */ |
||
176 | protected $Comments = null; |
||
177 | |||
178 | /** |
||
179 | * @param int $AccountNo |
||
180 | * @param TAccountStatus $AccountStatusType |
||
181 | * @param int $NumberOfGuests |
||
182 | * @param \DateTime $ArrivalDate |
||
183 | * @param \DateTime $DepartureDate |
||
184 | * @param int $ID_MarketSegment |
||
185 | * @param TCRSBookingType $CrsBookingType |
||
186 | * @param TSBDManualType $ManualRateType |
||
187 | * @param int $ID_RateCode |
||
188 | * @param float $ManualRate |
||
189 | * @param int $ID_ManualRateReason |
||
190 | * @param int $ID_RoomType |
||
191 | * @param int $ID_Accomodation |
||
192 | */ |
||
193 | View Code Duplication | public function __construct($AccountNo, $AccountStatusType, $NumberOfGuests, \DateTime $ArrivalDate, \DateTime $DepartureDate, $ID_MarketSegment, $CrsBookingType, $ManualRateType, $ID_RateCode, $ManualRate, $ID_ManualRateReason, $ID_RoomType, $ID_Accomodation) |
|
0 ignored issues
–
show
|
|||
194 | { |
||
195 | $this->AccountNo = $AccountNo; |
||
196 | $this->AccountStatusType = $AccountStatusType; |
||
197 | $this->NumberOfGuests = $NumberOfGuests; |
||
198 | $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.. ![]() |
|||
199 | $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.. ![]() |
|||
200 | $this->ID_MarketSegment = $ID_MarketSegment; |
||
201 | $this->CrsBookingType = $CrsBookingType; |
||
202 | $this->ManualRateType = $ManualRateType; |
||
203 | $this->ID_RateCode = $ID_RateCode; |
||
204 | $this->ManualRate = $ManualRate; |
||
205 | $this->ID_ManualRateReason = $ID_ManualRateReason; |
||
206 | $this->ID_RoomType = $ID_RoomType; |
||
207 | $this->ID_Accomodation = $ID_Accomodation; |
||
208 | } |
||
209 | |||
210 | /** |
||
211 | * @return int |
||
212 | */ |
||
213 | public function getAccountNo() |
||
214 | { |
||
215 | return $this->AccountNo; |
||
216 | } |
||
217 | |||
218 | /** |
||
219 | * @param int $AccountNo |
||
220 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
221 | */ |
||
222 | public function setAccountNo($AccountNo) |
||
223 | { |
||
224 | $this->AccountNo = $AccountNo; |
||
225 | return $this; |
||
226 | } |
||
227 | |||
228 | /** |
||
229 | * @return TAccountStatus |
||
230 | */ |
||
231 | public function getAccountStatusType() |
||
232 | { |
||
233 | return $this->AccountStatusType; |
||
234 | } |
||
235 | |||
236 | /** |
||
237 | * @param TAccountStatus $AccountStatusType |
||
238 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
239 | */ |
||
240 | public function setAccountStatusType($AccountStatusType) |
||
241 | { |
||
242 | $this->AccountStatusType = $AccountStatusType; |
||
243 | return $this; |
||
244 | } |
||
245 | |||
246 | /** |
||
247 | * @return int |
||
248 | */ |
||
249 | public function getNumberOfGuests() |
||
250 | { |
||
251 | return $this->NumberOfGuests; |
||
252 | } |
||
253 | |||
254 | /** |
||
255 | * @param int $NumberOfGuests |
||
256 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
257 | */ |
||
258 | public function setNumberOfGuests($NumberOfGuests) |
||
259 | { |
||
260 | $this->NumberOfGuests = $NumberOfGuests; |
||
261 | return $this; |
||
262 | } |
||
263 | |||
264 | /** |
||
265 | * @return \DateTime |
||
266 | */ |
||
267 | public function getArrivalDate() |
||
268 | { |
||
269 | if ($this->ArrivalDate == null) { |
||
270 | return null; |
||
271 | } else { |
||
272 | try { |
||
273 | return new \DateTime($this->ArrivalDate); |
||
274 | } catch (\Exception $e) { |
||
275 | return false; |
||
276 | } |
||
277 | } |
||
278 | } |
||
279 | |||
280 | /** |
||
281 | * @param \DateTime $ArrivalDate |
||
282 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
283 | */ |
||
284 | public function setArrivalDate(\DateTime $ArrivalDate) |
||
285 | { |
||
286 | $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.. ![]() |
|||
287 | return $this; |
||
288 | } |
||
289 | |||
290 | /** |
||
291 | * @return \DateTime |
||
292 | */ |
||
293 | public function getDepartureDate() |
||
294 | { |
||
295 | if ($this->DepartureDate == null) { |
||
296 | return null; |
||
297 | } else { |
||
298 | try { |
||
299 | return new \DateTime($this->DepartureDate); |
||
300 | } catch (\Exception $e) { |
||
301 | return false; |
||
302 | } |
||
303 | } |
||
304 | } |
||
305 | |||
306 | /** |
||
307 | * @param \DateTime $DepartureDate |
||
308 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
309 | */ |
||
310 | public function setDepartureDate(\DateTime $DepartureDate) |
||
311 | { |
||
312 | $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.. ![]() |
|||
313 | return $this; |
||
314 | } |
||
315 | |||
316 | /** |
||
317 | * @return int |
||
318 | */ |
||
319 | public function getID_MarketSegment() |
||
320 | { |
||
321 | return $this->ID_MarketSegment; |
||
322 | } |
||
323 | |||
324 | /** |
||
325 | * @param int $ID_MarketSegment |
||
326 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
327 | */ |
||
328 | public function setID_MarketSegment($ID_MarketSegment) |
||
329 | { |
||
330 | $this->ID_MarketSegment = $ID_MarketSegment; |
||
331 | return $this; |
||
332 | } |
||
333 | |||
334 | /** |
||
335 | * @return string |
||
336 | */ |
||
337 | public function getCrsNo() |
||
338 | { |
||
339 | return $this->CrsNo; |
||
340 | } |
||
341 | |||
342 | /** |
||
343 | * @param string $CrsNo |
||
344 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
345 | */ |
||
346 | public function setCrsNo($CrsNo) |
||
347 | { |
||
348 | $this->CrsNo = $CrsNo; |
||
349 | return $this; |
||
350 | } |
||
351 | |||
352 | /** |
||
353 | * @return TCRSBookingType |
||
354 | */ |
||
355 | public function getCrsBookingType() |
||
356 | { |
||
357 | return $this->CrsBookingType; |
||
358 | } |
||
359 | |||
360 | /** |
||
361 | * @param TCRSBookingType $CrsBookingType |
||
362 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
363 | */ |
||
364 | public function setCrsBookingType($CrsBookingType) |
||
365 | { |
||
366 | $this->CrsBookingType = $CrsBookingType; |
||
367 | return $this; |
||
368 | } |
||
369 | |||
370 | /** |
||
371 | * @return TSBDManualType |
||
372 | */ |
||
373 | public function getManualRateType() |
||
374 | { |
||
375 | return $this->ManualRateType; |
||
376 | } |
||
377 | |||
378 | /** |
||
379 | * @param TSBDManualType $ManualRateType |
||
380 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
381 | */ |
||
382 | public function setManualRateType($ManualRateType) |
||
383 | { |
||
384 | $this->ManualRateType = $ManualRateType; |
||
385 | return $this; |
||
386 | } |
||
387 | |||
388 | /** |
||
389 | * @return int |
||
390 | */ |
||
391 | public function getID_RateCode() |
||
392 | { |
||
393 | return $this->ID_RateCode; |
||
394 | } |
||
395 | |||
396 | /** |
||
397 | * @param int $ID_RateCode |
||
398 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
399 | */ |
||
400 | public function setID_RateCode($ID_RateCode) |
||
401 | { |
||
402 | $this->ID_RateCode = $ID_RateCode; |
||
403 | return $this; |
||
404 | } |
||
405 | |||
406 | /** |
||
407 | * @return float |
||
408 | */ |
||
409 | public function getManualRate() |
||
410 | { |
||
411 | return $this->ManualRate; |
||
412 | } |
||
413 | |||
414 | /** |
||
415 | * @param float $ManualRate |
||
416 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
417 | */ |
||
418 | public function setManualRate($ManualRate) |
||
419 | { |
||
420 | $this->ManualRate = $ManualRate; |
||
421 | return $this; |
||
422 | } |
||
423 | |||
424 | /** |
||
425 | * @return int |
||
426 | */ |
||
427 | public function getID_ManualRateReason() |
||
428 | { |
||
429 | return $this->ID_ManualRateReason; |
||
430 | } |
||
431 | |||
432 | /** |
||
433 | * @param int $ID_ManualRateReason |
||
434 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
435 | */ |
||
436 | public function setID_ManualRateReason($ID_ManualRateReason) |
||
437 | { |
||
438 | $this->ID_ManualRateReason = $ID_ManualRateReason; |
||
439 | return $this; |
||
440 | } |
||
441 | |||
442 | /** |
||
443 | * @return int |
||
444 | */ |
||
445 | public function getID_RoomType() |
||
446 | { |
||
447 | return $this->ID_RoomType; |
||
448 | } |
||
449 | |||
450 | /** |
||
451 | * @param int $ID_RoomType |
||
452 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
453 | */ |
||
454 | public function setID_RoomType($ID_RoomType) |
||
455 | { |
||
456 | $this->ID_RoomType = $ID_RoomType; |
||
457 | return $this; |
||
458 | } |
||
459 | |||
460 | /** |
||
461 | * @return int |
||
462 | */ |
||
463 | public function getID_Accomodation() |
||
464 | { |
||
465 | return $this->ID_Accomodation; |
||
466 | } |
||
467 | |||
468 | /** |
||
469 | * @param int $ID_Accomodation |
||
470 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
471 | */ |
||
472 | public function setID_Accomodation($ID_Accomodation) |
||
473 | { |
||
474 | $this->ID_Accomodation = $ID_Accomodation; |
||
475 | return $this; |
||
476 | } |
||
477 | |||
478 | /** |
||
479 | * @return ArrayOfInt |
||
480 | */ |
||
481 | public function getChildrenAges() |
||
482 | { |
||
483 | return $this->ChildrenAges; |
||
484 | } |
||
485 | |||
486 | /** |
||
487 | * @param ArrayOfInt $ChildrenAges |
||
488 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
489 | */ |
||
490 | public function setChildrenAges($ChildrenAges) |
||
491 | { |
||
492 | $this->ChildrenAges = $ChildrenAges; |
||
493 | return $this; |
||
494 | } |
||
495 | |||
496 | /** |
||
497 | * @return ArrayOfInt |
||
498 | */ |
||
499 | public function getAttributesCode() |
||
500 | { |
||
501 | return $this->AttributesCode; |
||
502 | } |
||
503 | |||
504 | /** |
||
505 | * @param ArrayOfInt $AttributesCode |
||
506 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
507 | */ |
||
508 | public function setAttributesCode($AttributesCode) |
||
509 | { |
||
510 | $this->AttributesCode = $AttributesCode; |
||
511 | return $this; |
||
512 | } |
||
513 | |||
514 | /** |
||
515 | * @return ArrayOfInt |
||
516 | */ |
||
517 | public function getLocalizationsCode() |
||
518 | { |
||
519 | return $this->LocalizationsCode; |
||
520 | } |
||
521 | |||
522 | /** |
||
523 | * @param ArrayOfInt $LocalizationsCode |
||
524 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
525 | */ |
||
526 | public function setLocalizationsCode($LocalizationsCode) |
||
527 | { |
||
528 | $this->LocalizationsCode = $LocalizationsCode; |
||
529 | return $this; |
||
530 | } |
||
531 | |||
532 | /** |
||
533 | * @return ArrayOfInt |
||
534 | */ |
||
535 | public function getSpecialRequest() |
||
536 | { |
||
537 | return $this->SpecialRequest; |
||
538 | } |
||
539 | |||
540 | /** |
||
541 | * @param ArrayOfInt $SpecialRequest |
||
542 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
543 | */ |
||
544 | public function setSpecialRequest($SpecialRequest) |
||
545 | { |
||
546 | $this->SpecialRequest = $SpecialRequest; |
||
547 | return $this; |
||
548 | } |
||
549 | |||
550 | /** |
||
551 | * @return cAccount |
||
552 | */ |
||
553 | public function getAccount() |
||
554 | { |
||
555 | return $this->Account; |
||
556 | } |
||
557 | |||
558 | /** |
||
559 | * @param cAccount $Account |
||
560 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
561 | */ |
||
562 | public function setAccount($Account) |
||
563 | { |
||
564 | $this->Account = $Account; |
||
565 | return $this; |
||
566 | } |
||
567 | |||
568 | /** |
||
569 | * @return cProfil |
||
570 | */ |
||
571 | public function getProfil() |
||
572 | { |
||
573 | return $this->Profil; |
||
574 | } |
||
575 | |||
576 | /** |
||
577 | * @param cProfil $Profil |
||
578 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
579 | */ |
||
580 | public function setProfil($Profil) |
||
581 | { |
||
582 | $this->Profil = $Profil; |
||
583 | return $this; |
||
584 | } |
||
585 | |||
586 | /** |
||
587 | * @return cInfo |
||
588 | */ |
||
589 | public function getInfo() |
||
590 | { |
||
591 | return $this->Info; |
||
592 | } |
||
593 | |||
594 | /** |
||
595 | * @param cInfo $Info |
||
596 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
597 | */ |
||
598 | public function setInfo($Info) |
||
599 | { |
||
600 | $this->Info = $Info; |
||
601 | return $this; |
||
602 | } |
||
603 | |||
604 | /** |
||
605 | * @return cAddresses |
||
606 | */ |
||
607 | public function getAddresses() |
||
608 | { |
||
609 | return $this->Addresses; |
||
610 | } |
||
611 | |||
612 | /** |
||
613 | * @param cAddresses $Addresses |
||
614 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
615 | */ |
||
616 | public function setAddresses($Addresses) |
||
617 | { |
||
618 | $this->Addresses = $Addresses; |
||
619 | return $this; |
||
620 | } |
||
621 | |||
622 | /** |
||
623 | * @return cReservationLinks |
||
624 | */ |
||
625 | public function getLinks() |
||
626 | { |
||
627 | return $this->Links; |
||
628 | } |
||
629 | |||
630 | /** |
||
631 | * @param cReservationLinks $Links |
||
632 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
633 | */ |
||
634 | public function setLinks($Links) |
||
635 | { |
||
636 | $this->Links = $Links; |
||
637 | return $this; |
||
638 | } |
||
639 | |||
640 | /** |
||
641 | * @return ArrayOfCElement |
||
642 | */ |
||
643 | public function getPackageElements() |
||
644 | { |
||
645 | return $this->PackageElements; |
||
646 | } |
||
647 | |||
648 | /** |
||
649 | * @param ArrayOfCElement $PackageElements |
||
650 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
651 | */ |
||
652 | public function setPackageElements($PackageElements) |
||
653 | { |
||
654 | $this->PackageElements = $PackageElements; |
||
655 | return $this; |
||
656 | } |
||
657 | |||
658 | /** |
||
659 | * @return ArrayOfCElement |
||
660 | */ |
||
661 | public function getElementsALaCarte() |
||
662 | { |
||
663 | return $this->ElementsALaCarte; |
||
664 | } |
||
665 | |||
666 | /** |
||
667 | * @param ArrayOfCElement $ElementsALaCarte |
||
668 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
669 | */ |
||
670 | public function setElementsALaCarte($ElementsALaCarte) |
||
671 | { |
||
672 | $this->ElementsALaCarte = $ElementsALaCarte; |
||
673 | return $this; |
||
674 | } |
||
675 | |||
676 | /** |
||
677 | * @return cStayValue |
||
678 | */ |
||
679 | public function getStayValue() |
||
680 | { |
||
681 | return $this->StayValue; |
||
682 | } |
||
683 | |||
684 | /** |
||
685 | * @param cStayValue $StayValue |
||
686 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
687 | */ |
||
688 | public function setStayValue($StayValue) |
||
689 | { |
||
690 | $this->StayValue = $StayValue; |
||
691 | return $this; |
||
692 | } |
||
693 | |||
694 | /** |
||
695 | * @return ArrayOfCRateDaily |
||
696 | */ |
||
697 | public function getDailyRates() |
||
698 | { |
||
699 | return $this->DailyRates; |
||
700 | } |
||
701 | |||
702 | /** |
||
703 | * @param ArrayOfCRateDaily $DailyRates |
||
704 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
705 | */ |
||
706 | public function setDailyRates($DailyRates) |
||
707 | { |
||
708 | $this->DailyRates = $DailyRates; |
||
709 | return $this; |
||
710 | } |
||
711 | |||
712 | /** |
||
713 | * @return ArrayOfCManualRateDaily |
||
714 | */ |
||
715 | public function getDailyManualRates() |
||
716 | { |
||
717 | return $this->DailyManualRates; |
||
718 | } |
||
719 | |||
720 | /** |
||
721 | * @param ArrayOfCManualRateDaily $DailyManualRates |
||
722 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
723 | */ |
||
724 | public function setDailyManualRates($DailyManualRates) |
||
725 | { |
||
726 | $this->DailyManualRates = $DailyManualRates; |
||
727 | return $this; |
||
728 | } |
||
729 | |||
730 | /** |
||
731 | * @return cReservationShare |
||
732 | */ |
||
733 | public function getShare() |
||
734 | { |
||
735 | return $this->Share; |
||
736 | } |
||
737 | |||
738 | /** |
||
739 | * @param cReservationShare $Share |
||
740 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
741 | */ |
||
742 | public function setShare($Share) |
||
743 | { |
||
744 | $this->Share = $Share; |
||
745 | return $this; |
||
746 | } |
||
747 | |||
748 | /** |
||
749 | * @return ArrayOfCPersonCountDaily |
||
750 | */ |
||
751 | public function getDailyPersonCount() |
||
752 | { |
||
753 | return $this->DailyPersonCount; |
||
754 | } |
||
755 | |||
756 | /** |
||
757 | * @param ArrayOfCPersonCountDaily $DailyPersonCount |
||
758 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
759 | */ |
||
760 | public function setDailyPersonCount($DailyPersonCount) |
||
761 | { |
||
762 | $this->DailyPersonCount = $DailyPersonCount; |
||
763 | return $this; |
||
764 | } |
||
765 | |||
766 | /** |
||
767 | * @return ArrayOfCServiceChargeALaCarte |
||
768 | */ |
||
769 | public function getPackageServiceCharges() |
||
770 | { |
||
771 | return $this->PackageServiceCharges; |
||
772 | } |
||
773 | |||
774 | /** |
||
775 | * @param ArrayOfCServiceChargeALaCarte $PackageServiceCharges |
||
776 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
777 | */ |
||
778 | public function setPackageServiceCharges($PackageServiceCharges) |
||
779 | { |
||
780 | $this->PackageServiceCharges = $PackageServiceCharges; |
||
781 | return $this; |
||
782 | } |
||
783 | |||
784 | /** |
||
785 | * @return ArrayOfCServiceChargeALaCarte |
||
786 | */ |
||
787 | public function getServiceChargesALaCarte() |
||
788 | { |
||
789 | return $this->ServiceChargesALaCarte; |
||
790 | } |
||
791 | |||
792 | /** |
||
793 | * @param ArrayOfCServiceChargeALaCarte $ServiceChargesALaCarte |
||
794 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
795 | */ |
||
796 | public function setServiceChargesALaCarte($ServiceChargesALaCarte) |
||
797 | { |
||
798 | $this->ServiceChargesALaCarte = $ServiceChargesALaCarte; |
||
799 | return $this; |
||
800 | } |
||
801 | |||
802 | /** |
||
803 | * @return ArrayOfCGolfItems |
||
804 | */ |
||
805 | public function getGolfItems() |
||
806 | { |
||
807 | return $this->GolfItems; |
||
808 | } |
||
809 | |||
810 | /** |
||
811 | * @param ArrayOfCGolfItems $GolfItems |
||
812 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
813 | */ |
||
814 | public function setGolfItems($GolfItems) |
||
815 | { |
||
816 | $this->GolfItems = $GolfItems; |
||
817 | return $this; |
||
818 | } |
||
819 | |||
820 | /** |
||
821 | * @return ArrayOfCComments |
||
822 | */ |
||
823 | public function getComments() |
||
824 | { |
||
825 | return $this->Comments; |
||
826 | } |
||
827 | |||
828 | /** |
||
829 | * @param ArrayOfCComments $Comments |
||
830 | * @return \Gueststream\PMS\IQWare\API\cReservation |
||
831 | */ |
||
832 | public function setComments($Comments) |
||
833 | { |
||
834 | $this->Comments = $Comments; |
||
835 | return $this; |
||
836 | } |
||
837 | } |
||
838 |
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.