SaveReservationWithCardProcessedRBO::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 60
Code Lines 58

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 60
ccs 0
cts 60
cp 0
rs 9.5555
c 0
b 0
f 0
cc 1
eloc 58
nc 1
nop 57
crap 2

How to fix   Long Method    Many Parameters   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

Many Parameters

Methods with many parameters are not only hard to understand, but their parameters also often become inconsistent when you need more, or different data.

There are several approaches to avoid long parameter lists:

1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class SaveReservationWithCardProcessedRBO
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 $strVaultTokenGuid
80
     */
81
    protected $strVaultTokenGuid = null;
82
83
    /**
84
     * @var int $CVV2
85
     */
86
    protected $CVV2 = null;
87
88
    /**
89
     * @var \DateTime $dtCCExp
90
     */
91
    protected $dtCCExp = null;
92
93
    /**
94
     * @var \DateTime $dtArrivalDate
95
     */
96
    protected $dtArrivalDate = null;
97
98
    /**
99
     * @var \DateTime $dtDepartureDate
100
     */
101
    protected $dtDepartureDate = null;
102
103
    /**
104
     * @var int $intGuestCount
105
     */
106
    protected $intGuestCount = null;
107
108
    /**
109
     * @var string $strChildren
110
     */
111
    protected $strChildren = null;
112
113
    /**
114
     * @var int $intRateID
115
     */
116
    protected $intRateID = null;
117
118
    /**
119
     * @var int $intRoomTypeID
120
     */
121
    protected $intRoomTypeID = null;
122
123
    /**
124
     * @var int $intPromoPushID
125
     */
126
    protected $intPromoPushID = null;
127
128
    /**
129
     * @var int $intPromoCodeID
130
     */
131
    protected $intPromoCodeID = null;
132
133
    /**
134
     * @var string $strAttributes
135
     */
136
    protected $strAttributes = null;
137
138
    /**
139
     * @var string $strLocations
140
     */
141
    protected $strLocations = null;
142
143
    /**
144
     * @var string $strSpecialRequests
145
     */
146
    protected $strSpecialRequests = null;
147
148
    /**
149
     * @var string $strActivityStructure
150
     */
151
    protected $strActivityStructure = null;
152
153
    /**
154
     * @var int $intRoomQty
155
     */
156
    protected $intRoomQty = null;
157
158
    /**
159
     * @var dstElements $dstElements
160
     */
161
    protected $dstElements = null;
162
163
    /**
164
     * @var int $intTANo
165
     */
166
    protected $intTANo = null;
167
168
    /**
169
     * @var string $strIATANo
170
     */
171
    protected $strIATANo = null;
172
173
    /**
174
     * @var int $intMemNo
175
     */
176
    protected $intMemNo = null;
177
178
    /**
179
     * @var dstGolfPackageItems $dstGolfPackageItems
180
     */
181
    protected $dstGolfPackageItems = null;
182
183
    /**
184
     * @var int $intCondoOwnerId
185
     */
186
    protected $intCondoOwnerId = null;
187
188
    /**
189
     * @var int $intRoomId
190
     */
191
    protected $intRoomId = null;
192
193
    /**
194
     * @var int $intBookingCondoType
195
     */
196
    protected $intBookingCondoType = null;
197
198
    /**
199
     * @var boolean $IsInsuranceAccepted
200
     */
201
    protected $IsInsuranceAccepted = null;
202
203
    /**
204
     * @var int $intBuildingID
205
     */
206
    protected $intBuildingID = null;
207
208
    /**
209
     * @var float $ReservationAmount
210
     */
211
    protected $ReservationAmount = null;
212
213
    /**
214
     * @var string $VaultLogin
215
     */
216
    protected $VaultLogin = null;
217
218
    /**
219
     * @var string $VaultPassword
220
     */
221
    protected $VaultPassword = null;
222
223
    /**
224
     * @var string $ELMMarketingSource
225
     */
226
    protected $ELMMarketingSource = null;
227
228
    /**
229
     * @var string $DayOfBirth
230
     */
231
    protected $DayOfBirth = null;
232
233
    /**
234
     * @var string $MonthOfBirth
235
     */
236
    protected $MonthOfBirth = null;
237
238
    /**
239
     * @var string $YearOfBirth
240
     */
241
    protected $YearOfBirth = null;
242
243
    /**
244
     * @var string $strComments
245
     */
246
    protected $strComments = null;
247
248
    /**
249
     * @var boolean $IsPaidByFOO
250
     */
251
    protected $IsPaidByFOO = null;
252
253
    /**
254
     * @var string $StrListSpecialOffertApplicable
255
     */
256
    protected $StrListSpecialOffertApplicable = null;
257
258
    /**
259
     * @var dsDailyManualRates $dsDailyManualRates
260
     */
261
    protected $dsDailyManualRates = null;
262
263
    /**
264
     * @var boolean $IsRBO
265
     */
266
    protected $IsRBO = null;
267
268
    /**
269
     * @var int $ID_Member
270
     */
271
    protected $ID_Member = null;
272
273
    /**
274
     * @var boolean $IsApplySpecialOffers
275
     */
276
    protected $IsApplySpecialOffers = null;
277
278
    /**
279
     * @var int $intBusinessSourceID
280
     */
281
    protected $intBusinessSourceID = null;
282
283
    /**
284
     * @var dstServicesChargesALaCarte $dstServicesChargesALaCarte
285
     */
286
    protected $dstServicesChargesALaCarte = null;
287
288
    /**
289
     * @var int $intSuiteConfigurationID
290
     */
291
    protected $intSuiteConfigurationID = null;
292
293
    /**
294
     * @param int $intGUID
295
     * @param string $strISOLanguage
296
     * @param string $strFirstName
297
     * @param string $strLastName
298
     * @param string $strCompany
299
     * @param string $strAddress1
300
     * @param string $strAddress2
301
     * @param string $strCity
302
     * @param string $strState
303
     * @param string $strCountry
304
     * @param string $strZip
305
     * @param string $strPhone
306
     * @param string $strEmail
307
     * @param int $intCCType
308
     * @param string $strVaultTokenGuid
309
     * @param int $CVV2
310
     * @param \DateTime $dtCCExp
311
     * @param \DateTime $dtArrivalDate
312
     * @param \DateTime $dtDepartureDate
313
     * @param int $intGuestCount
314
     * @param string $strChildren
315
     * @param int $intRateID
316
     * @param int $intRoomTypeID
317
     * @param int $intPromoPushID
318
     * @param int $intPromoCodeID
319
     * @param string $strAttributes
320
     * @param string $strLocations
321
     * @param string $strSpecialRequests
322
     * @param string $strActivityStructure
323
     * @param int $intRoomQty
324
     * @param dstElements $dstElements
325
     * @param int $intTANo
326
     * @param string $strIATANo
327
     * @param int $intMemNo
328
     * @param dstGolfPackageItems $dstGolfPackageItems
329
     * @param int $intCondoOwnerId
330
     * @param int $intRoomId
331
     * @param int $intBookingCondoType
332
     * @param boolean $IsInsuranceAccepted
333
     * @param int $intBuildingID
334
     * @param float $ReservationAmount
335
     * @param string $VaultLogin
336
     * @param string $VaultPassword
337
     * @param string $ELMMarketingSource
338
     * @param string $DayOfBirth
339
     * @param string $MonthOfBirth
340
     * @param string $YearOfBirth
341
     * @param string $strComments
342
     * @param boolean $IsPaidByFOO
343
     * @param string $StrListSpecialOffertApplicable
344
     * @param dsDailyManualRates $dsDailyManualRates
345
     * @param boolean $IsRBO
346
     * @param int $ID_Member
347
     * @param boolean $IsApplySpecialOffers
348
     * @param int $intBusinessSourceID
349
     * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte
350
     * @param int $intSuiteConfigurationID
351
     */
352
    public function __construct($intGUID, $strISOLanguage, $strFirstName, $strLastName, $strCompany, $strAddress1, $strAddress2, $strCity, $strState, $strCountry, $strZip, $strPhone, $strEmail, $intCCType, $strVaultTokenGuid, $CVV2, \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, $ReservationAmount, $VaultLogin, $VaultPassword, $ELMMarketingSource, $DayOfBirth, $MonthOfBirth, $YearOfBirth, $strComments, $IsPaidByFOO, $StrListSpecialOffertApplicable, $dsDailyManualRates, $IsRBO, $ID_Member, $IsApplySpecialOffers, $intBusinessSourceID, $dstServicesChargesALaCarte, $intSuiteConfigurationID)
353
    {
354
        $this->intGUID = $intGUID;
355
        $this->strISOLanguage = $strISOLanguage;
356
        $this->strFirstName = $strFirstName;
357
        $this->strLastName = $strLastName;
358
        $this->strCompany = $strCompany;
359
        $this->strAddress1 = $strAddress1;
360
        $this->strAddress2 = $strAddress2;
361
        $this->strCity = $strCity;
362
        $this->strState = $strState;
363
        $this->strCountry = $strCountry;
364
        $this->strZip = $strZip;
365
        $this->strPhone = $strPhone;
366
        $this->strEmail = $strEmail;
367
        $this->intCCType = $intCCType;
368
        $this->strVaultTokenGuid = $strVaultTokenGuid;
369
        $this->CVV2 = $CVV2;
370
        $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...
371
        $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...
372
        $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...
373
        $this->intGuestCount = $intGuestCount;
374
        $this->strChildren = $strChildren;
375
        $this->intRateID = $intRateID;
376
        $this->intRoomTypeID = $intRoomTypeID;
377
        $this->intPromoPushID = $intPromoPushID;
378
        $this->intPromoCodeID = $intPromoCodeID;
379
        $this->strAttributes = $strAttributes;
380
        $this->strLocations = $strLocations;
381
        $this->strSpecialRequests = $strSpecialRequests;
382
        $this->strActivityStructure = $strActivityStructure;
383
        $this->intRoomQty = $intRoomQty;
384
        $this->dstElements = $dstElements;
385
        $this->intTANo = $intTANo;
386
        $this->strIATANo = $strIATANo;
387
        $this->intMemNo = $intMemNo;
388
        $this->dstGolfPackageItems = $dstGolfPackageItems;
389
        $this->intCondoOwnerId = $intCondoOwnerId;
390
        $this->intRoomId = $intRoomId;
391
        $this->intBookingCondoType = $intBookingCondoType;
392
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
393
        $this->intBuildingID = $intBuildingID;
394
        $this->ReservationAmount = $ReservationAmount;
395
        $this->VaultLogin = $VaultLogin;
396
        $this->VaultPassword = $VaultPassword;
397
        $this->ELMMarketingSource = $ELMMarketingSource;
398
        $this->DayOfBirth = $DayOfBirth;
399
        $this->MonthOfBirth = $MonthOfBirth;
400
        $this->YearOfBirth = $YearOfBirth;
401
        $this->strComments = $strComments;
402
        $this->IsPaidByFOO = $IsPaidByFOO;
403
        $this->StrListSpecialOffertApplicable = $StrListSpecialOffertApplicable;
404
        $this->dsDailyManualRates = $dsDailyManualRates;
405
        $this->IsRBO = $IsRBO;
406
        $this->ID_Member = $ID_Member;
407
        $this->IsApplySpecialOffers = $IsApplySpecialOffers;
408
        $this->intBusinessSourceID = $intBusinessSourceID;
409
        $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte;
410
        $this->intSuiteConfigurationID = $intSuiteConfigurationID;
411
    }
412
413
    /**
414
     * @return int
415
     */
416
    public function getIntGUID()
417
    {
418
        return $this->intGUID;
419
    }
420
421
    /**
422
     * @param int $intGUID
423
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
424
     */
425
    public function setIntGUID($intGUID)
426
    {
427
        $this->intGUID = $intGUID;
428
        return $this;
429
    }
430
431
    /**
432
     * @return string
433
     */
434
    public function getStrISOLanguage()
435
    {
436
        return $this->strISOLanguage;
437
    }
438
439
    /**
440
     * @param string $strISOLanguage
441
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
442
     */
443
    public function setStrISOLanguage($strISOLanguage)
444
    {
445
        $this->strISOLanguage = $strISOLanguage;
446
        return $this;
447
    }
448
449
    /**
450
     * @return string
451
     */
452
    public function getStrFirstName()
453
    {
454
        return $this->strFirstName;
455
    }
456
457
    /**
458
     * @param string $strFirstName
459
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
460
     */
461
    public function setStrFirstName($strFirstName)
462
    {
463
        $this->strFirstName = $strFirstName;
464
        return $this;
465
    }
466
467
    /**
468
     * @return string
469
     */
470
    public function getStrLastName()
471
    {
472
        return $this->strLastName;
473
    }
474
475
    /**
476
     * @param string $strLastName
477
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
478
     */
479
    public function setStrLastName($strLastName)
480
    {
481
        $this->strLastName = $strLastName;
482
        return $this;
483
    }
484
485
    /**
486
     * @return string
487
     */
488
    public function getStrCompany()
489
    {
490
        return $this->strCompany;
491
    }
492
493
    /**
494
     * @param string $strCompany
495
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
496
     */
497
    public function setStrCompany($strCompany)
498
    {
499
        $this->strCompany = $strCompany;
500
        return $this;
501
    }
502
503
    /**
504
     * @return string
505
     */
506
    public function getStrAddress1()
507
    {
508
        return $this->strAddress1;
509
    }
510
511
    /**
512
     * @param string $strAddress1
513
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
514
     */
515
    public function setStrAddress1($strAddress1)
516
    {
517
        $this->strAddress1 = $strAddress1;
518
        return $this;
519
    }
520
521
    /**
522
     * @return string
523
     */
524
    public function getStrAddress2()
525
    {
526
        return $this->strAddress2;
527
    }
528
529
    /**
530
     * @param string $strAddress2
531
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
532
     */
533
    public function setStrAddress2($strAddress2)
534
    {
535
        $this->strAddress2 = $strAddress2;
536
        return $this;
537
    }
538
539
    /**
540
     * @return string
541
     */
542
    public function getStrCity()
543
    {
544
        return $this->strCity;
545
    }
546
547
    /**
548
     * @param string $strCity
549
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
550
     */
551
    public function setStrCity($strCity)
552
    {
553
        $this->strCity = $strCity;
554
        return $this;
555
    }
556
557
    /**
558
     * @return string
559
     */
560
    public function getStrState()
561
    {
562
        return $this->strState;
563
    }
564
565
    /**
566
     * @param string $strState
567
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
568
     */
569
    public function setStrState($strState)
570
    {
571
        $this->strState = $strState;
572
        return $this;
573
    }
574
575
    /**
576
     * @return string
577
     */
578
    public function getStrCountry()
579
    {
580
        return $this->strCountry;
581
    }
582
583
    /**
584
     * @param string $strCountry
585
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
586
     */
587
    public function setStrCountry($strCountry)
588
    {
589
        $this->strCountry = $strCountry;
590
        return $this;
591
    }
592
593
    /**
594
     * @return string
595
     */
596
    public function getStrZip()
597
    {
598
        return $this->strZip;
599
    }
600
601
    /**
602
     * @param string $strZip
603
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
604
     */
605
    public function setStrZip($strZip)
606
    {
607
        $this->strZip = $strZip;
608
        return $this;
609
    }
610
611
    /**
612
     * @return string
613
     */
614
    public function getStrPhone()
615
    {
616
        return $this->strPhone;
617
    }
618
619
    /**
620
     * @param string $strPhone
621
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
622
     */
623
    public function setStrPhone($strPhone)
624
    {
625
        $this->strPhone = $strPhone;
626
        return $this;
627
    }
628
629
    /**
630
     * @return string
631
     */
632
    public function getStrEmail()
633
    {
634
        return $this->strEmail;
635
    }
636
637
    /**
638
     * @param string $strEmail
639
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
640
     */
641
    public function setStrEmail($strEmail)
642
    {
643
        $this->strEmail = $strEmail;
644
        return $this;
645
    }
646
647
    /**
648
     * @return int
649
     */
650
    public function getIntCCType()
651
    {
652
        return $this->intCCType;
653
    }
654
655
    /**
656
     * @param int $intCCType
657
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
658
     */
659
    public function setIntCCType($intCCType)
660
    {
661
        $this->intCCType = $intCCType;
662
        return $this;
663
    }
664
665
    /**
666
     * @return string
667
     */
668
    public function getStrVaultTokenGuid()
669
    {
670
        return $this->strVaultTokenGuid;
671
    }
672
673
    /**
674
     * @param string $strVaultTokenGuid
675
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
676
     */
677
    public function setStrVaultTokenGuid($strVaultTokenGuid)
678
    {
679
        $this->strVaultTokenGuid = $strVaultTokenGuid;
680
        return $this;
681
    }
682
683
    /**
684
     * @return int
685
     */
686
    public function getCVV2()
687
    {
688
        return $this->CVV2;
689
    }
690
691
    /**
692
     * @param int $CVV2
693
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
694
     */
695
    public function setCVV2($CVV2)
696
    {
697
        $this->CVV2 = $CVV2;
698
        return $this;
699
    }
700
701
    /**
702
     * @return \DateTime
703
     */
704
    public function getDtCCExp()
705
    {
706
        if ($this->dtCCExp == null) {
707
            return null;
708
        } else {
709
            try {
710
                return new \DateTime($this->dtCCExp);
711
            } catch (\Exception $e) {
712
                return false;
713
            }
714
        }
715
    }
716
717
    /**
718
     * @param \DateTime $dtCCExp
719
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
720
     */
721
    public function setDtCCExp(\DateTime $dtCCExp)
722
    {
723
        $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...
724
        return $this;
725
    }
726
727
    /**
728
     * @return \DateTime
729
     */
730
    public function getDtArrivalDate()
731
    {
732
        if ($this->dtArrivalDate == null) {
733
            return null;
734
        } else {
735
            try {
736
                return new \DateTime($this->dtArrivalDate);
737
            } catch (\Exception $e) {
738
                return false;
739
            }
740
        }
741
    }
742
743
    /**
744
     * @param \DateTime $dtArrivalDate
745
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
746
     */
747
    public function setDtArrivalDate(\DateTime $dtArrivalDate)
748
    {
749
        $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...
750
        return $this;
751
    }
752
753
    /**
754
     * @return \DateTime
755
     */
756
    public function getDtDepartureDate()
757
    {
758
        if ($this->dtDepartureDate == null) {
759
            return null;
760
        } else {
761
            try {
762
                return new \DateTime($this->dtDepartureDate);
763
            } catch (\Exception $e) {
764
                return false;
765
            }
766
        }
767
    }
768
769
    /**
770
     * @param \DateTime $dtDepartureDate
771
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
772
     */
773
    public function setDtDepartureDate(\DateTime $dtDepartureDate)
774
    {
775
        $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...
776
        return $this;
777
    }
778
779
    /**
780
     * @return int
781
     */
782
    public function getIntGuestCount()
783
    {
784
        return $this->intGuestCount;
785
    }
786
787
    /**
788
     * @param int $intGuestCount
789
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
790
     */
791
    public function setIntGuestCount($intGuestCount)
792
    {
793
        $this->intGuestCount = $intGuestCount;
794
        return $this;
795
    }
796
797
    /**
798
     * @return string
799
     */
800
    public function getStrChildren()
801
    {
802
        return $this->strChildren;
803
    }
804
805
    /**
806
     * @param string $strChildren
807
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
808
     */
809
    public function setStrChildren($strChildren)
810
    {
811
        $this->strChildren = $strChildren;
812
        return $this;
813
    }
814
815
    /**
816
     * @return int
817
     */
818
    public function getIntRateID()
819
    {
820
        return $this->intRateID;
821
    }
822
823
    /**
824
     * @param int $intRateID
825
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
826
     */
827
    public function setIntRateID($intRateID)
828
    {
829
        $this->intRateID = $intRateID;
830
        return $this;
831
    }
832
833
    /**
834
     * @return int
835
     */
836
    public function getIntRoomTypeID()
837
    {
838
        return $this->intRoomTypeID;
839
    }
840
841
    /**
842
     * @param int $intRoomTypeID
843
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
844
     */
845
    public function setIntRoomTypeID($intRoomTypeID)
846
    {
847
        $this->intRoomTypeID = $intRoomTypeID;
848
        return $this;
849
    }
850
851
    /**
852
     * @return int
853
     */
854
    public function getIntPromoPushID()
855
    {
856
        return $this->intPromoPushID;
857
    }
858
859
    /**
860
     * @param int $intPromoPushID
861
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
862
     */
863
    public function setIntPromoPushID($intPromoPushID)
864
    {
865
        $this->intPromoPushID = $intPromoPushID;
866
        return $this;
867
    }
868
869
    /**
870
     * @return int
871
     */
872
    public function getIntPromoCodeID()
873
    {
874
        return $this->intPromoCodeID;
875
    }
876
877
    /**
878
     * @param int $intPromoCodeID
879
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
880
     */
881
    public function setIntPromoCodeID($intPromoCodeID)
882
    {
883
        $this->intPromoCodeID = $intPromoCodeID;
884
        return $this;
885
    }
886
887
    /**
888
     * @return string
889
     */
890
    public function getStrAttributes()
891
    {
892
        return $this->strAttributes;
893
    }
894
895
    /**
896
     * @param string $strAttributes
897
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
898
     */
899
    public function setStrAttributes($strAttributes)
900
    {
901
        $this->strAttributes = $strAttributes;
902
        return $this;
903
    }
904
905
    /**
906
     * @return string
907
     */
908
    public function getStrLocations()
909
    {
910
        return $this->strLocations;
911
    }
912
913
    /**
914
     * @param string $strLocations
915
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
916
     */
917
    public function setStrLocations($strLocations)
918
    {
919
        $this->strLocations = $strLocations;
920
        return $this;
921
    }
922
923
    /**
924
     * @return string
925
     */
926
    public function getStrSpecialRequests()
927
    {
928
        return $this->strSpecialRequests;
929
    }
930
931
    /**
932
     * @param string $strSpecialRequests
933
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
934
     */
935
    public function setStrSpecialRequests($strSpecialRequests)
936
    {
937
        $this->strSpecialRequests = $strSpecialRequests;
938
        return $this;
939
    }
940
941
    /**
942
     * @return string
943
     */
944
    public function getStrActivityStructure()
945
    {
946
        return $this->strActivityStructure;
947
    }
948
949
    /**
950
     * @param string $strActivityStructure
951
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
952
     */
953
    public function setStrActivityStructure($strActivityStructure)
954
    {
955
        $this->strActivityStructure = $strActivityStructure;
956
        return $this;
957
    }
958
959
    /**
960
     * @return int
961
     */
962
    public function getIntRoomQty()
963
    {
964
        return $this->intRoomQty;
965
    }
966
967
    /**
968
     * @param int $intRoomQty
969
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
970
     */
971
    public function setIntRoomQty($intRoomQty)
972
    {
973
        $this->intRoomQty = $intRoomQty;
974
        return $this;
975
    }
976
977
    /**
978
     * @return dstElements
979
     */
980
    public function getDstElements()
981
    {
982
        return $this->dstElements;
983
    }
984
985
    /**
986
     * @param dstElements $dstElements
987
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
988
     */
989
    public function setDstElements($dstElements)
990
    {
991
        $this->dstElements = $dstElements;
992
        return $this;
993
    }
994
995
    /**
996
     * @return int
997
     */
998
    public function getIntTANo()
999
    {
1000
        return $this->intTANo;
1001
    }
1002
1003
    /**
1004
     * @param int $intTANo
1005
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1006
     */
1007
    public function setIntTANo($intTANo)
1008
    {
1009
        $this->intTANo = $intTANo;
1010
        return $this;
1011
    }
1012
1013
    /**
1014
     * @return string
1015
     */
1016
    public function getStrIATANo()
1017
    {
1018
        return $this->strIATANo;
1019
    }
1020
1021
    /**
1022
     * @param string $strIATANo
1023
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1024
     */
1025
    public function setStrIATANo($strIATANo)
1026
    {
1027
        $this->strIATANo = $strIATANo;
1028
        return $this;
1029
    }
1030
1031
    /**
1032
     * @return int
1033
     */
1034
    public function getIntMemNo()
1035
    {
1036
        return $this->intMemNo;
1037
    }
1038
1039
    /**
1040
     * @param int $intMemNo
1041
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1042
     */
1043
    public function setIntMemNo($intMemNo)
1044
    {
1045
        $this->intMemNo = $intMemNo;
1046
        return $this;
1047
    }
1048
1049
    /**
1050
     * @return dstGolfPackageItems
1051
     */
1052
    public function getDstGolfPackageItems()
1053
    {
1054
        return $this->dstGolfPackageItems;
1055
    }
1056
1057
    /**
1058
     * @param dstGolfPackageItems $dstGolfPackageItems
1059
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1060
     */
1061
    public function setDstGolfPackageItems($dstGolfPackageItems)
1062
    {
1063
        $this->dstGolfPackageItems = $dstGolfPackageItems;
1064
        return $this;
1065
    }
1066
1067
    /**
1068
     * @return int
1069
     */
1070
    public function getIntCondoOwnerId()
1071
    {
1072
        return $this->intCondoOwnerId;
1073
    }
1074
1075
    /**
1076
     * @param int $intCondoOwnerId
1077
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1078
     */
1079
    public function setIntCondoOwnerId($intCondoOwnerId)
1080
    {
1081
        $this->intCondoOwnerId = $intCondoOwnerId;
1082
        return $this;
1083
    }
1084
1085
    /**
1086
     * @return int
1087
     */
1088
    public function getIntRoomId()
1089
    {
1090
        return $this->intRoomId;
1091
    }
1092
1093
    /**
1094
     * @param int $intRoomId
1095
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1096
     */
1097
    public function setIntRoomId($intRoomId)
1098
    {
1099
        $this->intRoomId = $intRoomId;
1100
        return $this;
1101
    }
1102
1103
    /**
1104
     * @return int
1105
     */
1106
    public function getIntBookingCondoType()
1107
    {
1108
        return $this->intBookingCondoType;
1109
    }
1110
1111
    /**
1112
     * @param int $intBookingCondoType
1113
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1114
     */
1115
    public function setIntBookingCondoType($intBookingCondoType)
1116
    {
1117
        $this->intBookingCondoType = $intBookingCondoType;
1118
        return $this;
1119
    }
1120
1121
    /**
1122
     * @return boolean
1123
     */
1124
    public function getIsInsuranceAccepted()
1125
    {
1126
        return $this->IsInsuranceAccepted;
1127
    }
1128
1129
    /**
1130
     * @param boolean $IsInsuranceAccepted
1131
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1132
     */
1133
    public function setIsInsuranceAccepted($IsInsuranceAccepted)
1134
    {
1135
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
1136
        return $this;
1137
    }
1138
1139
    /**
1140
     * @return int
1141
     */
1142
    public function getIntBuildingID()
1143
    {
1144
        return $this->intBuildingID;
1145
    }
1146
1147
    /**
1148
     * @param int $intBuildingID
1149
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1150
     */
1151
    public function setIntBuildingID($intBuildingID)
1152
    {
1153
        $this->intBuildingID = $intBuildingID;
1154
        return $this;
1155
    }
1156
1157
    /**
1158
     * @return float
1159
     */
1160
    public function getReservationAmount()
1161
    {
1162
        return $this->ReservationAmount;
1163
    }
1164
1165
    /**
1166
     * @param float $ReservationAmount
1167
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1168
     */
1169
    public function setReservationAmount($ReservationAmount)
1170
    {
1171
        $this->ReservationAmount = $ReservationAmount;
1172
        return $this;
1173
    }
1174
1175
    /**
1176
     * @return string
1177
     */
1178
    public function getVaultLogin()
1179
    {
1180
        return $this->VaultLogin;
1181
    }
1182
1183
    /**
1184
     * @param string $VaultLogin
1185
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1186
     */
1187
    public function setVaultLogin($VaultLogin)
1188
    {
1189
        $this->VaultLogin = $VaultLogin;
1190
        return $this;
1191
    }
1192
1193
    /**
1194
     * @return string
1195
     */
1196
    public function getVaultPassword()
1197
    {
1198
        return $this->VaultPassword;
1199
    }
1200
1201
    /**
1202
     * @param string $VaultPassword
1203
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1204
     */
1205
    public function setVaultPassword($VaultPassword)
1206
    {
1207
        $this->VaultPassword = $VaultPassword;
1208
        return $this;
1209
    }
1210
1211
    /**
1212
     * @return string
1213
     */
1214
    public function getELMMarketingSource()
1215
    {
1216
        return $this->ELMMarketingSource;
1217
    }
1218
1219
    /**
1220
     * @param string $ELMMarketingSource
1221
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1222
     */
1223
    public function setELMMarketingSource($ELMMarketingSource)
1224
    {
1225
        $this->ELMMarketingSource = $ELMMarketingSource;
1226
        return $this;
1227
    }
1228
1229
    /**
1230
     * @return string
1231
     */
1232
    public function getDayOfBirth()
1233
    {
1234
        return $this->DayOfBirth;
1235
    }
1236
1237
    /**
1238
     * @param string $DayOfBirth
1239
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1240
     */
1241
    public function setDayOfBirth($DayOfBirth)
1242
    {
1243
        $this->DayOfBirth = $DayOfBirth;
1244
        return $this;
1245
    }
1246
1247
    /**
1248
     * @return string
1249
     */
1250
    public function getMonthOfBirth()
1251
    {
1252
        return $this->MonthOfBirth;
1253
    }
1254
1255
    /**
1256
     * @param string $MonthOfBirth
1257
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1258
     */
1259
    public function setMonthOfBirth($MonthOfBirth)
1260
    {
1261
        $this->MonthOfBirth = $MonthOfBirth;
1262
        return $this;
1263
    }
1264
1265
    /**
1266
     * @return string
1267
     */
1268
    public function getYearOfBirth()
1269
    {
1270
        return $this->YearOfBirth;
1271
    }
1272
1273
    /**
1274
     * @param string $YearOfBirth
1275
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1276
     */
1277
    public function setYearOfBirth($YearOfBirth)
1278
    {
1279
        $this->YearOfBirth = $YearOfBirth;
1280
        return $this;
1281
    }
1282
1283
    /**
1284
     * @return string
1285
     */
1286
    public function getStrComments()
1287
    {
1288
        return $this->strComments;
1289
    }
1290
1291
    /**
1292
     * @param string $strComments
1293
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1294
     */
1295
    public function setStrComments($strComments)
1296
    {
1297
        $this->strComments = $strComments;
1298
        return $this;
1299
    }
1300
1301
    /**
1302
     * @return boolean
1303
     */
1304
    public function getIsPaidByFOO()
1305
    {
1306
        return $this->IsPaidByFOO;
1307
    }
1308
1309
    /**
1310
     * @param boolean $IsPaidByFOO
1311
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1312
     */
1313
    public function setIsPaidByFOO($IsPaidByFOO)
1314
    {
1315
        $this->IsPaidByFOO = $IsPaidByFOO;
1316
        return $this;
1317
    }
1318
1319
    /**
1320
     * @return string
1321
     */
1322
    public function getStrListSpecialOffertApplicable()
1323
    {
1324
        return $this->StrListSpecialOffertApplicable;
1325
    }
1326
1327
    /**
1328
     * @param string $StrListSpecialOffertApplicable
1329
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1330
     */
1331
    public function setStrListSpecialOffertApplicable($StrListSpecialOffertApplicable)
1332
    {
1333
        $this->StrListSpecialOffertApplicable = $StrListSpecialOffertApplicable;
1334
        return $this;
1335
    }
1336
1337
    /**
1338
     * @return dsDailyManualRates
1339
     */
1340
    public function getDsDailyManualRates()
1341
    {
1342
        return $this->dsDailyManualRates;
1343
    }
1344
1345
    /**
1346
     * @param dsDailyManualRates $dsDailyManualRates
1347
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1348
     */
1349
    public function setDsDailyManualRates($dsDailyManualRates)
1350
    {
1351
        $this->dsDailyManualRates = $dsDailyManualRates;
1352
        return $this;
1353
    }
1354
1355
    /**
1356
     * @return boolean
1357
     */
1358
    public function getIsRBO()
1359
    {
1360
        return $this->IsRBO;
1361
    }
1362
1363
    /**
1364
     * @param boolean $IsRBO
1365
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1366
     */
1367
    public function setIsRBO($IsRBO)
1368
    {
1369
        $this->IsRBO = $IsRBO;
1370
        return $this;
1371
    }
1372
1373
    /**
1374
     * @return int
1375
     */
1376
    public function getID_Member()
1377
    {
1378
        return $this->ID_Member;
1379
    }
1380
1381
    /**
1382
     * @param int $ID_Member
1383
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1384
     */
1385
    public function setID_Member($ID_Member)
1386
    {
1387
        $this->ID_Member = $ID_Member;
1388
        return $this;
1389
    }
1390
1391
    /**
1392
     * @return boolean
1393
     */
1394
    public function getIsApplySpecialOffers()
1395
    {
1396
        return $this->IsApplySpecialOffers;
1397
    }
1398
1399
    /**
1400
     * @param boolean $IsApplySpecialOffers
1401
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1402
     */
1403
    public function setIsApplySpecialOffers($IsApplySpecialOffers)
1404
    {
1405
        $this->IsApplySpecialOffers = $IsApplySpecialOffers;
1406
        return $this;
1407
    }
1408
1409
    /**
1410
     * @return int
1411
     */
1412
    public function getIntBusinessSourceID()
1413
    {
1414
        return $this->intBusinessSourceID;
1415
    }
1416
1417
    /**
1418
     * @param int $intBusinessSourceID
1419
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1420
     */
1421
    public function setIntBusinessSourceID($intBusinessSourceID)
1422
    {
1423
        $this->intBusinessSourceID = $intBusinessSourceID;
1424
        return $this;
1425
    }
1426
1427
    /**
1428
     * @return dstServicesChargesALaCarte
1429
     */
1430
    public function getDstServicesChargesALaCarte()
1431
    {
1432
        return $this->dstServicesChargesALaCarte;
1433
    }
1434
1435
    /**
1436
     * @param dstServicesChargesALaCarte $dstServicesChargesALaCarte
1437
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1438
     */
1439
    public function setDstServicesChargesALaCarte($dstServicesChargesALaCarte)
1440
    {
1441
        $this->dstServicesChargesALaCarte = $dstServicesChargesALaCarte;
1442
        return $this;
1443
    }
1444
1445
    /**
1446
     * @return int
1447
     */
1448
    public function getIntSuiteConfigurationID()
1449
    {
1450
        return $this->intSuiteConfigurationID;
1451
    }
1452
1453
    /**
1454
     * @param int $intSuiteConfigurationID
1455
     * @return \Gueststream\PMS\IQWare\API\SaveReservationWithCardProcessedRBO
1456
     */
1457
    public function setIntSuiteConfigurationID($intSuiteConfigurationID)
1458
    {
1459
        $this->intSuiteConfigurationID = $intSuiteConfigurationID;
1460
        return $this;
1461
    }
1462
}
1463