BeachChairSaveReservationWithCardProcessed   D
last analyzed

Complexity

Total Complexity 117

Size/Duplication

Total Lines 1408
Duplicated Lines 100 %

Coupling/Cohesion

Components 3
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 117
lcom 3
cbo 0
dl 1408
loc 1408
ccs 0
cts 577
cp 0
rs 4.4102
c 0
b 0
f 0

111 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 58 58 1
A getIntGUID() 4 4 1
A setIntGUID() 5 5 1
A getStrISOLanguage() 4 4 1
A setStrISOLanguage() 5 5 1
A getStrFirstName() 4 4 1
A setStrFirstName() 5 5 1
A getStrLastName() 4 4 1
A setStrLastName() 5 5 1
A getStrCompany() 4 4 1
A setStrCompany() 5 5 1
A getStrAddress1() 4 4 1
A setStrAddress1() 5 5 1
A getStrAddress2() 4 4 1
A setStrAddress2() 5 5 1
A getStrCity() 4 4 1
A setStrCity() 5 5 1
A getStrState() 4 4 1
A setStrState() 5 5 1
A getStrCountry() 4 4 1
A setStrCountry() 5 5 1
A getStrZip() 4 4 1
A setStrZip() 5 5 1
A getStrPhone() 4 4 1
A setStrPhone() 5 5 1
A getStrEmail() 4 4 1
A setStrEmail() 5 5 1
A getIntCCType() 4 4 1
A setIntCCType() 5 5 1
A getStrVaultTokenGuid() 4 4 1
A setStrVaultTokenGuid() 5 5 1
A getCVV2() 4 4 1
A setCVV2() 5 5 1
A getDtCCExp() 12 12 3
A setDtCCExp() 5 5 1
A getDtArrivalDate() 12 12 3
A setDtArrivalDate() 5 5 1
A getDtDepartureDate() 12 12 3
A setDtDepartureDate() 5 5 1
A getIntGuestCount() 4 4 1
A setIntGuestCount() 5 5 1
A getStrChildren() 4 4 1
A setStrChildren() 5 5 1
A getIntRateID() 4 4 1
A setIntRateID() 5 5 1
A getIntRoomTypeID() 4 4 1
A setIntRoomTypeID() 5 5 1
A getIntPromoPushID() 4 4 1
A setIntPromoPushID() 5 5 1
A getIntPromoCodeID() 4 4 1
A setIntPromoCodeID() 5 5 1
A getStrAttributes() 4 4 1
A setStrAttributes() 5 5 1
A getStrLocations() 4 4 1
A setStrLocations() 5 5 1
A getStrSpecialRequests() 4 4 1
A setStrSpecialRequests() 5 5 1
A getStrActivityStructure() 4 4 1
A setStrActivityStructure() 5 5 1
A getIntRoomQty() 4 4 1
A setIntRoomQty() 5 5 1
A getDstElements() 4 4 1
A setDstElements() 5 5 1
A getIntTANo() 4 4 1
A setIntTANo() 5 5 1
A getStrIATANo() 4 4 1
A setStrIATANo() 5 5 1
A getIntMemNo() 4 4 1
A setIntMemNo() 5 5 1
A getDstGolfPackageItems() 4 4 1
A setDstGolfPackageItems() 5 5 1
A getIntCondoOwnerId() 4 4 1
A setIntCondoOwnerId() 5 5 1
A getIntRoomId() 4 4 1
A setIntRoomId() 5 5 1
A getIntBookingCondoType() 4 4 1
A setIntBookingCondoType() 5 5 1
A getIsInsuranceAccepted() 4 4 1
A setIsInsuranceAccepted() 5 5 1
A getIntBuildingID() 4 4 1
A setIntBuildingID() 5 5 1
A getReservationAmount() 4 4 1
A setReservationAmount() 5 5 1
A getVaultLogin() 4 4 1
A setVaultLogin() 5 5 1
A getVaultPassword() 4 4 1
A setVaultPassword() 5 5 1
A getELMMarketingSource() 4 4 1
A setELMMarketingSource() 5 5 1
A getDayOfBirth() 4 4 1
A setDayOfBirth() 5 5 1
A getMonthOfBirth() 4 4 1
A setMonthOfBirth() 5 5 1
A getYearOfBirth() 4 4 1
A setYearOfBirth() 5 5 1
A getStrComments() 4 4 1
A setStrComments() 5 5 1
A getIsPaidByFOO() 4 4 1
A setIsPaidByFOO() 5 5 1
A getIsApplySpecialOffers() 4 4 1
A setIsApplySpecialOffers() 5 5 1
A getIntBusinessSourceID() 4 4 1
A setIntBusinessSourceID() 5 5 1
A getDstServicesChargesALaCarte() 4 4 1
A setDstServicesChargesALaCarte() 5 5 1
A getIntSuiteConfigurationID() 4 4 1
A setIntSuiteConfigurationID() 5 5 1
A getListActivityUnits() 4 4 1
A setListActivityUnits() 5 5 1
A getID_ActivityToken() 4 4 1
A setID_ActivityToken() 5 5 1

How to fix   Duplicated Code    Complexity   

Duplicated Code

Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.

Common duplication problems, and corresponding solutions are:

Complex Class

 Tip:   Before tackling complexity, make sure that you eliminate any duplication first. This often can reduce the size of classes significantly.

Complex classes like BeachChairSaveReservationWithCardProcessed often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.

Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.

While breaking up the class, it is a good idea to analyze how other classes use BeachChairSaveReservationWithCardProcessed, and based on these observations, apply Extract Interface, too.

1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5 View Code Duplication
class BeachChairSaveReservationWithCardProcessed
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

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