Reservation::__construct()   B
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 31
Code Lines 29

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 31
ccs 0
cts 31
cp 0
rs 8.8571
c 0
b 0
f 0
cc 1
eloc 29
nc 1
nop 28
crap 2

How to fix   Many Parameters   

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 Reservation
6
{
7
8
    /**
9
     * @var int $AccountNo
10
     */
11
    protected $AccountNo = null;
12
13
    /**
14
     * @var string $FirstName
15
     */
16
    protected $FirstName = null;
17
18
    /**
19
     * @var string $LastName
20
     */
21
    protected $LastName = null;
22
23
    /**
24
     * @var string $Company
25
     */
26
    protected $Company = null;
27
28
    /**
29
     * @var string $Address1
30
     */
31
    protected $Address1 = null;
32
33
    /**
34
     * @var string $Address2
35
     */
36
    protected $Address2 = null;
37
38
    /**
39
     * @var string $City
40
     */
41
    protected $City = null;
42
43
    /**
44
     * @var string $State
45
     */
46
    protected $State = null;
47
48
    /**
49
     * @var string $Country
50
     */
51
    protected $Country = null;
52
53
    /**
54
     * @var string $CPZIP
55
     */
56
    protected $CPZIP = null;
57
58
    /**
59
     * @var string $Phone
60
     */
61
    protected $Phone = null;
62
63
    /**
64
     * @var string $EMail
65
     */
66
    protected $EMail = null;
67
68
    /**
69
     * @var int $ID_PromoPush
70
     */
71
    protected $ID_PromoPush = null;
72
73
    /**
74
     * @var int $ID_PromoCode
75
     */
76
    protected $ID_PromoCode = null;
77
78
    /**
79
     * @var int $BookingCondoType
80
     */
81
    protected $BookingCondoType = null;
82
83
    /**
84
     * @var boolean $IsRBO
85
     */
86
    protected $IsRBO = null;
87
88
    /**
89
     * @var int $CCType
90
     */
91
    protected $CCType = null;
92
93
    /**
94
     * @var string $CCNo
95
     */
96
    protected $CCNo = null;
97
98
    /**
99
     * @var string $CCExp
100
     */
101
    protected $CCExp = null;
102
103
    /**
104
     * @var \DateTime $ArrivalDate
105
     */
106
    protected $ArrivalDate = null;
107
108
    /**
109
     * @var \DateTime $DepartureDate
110
     */
111
    protected $DepartureDate = null;
112
113
    /**
114
     * @var int $RoomType
115
     */
116
    protected $RoomType = null;
117
118
    /**
119
     * @var int $RoomQty
120
     */
121
    protected $RoomQty = null;
122
123
    /**
124
     * @var int $GuestCount
125
     */
126
    protected $GuestCount = null;
127
128
    /**
129
     * @var ChildrenBreakDown $ChildrenBreakDown
130
     */
131
    protected $ChildrenBreakDown = null;
132
133
    /**
134
     * @var int $Rate
135
     */
136
    protected $Rate = null;
137
138
    /**
139
     * @var boolean $IsInsuranceAccepted
140
     */
141
    protected $IsInsuranceAccepted = null;
142
143
    /**
144
     * @var Attributes $Attributes
145
     */
146
    protected $Attributes = null;
147
148
    /**
149
     * @var Localizations $Localizations
150
     */
151
    protected $Localizations = null;
152
153
    /**
154
     * @var string $SpecialRequests
155
     */
156
    protected $SpecialRequests = null;
157
158
    /**
159
     * @var string $strComments
160
     */
161
    protected $strComments = null;
162
163
    /**
164
     * @var int $TAAccountNo
165
     */
166
    protected $TAAccountNo = null;
167
168
    /**
169
     * @var int $MemAccountNo
170
     */
171
    protected $MemAccountNo = null;
172
173
    /**
174
     * @var int $CondoOwnerId
175
     */
176
    protected $CondoOwnerId = null;
177
178
    /**
179
     * @var boolean $IsPaidByFOO
180
     */
181
    protected $IsPaidByFOO = null;
182
183
    /**
184
     * @var int $ID_Member
185
     */
186
    protected $ID_Member = null;
187
188
    /**
189
     * @var int $DayOfBirth
190
     */
191
    protected $DayOfBirth = null;
192
193
    /**
194
     * @var int $MonthOfBirth
195
     */
196
    protected $MonthOfBirth = null;
197
198
    /**
199
     * @var int $YearOfBirth
200
     */
201
    protected $YearOfBirth = null;
202
203
    /**
204
     * @var int $RoomId
205
     */
206
    protected $RoomId = null;
207
208
    /**
209
     * @var string $RoomKeyCode
210
     */
211
    protected $RoomKeyCode = null;
212
213
    /**
214
     * @var string $ELMMarketingSource
215
     */
216
    protected $ELMMarketingSource = null;
217
218
    /**
219
     * @var string $ELMLeadKey
220
     */
221
    protected $ELMLeadKey = null;
222
223
    /**
224
     * @var BookingAccountStatusEnum $AccountStatus
225
     */
226
    protected $AccountStatus = null;
227
228
    /**
229
     * @var int $CancellationNo
230
     */
231
    protected $CancellationNo = null;
232
233
    /**
234
     * @var int $BusinessSource
235
     */
236
    protected $BusinessSource = null;
237
238
    /**
239
     * @var int $GuestType
240
     */
241
    protected $GuestType = null;
242
243
    /**
244
     * @var int $GeographicCode
245
     */
246
    protected $GeographicCode = null;
247
248
    /**
249
     * @var int $ID_ActivityToken
250
     */
251
    protected $ID_ActivityToken = null;
252
253
    /**
254
     * @param int $AccountNo
255
     * @param int $ID_PromoPush
256
     * @param int $ID_PromoCode
257
     * @param int $BookingCondoType
258
     * @param boolean $IsRBO
259
     * @param int $CCType
260
     * @param \DateTime $ArrivalDate
261
     * @param \DateTime $DepartureDate
262
     * @param int $RoomType
263
     * @param int $RoomQty
264
     * @param int $GuestCount
265
     * @param int $Rate
266
     * @param boolean $IsInsuranceAccepted
267
     * @param int $TAAccountNo
268
     * @param int $MemAccountNo
269
     * @param int $CondoOwnerId
270
     * @param boolean $IsPaidByFOO
271
     * @param int $ID_Member
272
     * @param int $DayOfBirth
273
     * @param int $MonthOfBirth
274
     * @param int $YearOfBirth
275
     * @param int $RoomId
276
     * @param BookingAccountStatusEnum $AccountStatus
277
     * @param int $CancellationNo
278
     * @param int $BusinessSource
279
     * @param int $GuestType
280
     * @param int $GeographicCode
281
     * @param int $ID_ActivityToken
282
     */
283
    public function __construct($AccountNo, $ID_PromoPush, $ID_PromoCode, $BookingCondoType, $IsRBO, $CCType, \DateTime $ArrivalDate, \DateTime $DepartureDate, $RoomType, $RoomQty, $GuestCount, $Rate, $IsInsuranceAccepted, $TAAccountNo, $MemAccountNo, $CondoOwnerId, $IsPaidByFOO, $ID_Member, $DayOfBirth, $MonthOfBirth, $YearOfBirth, $RoomId, $AccountStatus, $CancellationNo, $BusinessSource, $GuestType, $GeographicCode, $ID_ActivityToken)
284
    {
285
        $this->AccountNo = $AccountNo;
286
        $this->ID_PromoPush = $ID_PromoPush;
287
        $this->ID_PromoCode = $ID_PromoCode;
288
        $this->BookingCondoType = $BookingCondoType;
289
        $this->IsRBO = $IsRBO;
290
        $this->CCType = $CCType;
291
        $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

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

Loading history...
293
        $this->RoomType = $RoomType;
294
        $this->RoomQty = $RoomQty;
295
        $this->GuestCount = $GuestCount;
296
        $this->Rate = $Rate;
297
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
298
        $this->TAAccountNo = $TAAccountNo;
299
        $this->MemAccountNo = $MemAccountNo;
300
        $this->CondoOwnerId = $CondoOwnerId;
301
        $this->IsPaidByFOO = $IsPaidByFOO;
302
        $this->ID_Member = $ID_Member;
303
        $this->DayOfBirth = $DayOfBirth;
304
        $this->MonthOfBirth = $MonthOfBirth;
305
        $this->YearOfBirth = $YearOfBirth;
306
        $this->RoomId = $RoomId;
307
        $this->AccountStatus = $AccountStatus;
308
        $this->CancellationNo = $CancellationNo;
309
        $this->BusinessSource = $BusinessSource;
310
        $this->GuestType = $GuestType;
311
        $this->GeographicCode = $GeographicCode;
312
        $this->ID_ActivityToken = $ID_ActivityToken;
313
    }
314
315
    /**
316
     * @return int
317
     */
318
    public function getAccountNo()
319
    {
320
        return $this->AccountNo;
321
    }
322
323
    /**
324
     * @param int $AccountNo
325
     * @return \Gueststream\PMS\IQWare\API\Reservation
326
     */
327
    public function setAccountNo($AccountNo)
328
    {
329
        $this->AccountNo = $AccountNo;
330
        return $this;
331
    }
332
333
    /**
334
     * @return string
335
     */
336
    public function getFirstName()
337
    {
338
        return $this->FirstName;
339
    }
340
341
    /**
342
     * @param string $FirstName
343
     * @return \Gueststream\PMS\IQWare\API\Reservation
344
     */
345
    public function setFirstName($FirstName)
346
    {
347
        $this->FirstName = $FirstName;
348
        return $this;
349
    }
350
351
    /**
352
     * @return string
353
     */
354
    public function getLastName()
355
    {
356
        return $this->LastName;
357
    }
358
359
    /**
360
     * @param string $LastName
361
     * @return \Gueststream\PMS\IQWare\API\Reservation
362
     */
363
    public function setLastName($LastName)
364
    {
365
        $this->LastName = $LastName;
366
        return $this;
367
    }
368
369
    /**
370
     * @return string
371
     */
372
    public function getCompany()
373
    {
374
        return $this->Company;
375
    }
376
377
    /**
378
     * @param string $Company
379
     * @return \Gueststream\PMS\IQWare\API\Reservation
380
     */
381
    public function setCompany($Company)
382
    {
383
        $this->Company = $Company;
384
        return $this;
385
    }
386
387
    /**
388
     * @return string
389
     */
390
    public function getAddress1()
391
    {
392
        return $this->Address1;
393
    }
394
395
    /**
396
     * @param string $Address1
397
     * @return \Gueststream\PMS\IQWare\API\Reservation
398
     */
399
    public function setAddress1($Address1)
400
    {
401
        $this->Address1 = $Address1;
402
        return $this;
403
    }
404
405
    /**
406
     * @return string
407
     */
408
    public function getAddress2()
409
    {
410
        return $this->Address2;
411
    }
412
413
    /**
414
     * @param string $Address2
415
     * @return \Gueststream\PMS\IQWare\API\Reservation
416
     */
417
    public function setAddress2($Address2)
418
    {
419
        $this->Address2 = $Address2;
420
        return $this;
421
    }
422
423
    /**
424
     * @return string
425
     */
426
    public function getCity()
427
    {
428
        return $this->City;
429
    }
430
431
    /**
432
     * @param string $City
433
     * @return \Gueststream\PMS\IQWare\API\Reservation
434
     */
435
    public function setCity($City)
436
    {
437
        $this->City = $City;
438
        return $this;
439
    }
440
441
    /**
442
     * @return string
443
     */
444
    public function getState()
445
    {
446
        return $this->State;
447
    }
448
449
    /**
450
     * @param string $State
451
     * @return \Gueststream\PMS\IQWare\API\Reservation
452
     */
453
    public function setState($State)
454
    {
455
        $this->State = $State;
456
        return $this;
457
    }
458
459
    /**
460
     * @return string
461
     */
462
    public function getCountry()
463
    {
464
        return $this->Country;
465
    }
466
467
    /**
468
     * @param string $Country
469
     * @return \Gueststream\PMS\IQWare\API\Reservation
470
     */
471
    public function setCountry($Country)
472
    {
473
        $this->Country = $Country;
474
        return $this;
475
    }
476
477
    /**
478
     * @return string
479
     */
480
    public function getCPZIP()
481
    {
482
        return $this->CPZIP;
483
    }
484
485
    /**
486
     * @param string $CPZIP
487
     * @return \Gueststream\PMS\IQWare\API\Reservation
488
     */
489
    public function setCPZIP($CPZIP)
490
    {
491
        $this->CPZIP = $CPZIP;
492
        return $this;
493
    }
494
495
    /**
496
     * @return string
497
     */
498
    public function getPhone()
499
    {
500
        return $this->Phone;
501
    }
502
503
    /**
504
     * @param string $Phone
505
     * @return \Gueststream\PMS\IQWare\API\Reservation
506
     */
507
    public function setPhone($Phone)
508
    {
509
        $this->Phone = $Phone;
510
        return $this;
511
    }
512
513
    /**
514
     * @return string
515
     */
516
    public function getEMail()
517
    {
518
        return $this->EMail;
519
    }
520
521
    /**
522
     * @param string $EMail
523
     * @return \Gueststream\PMS\IQWare\API\Reservation
524
     */
525
    public function setEMail($EMail)
526
    {
527
        $this->EMail = $EMail;
528
        return $this;
529
    }
530
531
    /**
532
     * @return int
533
     */
534
    public function getID_PromoPush()
535
    {
536
        return $this->ID_PromoPush;
537
    }
538
539
    /**
540
     * @param int $ID_PromoPush
541
     * @return \Gueststream\PMS\IQWare\API\Reservation
542
     */
543
    public function setID_PromoPush($ID_PromoPush)
544
    {
545
        $this->ID_PromoPush = $ID_PromoPush;
546
        return $this;
547
    }
548
549
    /**
550
     * @return int
551
     */
552
    public function getID_PromoCode()
553
    {
554
        return $this->ID_PromoCode;
555
    }
556
557
    /**
558
     * @param int $ID_PromoCode
559
     * @return \Gueststream\PMS\IQWare\API\Reservation
560
     */
561
    public function setID_PromoCode($ID_PromoCode)
562
    {
563
        $this->ID_PromoCode = $ID_PromoCode;
564
        return $this;
565
    }
566
567
    /**
568
     * @return int
569
     */
570
    public function getBookingCondoType()
571
    {
572
        return $this->BookingCondoType;
573
    }
574
575
    /**
576
     * @param int $BookingCondoType
577
     * @return \Gueststream\PMS\IQWare\API\Reservation
578
     */
579
    public function setBookingCondoType($BookingCondoType)
580
    {
581
        $this->BookingCondoType = $BookingCondoType;
582
        return $this;
583
    }
584
585
    /**
586
     * @return boolean
587
     */
588
    public function getIsRBO()
589
    {
590
        return $this->IsRBO;
591
    }
592
593
    /**
594
     * @param boolean $IsRBO
595
     * @return \Gueststream\PMS\IQWare\API\Reservation
596
     */
597
    public function setIsRBO($IsRBO)
598
    {
599
        $this->IsRBO = $IsRBO;
600
        return $this;
601
    }
602
603
    /**
604
     * @return int
605
     */
606
    public function getCCType()
607
    {
608
        return $this->CCType;
609
    }
610
611
    /**
612
     * @param int $CCType
613
     * @return \Gueststream\PMS\IQWare\API\Reservation
614
     */
615
    public function setCCType($CCType)
616
    {
617
        $this->CCType = $CCType;
618
        return $this;
619
    }
620
621
    /**
622
     * @return string
623
     */
624
    public function getCCNo()
625
    {
626
        return $this->CCNo;
627
    }
628
629
    /**
630
     * @param string $CCNo
631
     * @return \Gueststream\PMS\IQWare\API\Reservation
632
     */
633
    public function setCCNo($CCNo)
634
    {
635
        $this->CCNo = $CCNo;
636
        return $this;
637
    }
638
639
    /**
640
     * @return string
641
     */
642
    public function getCCExp()
643
    {
644
        return $this->CCExp;
645
    }
646
647
    /**
648
     * @param string $CCExp
649
     * @return \Gueststream\PMS\IQWare\API\Reservation
650
     */
651
    public function setCCExp($CCExp)
652
    {
653
        $this->CCExp = $CCExp;
654
        return $this;
655
    }
656
657
    /**
658
     * @return \DateTime
659
     */
660
    public function getArrivalDate()
661
    {
662
        if ($this->ArrivalDate == null) {
663
            return null;
664
        } else {
665
            try {
666
                return new \DateTime($this->ArrivalDate);
667
            } catch (\Exception $e) {
668
                return false;
669
            }
670
        }
671
    }
672
673
    /**
674
     * @param \DateTime $ArrivalDate
675
     * @return \Gueststream\PMS\IQWare\API\Reservation
676
     */
677
    public function setArrivalDate(\DateTime $ArrivalDate)
678
    {
679
        $this->ArrivalDate = $ArrivalDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
680
        return $this;
681
    }
682
683
    /**
684
     * @return \DateTime
685
     */
686
    public function getDepartureDate()
687
    {
688
        if ($this->DepartureDate == null) {
689
            return null;
690
        } else {
691
            try {
692
                return new \DateTime($this->DepartureDate);
693
            } catch (\Exception $e) {
694
                return false;
695
            }
696
        }
697
    }
698
699
    /**
700
     * @param \DateTime $DepartureDate
701
     * @return \Gueststream\PMS\IQWare\API\Reservation
702
     */
703
    public function setDepartureDate(\DateTime $DepartureDate)
704
    {
705
        $this->DepartureDate = $DepartureDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
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..

Loading history...
706
        return $this;
707
    }
708
709
    /**
710
     * @return int
711
     */
712
    public function getRoomType()
713
    {
714
        return $this->RoomType;
715
    }
716
717
    /**
718
     * @param int $RoomType
719
     * @return \Gueststream\PMS\IQWare\API\Reservation
720
     */
721
    public function setRoomType($RoomType)
722
    {
723
        $this->RoomType = $RoomType;
724
        return $this;
725
    }
726
727
    /**
728
     * @return int
729
     */
730
    public function getRoomQty()
731
    {
732
        return $this->RoomQty;
733
    }
734
735
    /**
736
     * @param int $RoomQty
737
     * @return \Gueststream\PMS\IQWare\API\Reservation
738
     */
739
    public function setRoomQty($RoomQty)
740
    {
741
        $this->RoomQty = $RoomQty;
742
        return $this;
743
    }
744
745
    /**
746
     * @return int
747
     */
748
    public function getGuestCount()
749
    {
750
        return $this->GuestCount;
751
    }
752
753
    /**
754
     * @param int $GuestCount
755
     * @return \Gueststream\PMS\IQWare\API\Reservation
756
     */
757
    public function setGuestCount($GuestCount)
758
    {
759
        $this->GuestCount = $GuestCount;
760
        return $this;
761
    }
762
763
    /**
764
     * @return ChildrenBreakDown
765
     */
766
    public function getChildrenBreakDown()
767
    {
768
        return $this->ChildrenBreakDown;
769
    }
770
771
    /**
772
     * @param ChildrenBreakDown $ChildrenBreakDown
773
     * @return \Gueststream\PMS\IQWare\API\Reservation
774
     */
775
    public function setChildrenBreakDown($ChildrenBreakDown)
776
    {
777
        $this->ChildrenBreakDown = $ChildrenBreakDown;
778
        return $this;
779
    }
780
781
    /**
782
     * @return int
783
     */
784
    public function getRate()
785
    {
786
        return $this->Rate;
787
    }
788
789
    /**
790
     * @param int $Rate
791
     * @return \Gueststream\PMS\IQWare\API\Reservation
792
     */
793
    public function setRate($Rate)
794
    {
795
        $this->Rate = $Rate;
796
        return $this;
797
    }
798
799
    /**
800
     * @return boolean
801
     */
802
    public function getIsInsuranceAccepted()
803
    {
804
        return $this->IsInsuranceAccepted;
805
    }
806
807
    /**
808
     * @param boolean $IsInsuranceAccepted
809
     * @return \Gueststream\PMS\IQWare\API\Reservation
810
     */
811
    public function setIsInsuranceAccepted($IsInsuranceAccepted)
812
    {
813
        $this->IsInsuranceAccepted = $IsInsuranceAccepted;
814
        return $this;
815
    }
816
817
    /**
818
     * @return Attributes
819
     */
820
    public function getAttributes()
821
    {
822
        return $this->Attributes;
823
    }
824
825
    /**
826
     * @param Attributes $Attributes
827
     * @return \Gueststream\PMS\IQWare\API\Reservation
828
     */
829
    public function setAttributes($Attributes)
830
    {
831
        $this->Attributes = $Attributes;
832
        return $this;
833
    }
834
835
    /**
836
     * @return Localizations
837
     */
838
    public function getLocalizations()
839
    {
840
        return $this->Localizations;
841
    }
842
843
    /**
844
     * @param Localizations $Localizations
845
     * @return \Gueststream\PMS\IQWare\API\Reservation
846
     */
847
    public function setLocalizations($Localizations)
848
    {
849
        $this->Localizations = $Localizations;
850
        return $this;
851
    }
852
853
    /**
854
     * @return string
855
     */
856
    public function getSpecialRequests()
857
    {
858
        return $this->SpecialRequests;
859
    }
860
861
    /**
862
     * @param string $SpecialRequests
863
     * @return \Gueststream\PMS\IQWare\API\Reservation
864
     */
865
    public function setSpecialRequests($SpecialRequests)
866
    {
867
        $this->SpecialRequests = $SpecialRequests;
868
        return $this;
869
    }
870
871
    /**
872
     * @return string
873
     */
874
    public function getStrComments()
875
    {
876
        return $this->strComments;
877
    }
878
879
    /**
880
     * @param string $strComments
881
     * @return \Gueststream\PMS\IQWare\API\Reservation
882
     */
883
    public function setStrComments($strComments)
884
    {
885
        $this->strComments = $strComments;
886
        return $this;
887
    }
888
889
    /**
890
     * @return int
891
     */
892
    public function getTAAccountNo()
893
    {
894
        return $this->TAAccountNo;
895
    }
896
897
    /**
898
     * @param int $TAAccountNo
899
     * @return \Gueststream\PMS\IQWare\API\Reservation
900
     */
901
    public function setTAAccountNo($TAAccountNo)
902
    {
903
        $this->TAAccountNo = $TAAccountNo;
904
        return $this;
905
    }
906
907
    /**
908
     * @return int
909
     */
910
    public function getMemAccountNo()
911
    {
912
        return $this->MemAccountNo;
913
    }
914
915
    /**
916
     * @param int $MemAccountNo
917
     * @return \Gueststream\PMS\IQWare\API\Reservation
918
     */
919
    public function setMemAccountNo($MemAccountNo)
920
    {
921
        $this->MemAccountNo = $MemAccountNo;
922
        return $this;
923
    }
924
925
    /**
926
     * @return int
927
     */
928
    public function getCondoOwnerId()
929
    {
930
        return $this->CondoOwnerId;
931
    }
932
933
    /**
934
     * @param int $CondoOwnerId
935
     * @return \Gueststream\PMS\IQWare\API\Reservation
936
     */
937
    public function setCondoOwnerId($CondoOwnerId)
938
    {
939
        $this->CondoOwnerId = $CondoOwnerId;
940
        return $this;
941
    }
942
943
    /**
944
     * @return boolean
945
     */
946
    public function getIsPaidByFOO()
947
    {
948
        return $this->IsPaidByFOO;
949
    }
950
951
    /**
952
     * @param boolean $IsPaidByFOO
953
     * @return \Gueststream\PMS\IQWare\API\Reservation
954
     */
955
    public function setIsPaidByFOO($IsPaidByFOO)
956
    {
957
        $this->IsPaidByFOO = $IsPaidByFOO;
958
        return $this;
959
    }
960
961
    /**
962
     * @return int
963
     */
964
    public function getID_Member()
965
    {
966
        return $this->ID_Member;
967
    }
968
969
    /**
970
     * @param int $ID_Member
971
     * @return \Gueststream\PMS\IQWare\API\Reservation
972
     */
973
    public function setID_Member($ID_Member)
974
    {
975
        $this->ID_Member = $ID_Member;
976
        return $this;
977
    }
978
979
    /**
980
     * @return int
981
     */
982
    public function getDayOfBirth()
983
    {
984
        return $this->DayOfBirth;
985
    }
986
987
    /**
988
     * @param int $DayOfBirth
989
     * @return \Gueststream\PMS\IQWare\API\Reservation
990
     */
991
    public function setDayOfBirth($DayOfBirth)
992
    {
993
        $this->DayOfBirth = $DayOfBirth;
994
        return $this;
995
    }
996
997
    /**
998
     * @return int
999
     */
1000
    public function getMonthOfBirth()
1001
    {
1002
        return $this->MonthOfBirth;
1003
    }
1004
1005
    /**
1006
     * @param int $MonthOfBirth
1007
     * @return \Gueststream\PMS\IQWare\API\Reservation
1008
     */
1009
    public function setMonthOfBirth($MonthOfBirth)
1010
    {
1011
        $this->MonthOfBirth = $MonthOfBirth;
1012
        return $this;
1013
    }
1014
1015
    /**
1016
     * @return int
1017
     */
1018
    public function getYearOfBirth()
1019
    {
1020
        return $this->YearOfBirth;
1021
    }
1022
1023
    /**
1024
     * @param int $YearOfBirth
1025
     * @return \Gueststream\PMS\IQWare\API\Reservation
1026
     */
1027
    public function setYearOfBirth($YearOfBirth)
1028
    {
1029
        $this->YearOfBirth = $YearOfBirth;
1030
        return $this;
1031
    }
1032
1033
    /**
1034
     * @return int
1035
     */
1036
    public function getRoomId()
1037
    {
1038
        return $this->RoomId;
1039
    }
1040
1041
    /**
1042
     * @param int $RoomId
1043
     * @return \Gueststream\PMS\IQWare\API\Reservation
1044
     */
1045
    public function setRoomId($RoomId)
1046
    {
1047
        $this->RoomId = $RoomId;
1048
        return $this;
1049
    }
1050
1051
    /**
1052
     * @return string
1053
     */
1054
    public function getRoomKeyCode()
1055
    {
1056
        return $this->RoomKeyCode;
1057
    }
1058
1059
    /**
1060
     * @param string $RoomKeyCode
1061
     * @return \Gueststream\PMS\IQWare\API\Reservation
1062
     */
1063
    public function setRoomKeyCode($RoomKeyCode)
1064
    {
1065
        $this->RoomKeyCode = $RoomKeyCode;
1066
        return $this;
1067
    }
1068
1069
    /**
1070
     * @return string
1071
     */
1072
    public function getELMMarketingSource()
1073
    {
1074
        return $this->ELMMarketingSource;
1075
    }
1076
1077
    /**
1078
     * @param string $ELMMarketingSource
1079
     * @return \Gueststream\PMS\IQWare\API\Reservation
1080
     */
1081
    public function setELMMarketingSource($ELMMarketingSource)
1082
    {
1083
        $this->ELMMarketingSource = $ELMMarketingSource;
1084
        return $this;
1085
    }
1086
1087
    /**
1088
     * @return string
1089
     */
1090
    public function getELMLeadKey()
1091
    {
1092
        return $this->ELMLeadKey;
1093
    }
1094
1095
    /**
1096
     * @param string $ELMLeadKey
1097
     * @return \Gueststream\PMS\IQWare\API\Reservation
1098
     */
1099
    public function setELMLeadKey($ELMLeadKey)
1100
    {
1101
        $this->ELMLeadKey = $ELMLeadKey;
1102
        return $this;
1103
    }
1104
1105
    /**
1106
     * @return BookingAccountStatusEnum
1107
     */
1108
    public function getAccountStatus()
1109
    {
1110
        return $this->AccountStatus;
1111
    }
1112
1113
    /**
1114
     * @param BookingAccountStatusEnum $AccountStatus
1115
     * @return \Gueststream\PMS\IQWare\API\Reservation
1116
     */
1117
    public function setAccountStatus($AccountStatus)
1118
    {
1119
        $this->AccountStatus = $AccountStatus;
1120
        return $this;
1121
    }
1122
1123
    /**
1124
     * @return int
1125
     */
1126
    public function getCancellationNo()
1127
    {
1128
        return $this->CancellationNo;
1129
    }
1130
1131
    /**
1132
     * @param int $CancellationNo
1133
     * @return \Gueststream\PMS\IQWare\API\Reservation
1134
     */
1135
    public function setCancellationNo($CancellationNo)
1136
    {
1137
        $this->CancellationNo = $CancellationNo;
1138
        return $this;
1139
    }
1140
1141
    /**
1142
     * @return int
1143
     */
1144
    public function getBusinessSource()
1145
    {
1146
        return $this->BusinessSource;
1147
    }
1148
1149
    /**
1150
     * @param int $BusinessSource
1151
     * @return \Gueststream\PMS\IQWare\API\Reservation
1152
     */
1153
    public function setBusinessSource($BusinessSource)
1154
    {
1155
        $this->BusinessSource = $BusinessSource;
1156
        return $this;
1157
    }
1158
1159
    /**
1160
     * @return int
1161
     */
1162
    public function getGuestType()
1163
    {
1164
        return $this->GuestType;
1165
    }
1166
1167
    /**
1168
     * @param int $GuestType
1169
     * @return \Gueststream\PMS\IQWare\API\Reservation
1170
     */
1171
    public function setGuestType($GuestType)
1172
    {
1173
        $this->GuestType = $GuestType;
1174
        return $this;
1175
    }
1176
1177
    /**
1178
     * @return int
1179
     */
1180
    public function getGeographicCode()
1181
    {
1182
        return $this->GeographicCode;
1183
    }
1184
1185
    /**
1186
     * @param int $GeographicCode
1187
     * @return \Gueststream\PMS\IQWare\API\Reservation
1188
     */
1189
    public function setGeographicCode($GeographicCode)
1190
    {
1191
        $this->GeographicCode = $GeographicCode;
1192
        return $this;
1193
    }
1194
1195
    /**
1196
     * @return int
1197
     */
1198
    public function getID_ActivityToken()
1199
    {
1200
        return $this->ID_ActivityToken;
1201
    }
1202
1203
    /**
1204
     * @param int $ID_ActivityToken
1205
     * @return \Gueststream\PMS\IQWare\API\Reservation
1206
     */
1207
    public function setID_ActivityToken($ID_ActivityToken)
1208
    {
1209
        $this->ID_ActivityToken = $ID_ActivityToken;
1210
        return $this;
1211
    }
1212
}
1213