__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 61
Code Lines 59

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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