Issues (1169)

Security Analysis    no request data  

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/API/SaveReservationBackToBack.php (7 issues)

Upgrade to new PHP Analysis Engine

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 View Code Duplication
class SaveReservationBackToBack
0 ignored issues
show
This class seems to be duplicated in your project.

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.

Loading history...
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 IAB2BMode $BackToBackMode
240
     */
241
    protected $BackToBackMode = null;
242
243
    /**
244
     * @var boolean $IsApplySpecialOffers
245
     */
246
    protected $IsApplySpecialOffers = null;
247
248
    /**
249
     * @var int $intBusinessSourceID
250
     */
251
    protected $intBusinessSourceID = null;
252
253
    /**
254
     * @var dstServicesChargesALaCarte $dstServicesChargesALaCarte
255
     */
256
    protected $dstServicesChargesALaCarte = null;
257
258
    /**
259
     * @var int $intSuiteConfigurationID
260
     */
261
    protected $intSuiteConfigurationID = null;
262
263
    /**
264
     * @param int $intGUID
265
     * @param string $strISOLanguage
266
     * @param string $strFirstName
267
     * @param string $strLastName
268
     * @param string $strCompany
269
     * @param string $strAddress1
270
     * @param string $strAddress2
271
     * @param string $strCity
272
     * @param string $strState
273
     * @param string $strCountry
274
     * @param string $strZip
275
     * @param string $strPhone
276
     * @param string $strEmail
277
     * @param int $intCCType
278
     * @param string $strCCNumber
279
     * @param \DateTime $dtCCExp
280
     * @param \DateTime $dtArrivalDate
281
     * @param \DateTime $dtDepartureDate
282
     * @param int $intGuestCount
283
     * @param string $strChildren
284
     * @param int $intRateID
285
     * @param int $intRoomTypeID
286
     * @param int $intPromoPushID
287
     * @param int $intPromoCodeID
288
     * @param string $strAttributes
289
     * @param string $strLocations
290
     * @param string $strSpecialRequests
291
     * @param string $strActivityStructure
292
     * @param int $intRoomQty
293
     * @param dstElements $dstElements
294
     * @param int $intTANo
295
     * @param string $strIATANo
296
     * @param int $intMemNo
297
     * @param dstGolfPackageItems $dstGolfPackageItems
298
     * @param int $intCondoOwnerId
299
     * @param int $intRoomId
300
     * @param int $intBookingCondoType
301
     * @param boolean $IsInsuranceAccepted
302
     * @param int $intBuildingID
303
     * @param string $strTokenGuid
304
     * @param string $ELMMarketingSource
305
     * @param string $DayOfBirth
306
     * @param string $MonthOfBirth
307
     * @param string $YearOfBirth
308
     * @param string $strComments
309
     * @param boolean $IsPaidByFOO
310
     * @param IAB2BMode $BackToBackMode
311
     * @param boolean $IsApplySpecialOffers
312
     * @param int $intBusinessSourceID
313
     * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte
314
     * @param int $intSuiteConfigurationID
315
     */
316
    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, $BackToBackMode, $IsApplySpecialOffers, $intBusinessSourceID, $dstServicesChargesALaCarte, $intSuiteConfigurationID)
317
    {
318
        $this->intGUID = $intGUID;
319
        $this->strISOLanguage = $strISOLanguage;
320
        $this->strFirstName = $strFirstName;
321
        $this->strLastName = $strLastName;
322
        $this->strCompany = $strCompany;
323
        $this->strAddress1 = $strAddress1;
324
        $this->strAddress2 = $strAddress2;
325
        $this->strCity = $strCity;
326
        $this->strState = $strState;
327
        $this->strCountry = $strCountry;
328
        $this->strZip = $strZip;
329
        $this->strPhone = $strPhone;
330
        $this->strEmail = $strEmail;
331
        $this->intCCType = $intCCType;
332
        $this->strCCNumber = $strCCNumber;
333
        $this->dtCCExp = $dtCCExp->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
334
        $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
335
        $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
336
        $this->intGuestCount = $intGuestCount;
337
        $this->strChildren = $strChildren;
338
        $this->intRateID = $intRateID;
339
        $this->intRoomTypeID = $intRoomTypeID;
340
        $this->intPromoPushID = $intPromoPushID;
341
        $this->intPromoCodeID = $intPromoCodeID;
342
        $this->strAttributes = $strAttributes;
343
        $this->strLocations = $strLocations;
344
        $this->strSpecialRequests = $strSpecialRequests;
345
        $this->strActivityStructure = $strActivityStructure;
346
        $this->intRoomQty = $intRoomQty;
347
        $this->dstElements = $dstElements;
348
        $this->intTANo = $intTANo;
349
        $this->strIATANo = $strIATANo;
350
        $this->intMemNo = $intMemNo;
351
        $this->dstGolfPackageItems = $dstGolfPackageItems;
352
        $this->intCondoOwnerId = $intCondoOwnerId;
353
        $this->intRoomId = $intRoomId;
354
        $this->intBookingCondoType = $intBookingCondoType;
355
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
356
        $this->intBuildingID = $intBuildingID;
357
        $this->strTokenGuid = $strTokenGuid;
358
        $this->ELMMarketingSource = $ELMMarketingSource;
359
        $this->DayOfBirth = $DayOfBirth;
360
        $this->MonthOfBirth = $MonthOfBirth;
361
        $this->YearOfBirth = $YearOfBirth;
362
        $this->strComments = $strComments;
363
        $this->IsPaidByFOO = $IsPaidByFOO;
364
        $this->BackToBackMode = $BackToBackMode;
365
        $this->IsApplySpecialOffers = $IsApplySpecialOffers;
366
        $this->intBusinessSourceID = $intBusinessSourceID;
367
        $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte;
368
        $this->intSuiteConfigurationID = $intSuiteConfigurationID;
369
    }
370
371
    /**
372
     * @return int
373
     */
374
    public function getIntGUID()
375
    {
376
        return $this->intGUID;
377
    }
378
379
    /**
380
     * @param int $intGUID
381
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
382
     */
383
    public function setIntGUID($intGUID)
384
    {
385
        $this->intGUID = $intGUID;
386
        return $this;
387
    }
388
389
    /**
390
     * @return string
391
     */
392
    public function getStrISOLanguage()
393
    {
394
        return $this->strISOLanguage;
395
    }
396
397
    /**
398
     * @param string $strISOLanguage
399
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
400
     */
401
    public function setStrISOLanguage($strISOLanguage)
402
    {
403
        $this->strISOLanguage = $strISOLanguage;
404
        return $this;
405
    }
406
407
    /**
408
     * @return string
409
     */
410
    public function getStrFirstName()
411
    {
412
        return $this->strFirstName;
413
    }
414
415
    /**
416
     * @param string $strFirstName
417
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
418
     */
419
    public function setStrFirstName($strFirstName)
420
    {
421
        $this->strFirstName = $strFirstName;
422
        return $this;
423
    }
424
425
    /**
426
     * @return string
427
     */
428
    public function getStrLastName()
429
    {
430
        return $this->strLastName;
431
    }
432
433
    /**
434
     * @param string $strLastName
435
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
436
     */
437
    public function setStrLastName($strLastName)
438
    {
439
        $this->strLastName = $strLastName;
440
        return $this;
441
    }
442
443
    /**
444
     * @return string
445
     */
446
    public function getStrCompany()
447
    {
448
        return $this->strCompany;
449
    }
450
451
    /**
452
     * @param string $strCompany
453
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
454
     */
455
    public function setStrCompany($strCompany)
456
    {
457
        $this->strCompany = $strCompany;
458
        return $this;
459
    }
460
461
    /**
462
     * @return string
463
     */
464
    public function getStrAddress1()
465
    {
466
        return $this->strAddress1;
467
    }
468
469
    /**
470
     * @param string $strAddress1
471
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
472
     */
473
    public function setStrAddress1($strAddress1)
474
    {
475
        $this->strAddress1 = $strAddress1;
476
        return $this;
477
    }
478
479
    /**
480
     * @return string
481
     */
482
    public function getStrAddress2()
483
    {
484
        return $this->strAddress2;
485
    }
486
487
    /**
488
     * @param string $strAddress2
489
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
490
     */
491
    public function setStrAddress2($strAddress2)
492
    {
493
        $this->strAddress2 = $strAddress2;
494
        return $this;
495
    }
496
497
    /**
498
     * @return string
499
     */
500
    public function getStrCity()
501
    {
502
        return $this->strCity;
503
    }
504
505
    /**
506
     * @param string $strCity
507
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
508
     */
509
    public function setStrCity($strCity)
510
    {
511
        $this->strCity = $strCity;
512
        return $this;
513
    }
514
515
    /**
516
     * @return string
517
     */
518
    public function getStrState()
519
    {
520
        return $this->strState;
521
    }
522
523
    /**
524
     * @param string $strState
525
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
526
     */
527
    public function setStrState($strState)
528
    {
529
        $this->strState = $strState;
530
        return $this;
531
    }
532
533
    /**
534
     * @return string
535
     */
536
    public function getStrCountry()
537
    {
538
        return $this->strCountry;
539
    }
540
541
    /**
542
     * @param string $strCountry
543
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
544
     */
545
    public function setStrCountry($strCountry)
546
    {
547
        $this->strCountry = $strCountry;
548
        return $this;
549
    }
550
551
    /**
552
     * @return string
553
     */
554
    public function getStrZip()
555
    {
556
        return $this->strZip;
557
    }
558
559
    /**
560
     * @param string $strZip
561
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
562
     */
563
    public function setStrZip($strZip)
564
    {
565
        $this->strZip = $strZip;
566
        return $this;
567
    }
568
569
    /**
570
     * @return string
571
     */
572
    public function getStrPhone()
573
    {
574
        return $this->strPhone;
575
    }
576
577
    /**
578
     * @param string $strPhone
579
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
580
     */
581
    public function setStrPhone($strPhone)
582
    {
583
        $this->strPhone = $strPhone;
584
        return $this;
585
    }
586
587
    /**
588
     * @return string
589
     */
590
    public function getStrEmail()
591
    {
592
        return $this->strEmail;
593
    }
594
595
    /**
596
     * @param string $strEmail
597
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
598
     */
599
    public function setStrEmail($strEmail)
600
    {
601
        $this->strEmail = $strEmail;
602
        return $this;
603
    }
604
605
    /**
606
     * @return int
607
     */
608
    public function getIntCCType()
609
    {
610
        return $this->intCCType;
611
    }
612
613
    /**
614
     * @param int $intCCType
615
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
616
     */
617
    public function setIntCCType($intCCType)
618
    {
619
        $this->intCCType = $intCCType;
620
        return $this;
621
    }
622
623
    /**
624
     * @return string
625
     */
626
    public function getStrCCNumber()
627
    {
628
        return $this->strCCNumber;
629
    }
630
631
    /**
632
     * @param string $strCCNumber
633
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
634
     */
635
    public function setStrCCNumber($strCCNumber)
636
    {
637
        $this->strCCNumber = $strCCNumber;
638
        return $this;
639
    }
640
641
    /**
642
     * @return \DateTime
643
     */
644
    public function getDtCCExp()
645
    {
646
        if ($this->dtCCExp == null) {
647
            return null;
648
        } else {
649
            try {
650
                return new \DateTime($this->dtCCExp);
651
            } catch (\Exception $e) {
652
                return false;
653
            }
654
        }
655
    }
656
657
    /**
658
     * @param \DateTime $dtCCExp
659
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
660
     */
661
    public function setDtCCExp(\DateTime $dtCCExp)
662
    {
663
        $this->dtCCExp = $dtCCExp->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
664
        return $this;
665
    }
666
667
    /**
668
     * @return \DateTime
669
     */
670
    public function getDtArrivalDate()
671
    {
672
        if ($this->dtArrivalDate == null) {
673
            return null;
674
        } else {
675
            try {
676
                return new \DateTime($this->dtArrivalDate);
677
            } catch (\Exception $e) {
678
                return false;
679
            }
680
        }
681
    }
682
683
    /**
684
     * @param \DateTime $dtArrivalDate
685
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
686
     */
687
    public function setDtArrivalDate(\DateTime $dtArrivalDate)
688
    {
689
        $this->dtArrivalDate = $dtArrivalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
690
        return $this;
691
    }
692
693
    /**
694
     * @return \DateTime
695
     */
696
    public function getDtDepartureDate()
697
    {
698
        if ($this->dtDepartureDate == null) {
699
            return null;
700
        } else {
701
            try {
702
                return new \DateTime($this->dtDepartureDate);
703
            } catch (\Exception $e) {
704
                return false;
705
            }
706
        }
707
    }
708
709
    /**
710
     * @param \DateTime $dtDepartureDate
711
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
712
     */
713
    public function setDtDepartureDate(\DateTime $dtDepartureDate)
714
    {
715
        $this->dtDepartureDate = $dtDepartureDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
716
        return $this;
717
    }
718
719
    /**
720
     * @return int
721
     */
722
    public function getIntGuestCount()
723
    {
724
        return $this->intGuestCount;
725
    }
726
727
    /**
728
     * @param int $intGuestCount
729
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
730
     */
731
    public function setIntGuestCount($intGuestCount)
732
    {
733
        $this->intGuestCount = $intGuestCount;
734
        return $this;
735
    }
736
737
    /**
738
     * @return string
739
     */
740
    public function getStrChildren()
741
    {
742
        return $this->strChildren;
743
    }
744
745
    /**
746
     * @param string $strChildren
747
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
748
     */
749
    public function setStrChildren($strChildren)
750
    {
751
        $this->strChildren = $strChildren;
752
        return $this;
753
    }
754
755
    /**
756
     * @return int
757
     */
758
    public function getIntRateID()
759
    {
760
        return $this->intRateID;
761
    }
762
763
    /**
764
     * @param int $intRateID
765
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
766
     */
767
    public function setIntRateID($intRateID)
768
    {
769
        $this->intRateID = $intRateID;
770
        return $this;
771
    }
772
773
    /**
774
     * @return int
775
     */
776
    public function getIntRoomTypeID()
777
    {
778
        return $this->intRoomTypeID;
779
    }
780
781
    /**
782
     * @param int $intRoomTypeID
783
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
784
     */
785
    public function setIntRoomTypeID($intRoomTypeID)
786
    {
787
        $this->intRoomTypeID = $intRoomTypeID;
788
        return $this;
789
    }
790
791
    /**
792
     * @return int
793
     */
794
    public function getIntPromoPushID()
795
    {
796
        return $this->intPromoPushID;
797
    }
798
799
    /**
800
     * @param int $intPromoPushID
801
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
802
     */
803
    public function setIntPromoPushID($intPromoPushID)
804
    {
805
        $this->intPromoPushID = $intPromoPushID;
806
        return $this;
807
    }
808
809
    /**
810
     * @return int
811
     */
812
    public function getIntPromoCodeID()
813
    {
814
        return $this->intPromoCodeID;
815
    }
816
817
    /**
818
     * @param int $intPromoCodeID
819
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
820
     */
821
    public function setIntPromoCodeID($intPromoCodeID)
822
    {
823
        $this->intPromoCodeID = $intPromoCodeID;
824
        return $this;
825
    }
826
827
    /**
828
     * @return string
829
     */
830
    public function getStrAttributes()
831
    {
832
        return $this->strAttributes;
833
    }
834
835
    /**
836
     * @param string $strAttributes
837
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
838
     */
839
    public function setStrAttributes($strAttributes)
840
    {
841
        $this->strAttributes = $strAttributes;
842
        return $this;
843
    }
844
845
    /**
846
     * @return string
847
     */
848
    public function getStrLocations()
849
    {
850
        return $this->strLocations;
851
    }
852
853
    /**
854
     * @param string $strLocations
855
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
856
     */
857
    public function setStrLocations($strLocations)
858
    {
859
        $this->strLocations = $strLocations;
860
        return $this;
861
    }
862
863
    /**
864
     * @return string
865
     */
866
    public function getStrSpecialRequests()
867
    {
868
        return $this->strSpecialRequests;
869
    }
870
871
    /**
872
     * @param string $strSpecialRequests
873
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
874
     */
875
    public function setStrSpecialRequests($strSpecialRequests)
876
    {
877
        $this->strSpecialRequests = $strSpecialRequests;
878
        return $this;
879
    }
880
881
    /**
882
     * @return string
883
     */
884
    public function getStrActivityStructure()
885
    {
886
        return $this->strActivityStructure;
887
    }
888
889
    /**
890
     * @param string $strActivityStructure
891
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
892
     */
893
    public function setStrActivityStructure($strActivityStructure)
894
    {
895
        $this->strActivityStructure = $strActivityStructure;
896
        return $this;
897
    }
898
899
    /**
900
     * @return int
901
     */
902
    public function getIntRoomQty()
903
    {
904
        return $this->intRoomQty;
905
    }
906
907
    /**
908
     * @param int $intRoomQty
909
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
910
     */
911
    public function setIntRoomQty($intRoomQty)
912
    {
913
        $this->intRoomQty = $intRoomQty;
914
        return $this;
915
    }
916
917
    /**
918
     * @return dstElements
919
     */
920
    public function getDstElements()
921
    {
922
        return $this->dstElements;
923
    }
924
925
    /**
926
     * @param dstElements $dstElements
927
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
928
     */
929
    public function setDstElements($dstElements)
930
    {
931
        $this->dstElements = $dstElements;
932
        return $this;
933
    }
934
935
    /**
936
     * @return int
937
     */
938
    public function getIntTANo()
939
    {
940
        return $this->intTANo;
941
    }
942
943
    /**
944
     * @param int $intTANo
945
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
946
     */
947
    public function setIntTANo($intTANo)
948
    {
949
        $this->intTANo = $intTANo;
950
        return $this;
951
    }
952
953
    /**
954
     * @return string
955
     */
956
    public function getStrIATANo()
957
    {
958
        return $this->strIATANo;
959
    }
960
961
    /**
962
     * @param string $strIATANo
963
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
964
     */
965
    public function setStrIATANo($strIATANo)
966
    {
967
        $this->strIATANo = $strIATANo;
968
        return $this;
969
    }
970
971
    /**
972
     * @return int
973
     */
974
    public function getIntMemNo()
975
    {
976
        return $this->intMemNo;
977
    }
978
979
    /**
980
     * @param int $intMemNo
981
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
982
     */
983
    public function setIntMemNo($intMemNo)
984
    {
985
        $this->intMemNo = $intMemNo;
986
        return $this;
987
    }
988
989
    /**
990
     * @return dstGolfPackageItems
991
     */
992
    public function getDstGolfPackageItems()
993
    {
994
        return $this->dstGolfPackageItems;
995
    }
996
997
    /**
998
     * @param dstGolfPackageItems $dstGolfPackageItems
999
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1000
     */
1001
    public function setDstGolfPackageItems($dstGolfPackageItems)
1002
    {
1003
        $this->dstGolfPackageItems = $dstGolfPackageItems;
1004
        return $this;
1005
    }
1006
1007
    /**
1008
     * @return int
1009
     */
1010
    public function getIntCondoOwnerId()
1011
    {
1012
        return $this->intCondoOwnerId;
1013
    }
1014
1015
    /**
1016
     * @param int $intCondoOwnerId
1017
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1018
     */
1019
    public function setIntCondoOwnerId($intCondoOwnerId)
1020
    {
1021
        $this->intCondoOwnerId = $intCondoOwnerId;
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @return int
1027
     */
1028
    public function getIntRoomId()
1029
    {
1030
        return $this->intRoomId;
1031
    }
1032
1033
    /**
1034
     * @param int $intRoomId
1035
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1036
     */
1037
    public function setIntRoomId($intRoomId)
1038
    {
1039
        $this->intRoomId = $intRoomId;
1040
        return $this;
1041
    }
1042
1043
    /**
1044
     * @return int
1045
     */
1046
    public function getIntBookingCondoType()
1047
    {
1048
        return $this->intBookingCondoType;
1049
    }
1050
1051
    /**
1052
     * @param int $intBookingCondoType
1053
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1054
     */
1055
    public function setIntBookingCondoType($intBookingCondoType)
1056
    {
1057
        $this->intBookingCondoType = $intBookingCondoType;
1058
        return $this;
1059
    }
1060
1061
    /**
1062
     * @return boolean
1063
     */
1064
    public function getIsInsuranceAccepted()
1065
    {
1066
        return $this->IsInsuranceAccepted;
1067
    }
1068
1069
    /**
1070
     * @param boolean $IsInsuranceAccepted
1071
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1072
     */
1073
    public function setIsInsuranceAccepted($IsInsuranceAccepted)
1074
    {
1075
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
1076
        return $this;
1077
    }
1078
1079
    /**
1080
     * @return int
1081
     */
1082
    public function getIntBuildingID()
1083
    {
1084
        return $this->intBuildingID;
1085
    }
1086
1087
    /**
1088
     * @param int $intBuildingID
1089
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1090
     */
1091
    public function setIntBuildingID($intBuildingID)
1092
    {
1093
        $this->intBuildingID = $intBuildingID;
1094
        return $this;
1095
    }
1096
1097
    /**
1098
     * @return string
1099
     */
1100
    public function getStrTokenGuid()
1101
    {
1102
        return $this->strTokenGuid;
1103
    }
1104
1105
    /**
1106
     * @param string $strTokenGuid
1107
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1108
     */
1109
    public function setStrTokenGuid($strTokenGuid)
1110
    {
1111
        $this->strTokenGuid = $strTokenGuid;
1112
        return $this;
1113
    }
1114
1115
    /**
1116
     * @return string
1117
     */
1118
    public function getELMMarketingSource()
1119
    {
1120
        return $this->ELMMarketingSource;
1121
    }
1122
1123
    /**
1124
     * @param string $ELMMarketingSource
1125
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1126
     */
1127
    public function setELMMarketingSource($ELMMarketingSource)
1128
    {
1129
        $this->ELMMarketingSource = $ELMMarketingSource;
1130
        return $this;
1131
    }
1132
1133
    /**
1134
     * @return string
1135
     */
1136
    public function getDayOfBirth()
1137
    {
1138
        return $this->DayOfBirth;
1139
    }
1140
1141
    /**
1142
     * @param string $DayOfBirth
1143
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1144
     */
1145
    public function setDayOfBirth($DayOfBirth)
1146
    {
1147
        $this->DayOfBirth = $DayOfBirth;
1148
        return $this;
1149
    }
1150
1151
    /**
1152
     * @return string
1153
     */
1154
    public function getMonthOfBirth()
1155
    {
1156
        return $this->MonthOfBirth;
1157
    }
1158
1159
    /**
1160
     * @param string $MonthOfBirth
1161
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1162
     */
1163
    public function setMonthOfBirth($MonthOfBirth)
1164
    {
1165
        $this->MonthOfBirth = $MonthOfBirth;
1166
        return $this;
1167
    }
1168
1169
    /**
1170
     * @return string
1171
     */
1172
    public function getYearOfBirth()
1173
    {
1174
        return $this->YearOfBirth;
1175
    }
1176
1177
    /**
1178
     * @param string $YearOfBirth
1179
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1180
     */
1181
    public function setYearOfBirth($YearOfBirth)
1182
    {
1183
        $this->YearOfBirth = $YearOfBirth;
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @return string
1189
     */
1190
    public function getStrComments()
1191
    {
1192
        return $this->strComments;
1193
    }
1194
1195
    /**
1196
     * @param string $strComments
1197
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1198
     */
1199
    public function setStrComments($strComments)
1200
    {
1201
        $this->strComments = $strComments;
1202
        return $this;
1203
    }
1204
1205
    /**
1206
     * @return boolean
1207
     */
1208
    public function getIsPaidByFOO()
1209
    {
1210
        return $this->IsPaidByFOO;
1211
    }
1212
1213
    /**
1214
     * @param boolean $IsPaidByFOO
1215
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1216
     */
1217
    public function setIsPaidByFOO($IsPaidByFOO)
1218
    {
1219
        $this->IsPaidByFOO = $IsPaidByFOO;
1220
        return $this;
1221
    }
1222
1223
    /**
1224
     * @return IAB2BMode
1225
     */
1226
    public function getBackToBackMode()
1227
    {
1228
        return $this->BackToBackMode;
1229
    }
1230
1231
    /**
1232
     * @param IAB2BMode $BackToBackMode
1233
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1234
     */
1235
    public function setBackToBackMode($BackToBackMode)
1236
    {
1237
        $this->BackToBackMode = $BackToBackMode;
1238
        return $this;
1239
    }
1240
1241
    /**
1242
     * @return boolean
1243
     */
1244
    public function getIsApplySpecialOffers()
1245
    {
1246
        return $this->IsApplySpecialOffers;
1247
    }
1248
1249
    /**
1250
     * @param boolean $IsApplySpecialOffers
1251
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1252
     */
1253
    public function setIsApplySpecialOffers($IsApplySpecialOffers)
1254
    {
1255
        $this->IsApplySpecialOffers = $IsApplySpecialOffers;
1256
        return $this;
1257
    }
1258
1259
    /**
1260
     * @return int
1261
     */
1262
    public function getIntBusinessSourceID()
1263
    {
1264
        return $this->intBusinessSourceID;
1265
    }
1266
1267
    /**
1268
     * @param int $intBusinessSourceID
1269
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1270
     */
1271
    public function setIntBusinessSourceID($intBusinessSourceID)
1272
    {
1273
        $this->intBusinessSourceID = $intBusinessSourceID;
1274
        return $this;
1275
    }
1276
1277
    /**
1278
     * @return dstServicesChargesALaCarte
1279
     */
1280
    public function getDstServicesChargesALaCarte()
1281
    {
1282
        return $this->dstServicesChargesALaCarte;
1283
    }
1284
1285
    /**
1286
     * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte
1287
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1288
     */
1289
    public function setDstServicesChargesALaCarte($dstServicesChargesALaCarte)
1290
    {
1291
        $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte;
1292
        return $this;
1293
    }
1294
1295
    /**
1296
     * @return int
1297
     */
1298
    public function getIntSuiteConfigurationID()
1299
    {
1300
        return $this->intSuiteConfigurationID;
1301
    }
1302
1303
    /**
1304
     * @param int $intSuiteConfigurationID
1305
     * @return \Gueststream\PMS\IQWare\API\SaveReservationBackToBack
1306
     */
1307
    public function setIntSuiteConfigurationID($intSuiteConfigurationID)
1308
    {
1309
        $this->intSuiteConfigurationID = $intSuiteConfigurationID;
1310
        return $this;
1311
    }
1312
}
1313