WebResConfig   F
last analyzed

Complexity

Total Complexity 163

Size/Duplication

Total Lines 1936
Duplicated Lines 0 %

Coupling/Cohesion

Components 4
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 163
lcom 4
cbo 0
dl 0
loc 1936
ccs 0
cts 790
cp 0
rs 0.6314
c 0
b 0
f 0

155 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 65 1
A getLoadTime() 0 12 3
A setLoadTime() 0 5 1
A getCurrentHotelDate() 0 12 3
A setCurrentHotelDate() 0 5 1
A getPropertyName() 0 4 1
A setPropertyName() 0 5 1
A getCurrencySymbol() 0 4 1
A setCurrencySymbol() 0 5 1
A getCurrencyId() 0 4 1
A setCurrencyId() 0 5 1
A getAddress() 0 4 1
A setAddress() 0 5 1
A getState() 0 4 1
A setState() 0 5 1
A getCountry() 0 4 1
A setCountry() 0 5 1
A getCity() 0 4 1
A setCity() 0 5 1
A getPhone800() 0 4 1
A setPhone800() 0 5 1
A getPhone() 0 4 1
A setPhone() 0 5 1
A getEmail() 0 4 1
A setEmail() 0 5 1
A getIdWebRes() 0 4 1
A setIdWebRes() 0 5 1
A getIdProperty() 0 4 1
A setIdProperty() 0 5 1
A getIdUser() 0 4 1
A setIdUser() 0 5 1
A getDefaultLanguage() 0 4 1
A setDefaultLanguage() 0 5 1
A getMinDayFromHotelDate() 0 4 1
A setMinDayFromHotelDate() 0 5 1
A getMaxDayFromHotelDate() 0 4 1
A setMaxDayFromHotelDate() 0 5 1
A getMinDate() 0 12 3
A setMinDate() 0 5 1
A getMaxDate() 0 12 3
A setMaxDate() 0 5 1
A getMinGuestCount() 0 4 1
A setMinGuestCount() 0 5 1
A getMaxGuestCount() 0 4 1
A setMaxGuestCount() 0 5 1
A getMaxChildCount() 0 4 1
A setMaxChildCount() 0 5 1
A getAllowModification() 0 4 1
A setAllowModification() 0 5 1
A getAllowCancellation() 0 4 1
A setAllowCancellation() 0 5 1
A getAutoSendConfirm() 0 4 1
A setAutoSendConfirm() 0 5 1
A getActive() 0 4 1
A setActive() 0 5 1
A getIsRoomTypeOverbook() 0 4 1
A setIsRoomTypeOverbook() 0 5 1
A getDefaultManualRateReason() 0 4 1
A setDefaultManualRateReason() 0 5 1
A getIsFirstLetterOfNameInUppercase() 0 4 1
A setIsFirstLetterOfNameInUppercase() 0 5 1
A getIsECheckActive() 0 4 1
A setIsECheckActive() 0 5 1
A getInventoryControl() 0 4 1
A setInventoryControl() 0 5 1
A getIsActivePaypal() 0 4 1
A setIsActivePaypal() 0 5 1
A getID_TrnPaypal() 0 4 1
A setID_TrnPaypal() 0 5 1
A getIsGlobalOverbook() 0 4 1
A setIsGlobalOverbook() 0 5 1
A getMinLenghtOfStay() 0 4 1
A setMinLenghtOfStay() 0 5 1
A getMaxLenghtOfStay() 0 4 1
A setMaxLenghtOfStay() 0 5 1
A getNamesInUppercase() 0 4 1
A setNamesInUppercase() 0 5 1
A getRoomFirst() 0 4 1
A setRoomFirst() 0 5 1
A getSendEmailConfirmation() 0 4 1
A setSendEmailConfirmation() 0 5 1
A getInstantEmailConfirmation() 0 4 1
A setInstantEmailConfirmation() 0 5 1
A getDefaultidSceBusiness() 0 4 1
A setDefaultidSceBusiness() 0 5 1
A getNextWebResNumber() 0 4 1
A setNextWebResNumber() 0 5 1
A getIsFirstNameRequired() 0 4 1
A setIsFirstNameRequired() 0 5 1
A getIsCompanyRequired() 0 4 1
A setIsCompanyRequired() 0 5 1
A getIsAdressRequired() 0 4 1
A setIsAdressRequired() 0 5 1
A getIsCityRequired() 0 4 1
A setIsCityRequired() 0 5 1
A getIsStateProvRequired() 0 4 1
A setIsStateProvRequired() 0 5 1
A getIsZipCodeRequired() 0 4 1
A setIsZipCodeRequired() 0 5 1
A getIsCountryRequired() 0 4 1
A setIsCountryRequired() 0 5 1
A getIsPhoneRequired() 0 4 1
A setIsPhoneRequired() 0 5 1
A getIsEmailRequired() 0 4 1
A setIsEmailRequired() 0 5 1
A getIsccRequired() 0 4 1
A setIsccRequired() 0 5 1
A getMaxChildAge() 0 4 1
A setMaxChildAge() 0 5 1
A getDefaultidGuestType() 0 4 1
A setDefaultidGuestType() 0 5 1
A getDefaultidGeographic() 0 4 1
A setDefaultidGeographic() 0 5 1
A getDefaultAdultQty() 0 4 1
A setDefaultAdultQty() 0 5 1
A getShowRooms() 0 4 1
A setShowRooms() 0 5 1
A getAcceptExpiredCCAtCheckOut() 0 4 1
A setAcceptExpiredCCAtCheckOut() 0 5 1
A getHotelImageUrl() 0 4 1
A setHotelImageUrl() 0 5 1
A getHotelDescription() 0 4 1
A setHotelDescription() 0 5 1
A getHotelPoliciesEnglish() 0 4 1
A setHotelPoliciesEnglish() 0 5 1
A getHotelPoliciesFrench() 0 4 1
A setHotelPoliciesFrench() 0 5 1
A getHotelPoliciesSpanish() 0 4 1
A setHotelPoliciesSpanish() 0 5 1
A getIsPromoEnable() 0 4 1
A setIsPromoEnable() 0 5 1
A getMultiHotelDefaultIDRoomType() 0 4 1
A setMultiHotelDefaultIDRoomType() 0 5 1
A getMultiHotelDefaultIDRateCode() 0 4 1
A setMultiHotelDefaultIDRateCode() 0 5 1
A getIsAdultsChildrenNotVisible() 0 4 1
A setIsAdultsChildrenNotVisible() 0 5 1
A getIsRoomNoHidden() 0 4 1
A setIsRoomNoHidden() 0 5 1
A getIsAscendingRank() 0 4 1
A setIsAscendingRank() 0 5 1
A getIsTravelInsEnable() 0 4 1
A setIsTravelInsEnable() 0 5 1
A getIsMailing() 0 4 1
A setIsMailing() 0 5 1
A getIsGroupShowMasterBalance() 0 4 1
A setIsGroupShowMasterBalance() 0 5 1
A getIsGroupAllowCancel() 0 4 1
A setIsGroupAllowCancel() 0 5 1
A getIsGroupAllowChangeLoginPassword() 0 4 1
A setIsGroupAllowChangeLoginPassword() 0 5 1
A getIsGrpIndBookingEnable() 0 4 1
A setIsGrpIndBookingEnable() 0 5 1
A getIsLimitativeInWEB() 0 4 1
A setIsLimitativeInWEB() 0 5 1

How to fix   Complexity   

Complex Class

Complex classes like WebResConfig 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 WebResConfig, and based on these observations, apply Extract Interface, too.

1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class WebResConfig
6
{
7
8
    /**
9
     * @var \DateTime $LoadTime
10
     */
11
    protected $LoadTime = null;
12
13
    /**
14
     * @var \DateTime $CurrentHotelDate
15
     */
16
    protected $CurrentHotelDate = null;
17
18
    /**
19
     * @var string $PropertyName
20
     */
21
    protected $PropertyName = null;
22
23
    /**
24
     * @var string $CurrencySymbol
25
     */
26
    protected $CurrencySymbol = null;
27
28
    /**
29
     * @var int $CurrencyId
30
     */
31
    protected $CurrencyId = null;
32
33
    /**
34
     * @var string $Address
35
     */
36
    protected $Address = null;
37
38
    /**
39
     * @var string $State
40
     */
41
    protected $State = null;
42
43
    /**
44
     * @var string $Country
45
     */
46
    protected $Country = null;
47
48
    /**
49
     * @var string $City
50
     */
51
    protected $City = null;
52
53
    /**
54
     * @var string $Phone800
55
     */
56
    protected $Phone800 = 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 $IdWebRes
70
     */
71
    protected $IdWebRes = null;
72
73
    /**
74
     * @var int $IdProperty
75
     */
76
    protected $IdProperty = null;
77
78
    /**
79
     * @var int $IdUser
80
     */
81
    protected $IdUser = null;
82
83
    /**
84
     * @var string $DefaultLanguage
85
     */
86
    protected $DefaultLanguage = null;
87
88
    /**
89
     * @var int $MinDayFromHotelDate
90
     */
91
    protected $MinDayFromHotelDate = null;
92
93
    /**
94
     * @var int $MaxDayFromHotelDate
95
     */
96
    protected $MaxDayFromHotelDate = null;
97
98
    /**
99
     * @var \DateTime $MinDate
100
     */
101
    protected $MinDate = null;
102
103
    /**
104
     * @var \DateTime $MaxDate
105
     */
106
    protected $MaxDate = null;
107
108
    /**
109
     * @var int $MinGuestCount
110
     */
111
    protected $MinGuestCount = null;
112
113
    /**
114
     * @var int $MaxGuestCount
115
     */
116
    protected $MaxGuestCount = null;
117
118
    /**
119
     * @var int $MaxChildCount
120
     */
121
    protected $MaxChildCount = null;
122
123
    /**
124
     * @var boolean $AllowModification
125
     */
126
    protected $AllowModification = null;
127
128
    /**
129
     * @var boolean $AllowCancellation
130
     */
131
    protected $AllowCancellation = null;
132
133
    /**
134
     * @var boolean $AutoSendConfirm
135
     */
136
    protected $AutoSendConfirm = null;
137
138
    /**
139
     * @var boolean $Active
140
     */
141
    protected $Active = null;
142
143
    /**
144
     * @var boolean $IsRoomTypeOverbook
145
     */
146
    protected $IsRoomTypeOverbook = null;
147
148
    /**
149
     * @var int $DefaultManualRateReason
150
     */
151
    protected $DefaultManualRateReason = null;
152
153
    /**
154
     * @var boolean $IsFirstLetterOfNameInUppercase
155
     */
156
    protected $IsFirstLetterOfNameInUppercase = null;
157
158
    /**
159
     * @var boolean $IsECheckActive
160
     */
161
    protected $IsECheckActive = null;
162
163
    /**
164
     * @var int $InventoryControl
165
     */
166
    protected $InventoryControl = null;
167
168
    /**
169
     * @var boolean $IsActivePaypal
170
     */
171
    protected $IsActivePaypal = null;
172
173
    /**
174
     * @var int $ID_TrnPaypal
175
     */
176
    protected $ID_TrnPaypal = null;
177
178
    /**
179
     * @var boolean $IsGlobalOverbook
180
     */
181
    protected $IsGlobalOverbook = null;
182
183
    /**
184
     * @var int $MinLenghtOfStay
185
     */
186
    protected $MinLenghtOfStay = null;
187
188
    /**
189
     * @var int $MaxLenghtOfStay
190
     */
191
    protected $MaxLenghtOfStay = null;
192
193
    /**
194
     * @var boolean $NamesInUppercase
195
     */
196
    protected $NamesInUppercase = null;
197
198
    /**
199
     * @var boolean $RoomFirst
200
     */
201
    protected $RoomFirst = null;
202
203
    /**
204
     * @var boolean $SendEmailConfirmation
205
     */
206
    protected $SendEmailConfirmation = null;
207
208
    /**
209
     * @var boolean $InstantEmailConfirmation
210
     */
211
    protected $InstantEmailConfirmation = null;
212
213
    /**
214
     * @var int $DefaultidSceBusiness
215
     */
216
    protected $DefaultidSceBusiness = null;
217
218
    /**
219
     * @var int $NextWebResNumber
220
     */
221
    protected $NextWebResNumber = null;
222
223
    /**
224
     * @var boolean $IsFirstNameRequired
225
     */
226
    protected $IsFirstNameRequired = null;
227
228
    /**
229
     * @var boolean $IsCompanyRequired
230
     */
231
    protected $IsCompanyRequired = null;
232
233
    /**
234
     * @var boolean $IsAdressRequired
235
     */
236
    protected $IsAdressRequired = null;
237
238
    /**
239
     * @var boolean $IsCityRequired
240
     */
241
    protected $IsCityRequired = null;
242
243
    /**
244
     * @var boolean $IsStateProvRequired
245
     */
246
    protected $IsStateProvRequired = null;
247
248
    /**
249
     * @var boolean $IsZipCodeRequired
250
     */
251
    protected $IsZipCodeRequired = null;
252
253
    /**
254
     * @var boolean $IsCountryRequired
255
     */
256
    protected $IsCountryRequired = null;
257
258
    /**
259
     * @var boolean $IsPhoneRequired
260
     */
261
    protected $IsPhoneRequired = null;
262
263
    /**
264
     * @var boolean $IsEmailRequired
265
     */
266
    protected $IsEmailRequired = null;
267
268
    /**
269
     * @var boolean $IsccRequired
270
     */
271
    protected $IsccRequired = null;
272
273
    /**
274
     * @var int $MaxChildAge
275
     */
276
    protected $MaxChildAge = null;
277
278
    /**
279
     * @var int $DefaultidGuestType
280
     */
281
    protected $DefaultidGuestType = null;
282
283
    /**
284
     * @var int $DefaultidGeographic
285
     */
286
    protected $DefaultidGeographic = null;
287
288
    /**
289
     * @var int $DefaultAdultQty
290
     */
291
    protected $DefaultAdultQty = null;
292
293
    /**
294
     * @var boolean $ShowRooms
295
     */
296
    protected $ShowRooms = null;
297
298
    /**
299
     * @var boolean $AcceptExpiredCCAtCheckOut
300
     */
301
    protected $AcceptExpiredCCAtCheckOut = null;
302
303
    /**
304
     * @var string $HotelImageUrl
305
     */
306
    protected $HotelImageUrl = null;
307
308
    /**
309
     * @var string $HotelDescription
310
     */
311
    protected $HotelDescription = null;
312
313
    /**
314
     * @var string $HotelPoliciesEnglish
315
     */
316
    protected $HotelPoliciesEnglish = null;
317
318
    /**
319
     * @var string $HotelPoliciesFrench
320
     */
321
    protected $HotelPoliciesFrench = null;
322
323
    /**
324
     * @var string $HotelPoliciesSpanish
325
     */
326
    protected $HotelPoliciesSpanish = null;
327
328
    /**
329
     * @var boolean $IsPromoEnable
330
     */
331
    protected $IsPromoEnable = null;
332
333
    /**
334
     * @var int $MultiHotelDefaultIDRoomType
335
     */
336
    protected $MultiHotelDefaultIDRoomType = null;
337
338
    /**
339
     * @var int $MultiHotelDefaultIDRateCode
340
     */
341
    protected $MultiHotelDefaultIDRateCode = null;
342
343
    /**
344
     * @var boolean $IsAdultsChildrenNotVisible
345
     */
346
    protected $IsAdultsChildrenNotVisible = null;
347
348
    /**
349
     * @var boolean $IsRoomNoHidden
350
     */
351
    protected $IsRoomNoHidden = null;
352
353
    /**
354
     * @var boolean $IsAscendingRank
355
     */
356
    protected $IsAscendingRank = null;
357
358
    /**
359
     * @var boolean $IsTravelInsEnable
360
     */
361
    protected $IsTravelInsEnable = null;
362
363
    /**
364
     * @var boolean $IsMailing
365
     */
366
    protected $IsMailing = null;
367
368
    /**
369
     * @var boolean $IsGroupShowMasterBalance
370
     */
371
    protected $IsGroupShowMasterBalance = null;
372
373
    /**
374
     * @var boolean $IsGroupAllowCancel
375
     */
376
    protected $IsGroupAllowCancel = null;
377
378
    /**
379
     * @var boolean $IsGroupAllowChangeLoginPassword
380
     */
381
    protected $IsGroupAllowChangeLoginPassword = null;
382
383
    /**
384
     * @var boolean $IsGrpIndBookingEnable
385
     */
386
    protected $IsGrpIndBookingEnable = null;
387
388
    /**
389
     * @var boolean $IsLimitativeInWEB
390
     */
391
    protected $IsLimitativeInWEB = null;
392
393
    /**
394
     * @param \DateTime $LoadTime
395
     * @param \DateTime $CurrentHotelDate
396
     * @param int $CurrencyId
397
     * @param int $IdWebRes
398
     * @param int $IdProperty
399
     * @param int $IdUser
400
     * @param int $MinDayFromHotelDate
401
     * @param int $MaxDayFromHotelDate
402
     * @param \DateTime $MinDate
403
     * @param \DateTime $MaxDate
404
     * @param int $MinGuestCount
405
     * @param int $MaxGuestCount
406
     * @param int $MaxChildCount
407
     * @param boolean $AllowModification
408
     * @param boolean $AllowCancellation
409
     * @param boolean $AutoSendConfirm
410
     * @param boolean $Active
411
     * @param boolean $IsRoomTypeOverbook
412
     * @param int $DefaultManualRateReason
413
     * @param boolean $IsFirstLetterOfNameInUppercase
414
     * @param boolean $IsECheckActive
415
     * @param int $InventoryControl
416
     * @param boolean $IsActivePaypal
417
     * @param int $ID_TrnPaypal
418
     * @param boolean $IsGlobalOverbook
419
     * @param int $MinLenghtOfStay
420
     * @param int $MaxLenghtOfStay
421
     * @param boolean $NamesInUppercase
422
     * @param boolean $RoomFirst
423
     * @param boolean $SendEmailConfirmation
424
     * @param boolean $InstantEmailConfirmation
425
     * @param int $DefaultidSceBusiness
426
     * @param int $NextWebResNumber
427
     * @param boolean $IsFirstNameRequired
428
     * @param boolean $IsCompanyRequired
429
     * @param boolean $IsAdressRequired
430
     * @param boolean $IsCityRequired
431
     * @param boolean $IsStateProvRequired
432
     * @param boolean $IsZipCodeRequired
433
     * @param boolean $IsCountryRequired
434
     * @param boolean $IsPhoneRequired
435
     * @param boolean $IsEmailRequired
436
     * @param boolean $IsccRequired
437
     * @param int $MaxChildAge
438
     * @param int $DefaultidGuestType
439
     * @param int $DefaultidGeographic
440
     * @param int $DefaultAdultQty
441
     * @param boolean $ShowRooms
442
     * @param boolean $AcceptExpiredCCAtCheckOut
443
     * @param boolean $IsPromoEnable
444
     * @param int $MultiHotelDefaultIDRoomType
445
     * @param int $MultiHotelDefaultIDRateCode
446
     * @param boolean $IsAdultsChildrenNotVisible
447
     * @param boolean $IsRoomNoHidden
448
     * @param boolean $IsAscendingRank
449
     * @param boolean $IsTravelInsEnable
450
     * @param boolean $IsMailing
451
     * @param boolean $IsGroupShowMasterBalance
452
     * @param boolean $IsGroupAllowCancel
453
     * @param boolean $IsGroupAllowChangeLoginPassword
454
     * @param boolean $IsGrpIndBookingEnable
455
     * @param boolean $IsLimitativeInWEB
456
     */
457
    public function __construct(\DateTime $LoadTime, \DateTime $CurrentHotelDate, $CurrencyId, $IdWebRes, $IdProperty, $IdUser, $MinDayFromHotelDate, $MaxDayFromHotelDate, \DateTime $MinDate, \DateTime $MaxDate, $MinGuestCount, $MaxGuestCount, $MaxChildCount, $AllowModification, $AllowCancellation, $AutoSendConfirm, $Active, $IsRoomTypeOverbook, $DefaultManualRateReason, $IsFirstLetterOfNameInUppercase, $IsECheckActive, $InventoryControl, $IsActivePaypal, $ID_TrnPaypal, $IsGlobalOverbook, $MinLenghtOfStay, $MaxLenghtOfStay, $NamesInUppercase, $RoomFirst, $SendEmailConfirmation, $InstantEmailConfirmation, $DefaultidSceBusiness, $NextWebResNumber, $IsFirstNameRequired, $IsCompanyRequired, $IsAdressRequired, $IsCityRequired, $IsStateProvRequired, $IsZipCodeRequired, $IsCountryRequired, $IsPhoneRequired, $IsEmailRequired, $IsccRequired, $MaxChildAge, $DefaultidGuestType, $DefaultidGeographic, $DefaultAdultQty, $ShowRooms, $AcceptExpiredCCAtCheckOut, $IsPromoEnable, $MultiHotelDefaultIDRoomType, $MultiHotelDefaultIDRateCode, $IsAdultsChildrenNotVisible, $IsRoomNoHidden, $IsAscendingRank, $IsTravelInsEnable, $IsMailing, $IsGroupShowMasterBalance, $IsGroupAllowCancel, $IsGroupAllowChangeLoginPassword, $IsGrpIndBookingEnable, $IsLimitativeInWEB)
458
    {
459
        $this->LoadTime = $LoadTime->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $LoadTime->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $LoadTime.

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...
460
        $this->CurrentHotelDate = $CurrentHotelDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $CurrentHotelDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $CurrentHotelDate.

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...
461
        $this->CurrencyId = $CurrencyId;
462
        $this->IdWebRes = $IdWebRes;
463
        $this->IdProperty = $IdProperty;
464
        $this->IdUser = $IdUser;
465
        $this->MinDayFromHotelDate = $MinDayFromHotelDate;
466
        $this->MaxDayFromHotelDate = $MaxDayFromHotelDate;
467
        $this->MinDate = $MinDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $MinDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $MinDate.

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...
468
        $this->MaxDate = $MaxDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $MaxDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $MaxDate.

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...
469
        $this->MinGuestCount = $MinGuestCount;
470
        $this->MaxGuestCount = $MaxGuestCount;
471
        $this->MaxChildCount = $MaxChildCount;
472
        $this->AllowModification = $AllowModification;
473
        $this->AllowCancellation = $AllowCancellation;
474
        $this->AutoSendConfirm = $AutoSendConfirm;
475
        $this->Active = $Active;
476
        $this->IsRoomTypeOverbook = $IsRoomTypeOverbook;
477
        $this->DefaultManualRateReason = $DefaultManualRateReason;
478
        $this->IsFirstLetterOfNameInUppercase = $IsFirstLetterOfNameInUppercase;
479
        $this->IsECheckActive = $IsECheckActive;
480
        $this->InventoryControl = $InventoryControl;
481
        $this->IsActivePaypal = $IsActivePaypal;
482
        $this->ID_TrnPaypal = $ID_TrnPaypal;
483
        $this->IsGlobalOverbook = $IsGlobalOverbook;
484
        $this->MinLenghtOfStay = $MinLenghtOfStay;
485
        $this->MaxLenghtOfStay = $MaxLenghtOfStay;
486
        $this->NamesInUppercase = $NamesInUppercase;
487
        $this->RoomFirst = $RoomFirst;
488
        $this->SendEmailConfirmation = $SendEmailConfirmation;
489
        $this->InstantEmailConfirmation = $InstantEmailConfirmation;
490
        $this->DefaultidSceBusiness = $DefaultidSceBusiness;
491
        $this->NextWebResNumber = $NextWebResNumber;
492
        $this->IsFirstNameRequired = $IsFirstNameRequired;
493
        $this->IsCompanyRequired = $IsCompanyRequired;
494
        $this->IsAdressRequired = $IsAdressRequired;
495
        $this->IsCityRequired = $IsCityRequired;
496
        $this->IsStateProvRequired = $IsStateProvRequired;
497
        $this->IsZipCodeRequired = $IsZipCodeRequired;
498
        $this->IsCountryRequired = $IsCountryRequired;
499
        $this->IsPhoneRequired = $IsPhoneRequired;
500
        $this->IsEmailRequired = $IsEmailRequired;
501
        $this->IsccRequired = $IsccRequired;
502
        $this->MaxChildAge = $MaxChildAge;
503
        $this->DefaultidGuestType = $DefaultidGuestType;
504
        $this->DefaultidGeographic = $DefaultidGeographic;
505
        $this->DefaultAdultQty = $DefaultAdultQty;
506
        $this->ShowRooms = $ShowRooms;
507
        $this->AcceptExpiredCCAtCheckOut = $AcceptExpiredCCAtCheckOut;
508
        $this->IsPromoEnable = $IsPromoEnable;
509
        $this->MultiHotelDefaultIDRoomType = $MultiHotelDefaultIDRoomType;
510
        $this->MultiHotelDefaultIDRateCode = $MultiHotelDefaultIDRateCode;
511
        $this->IsAdultsChildrenNotVisible = $IsAdultsChildrenNotVisible;
512
        $this->IsRoomNoHidden = $IsRoomNoHidden;
513
        $this->IsAscendingRank = $IsAscendingRank;
514
        $this->IsTravelInsEnable = $IsTravelInsEnable;
515
        $this->IsMailing = $IsMailing;
516
        $this->IsGroupShowMasterBalance = $IsGroupShowMasterBalance;
517
        $this->IsGroupAllowCancel = $IsGroupAllowCancel;
518
        $this->IsGroupAllowChangeLoginPassword = $IsGroupAllowChangeLoginPassword;
519
        $this->IsGrpIndBookingEnable = $IsGrpIndBookingEnable;
520
        $this->IsLimitativeInWEB = $IsLimitativeInWEB;
521
    }
522
523
    /**
524
     * @return \DateTime
525
     */
526
    public function getLoadTime()
527
    {
528
        if ($this->LoadTime == null) {
529
            return null;
530
        } else {
531
            try {
532
                return new \DateTime($this->LoadTime);
533
            } catch (\Exception $e) {
534
                return false;
535
            }
536
        }
537
    }
538
539
    /**
540
     * @param \DateTime $LoadTime
541
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
542
     */
543
    public function setLoadTime(\DateTime $LoadTime)
544
    {
545
        $this->LoadTime = $LoadTime->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $LoadTime->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $LoadTime.

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...
546
        return $this;
547
    }
548
549
    /**
550
     * @return \DateTime
551
     */
552
    public function getCurrentHotelDate()
553
    {
554
        if ($this->CurrentHotelDate == null) {
555
            return null;
556
        } else {
557
            try {
558
                return new \DateTime($this->CurrentHotelDate);
559
            } catch (\Exception $e) {
560
                return false;
561
            }
562
        }
563
    }
564
565
    /**
566
     * @param \DateTime $CurrentHotelDate
567
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
568
     */
569
    public function setCurrentHotelDate(\DateTime $CurrentHotelDate)
570
    {
571
        $this->CurrentHotelDate = $CurrentHotelDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $CurrentHotelDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $CurrentHotelDate.

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...
572
        return $this;
573
    }
574
575
    /**
576
     * @return string
577
     */
578
    public function getPropertyName()
579
    {
580
        return $this->PropertyName;
581
    }
582
583
    /**
584
     * @param string $PropertyName
585
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
586
     */
587
    public function setPropertyName($PropertyName)
588
    {
589
        $this->PropertyName = $PropertyName;
590
        return $this;
591
    }
592
593
    /**
594
     * @return string
595
     */
596
    public function getCurrencySymbol()
597
    {
598
        return $this->CurrencySymbol;
599
    }
600
601
    /**
602
     * @param string $CurrencySymbol
603
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
604
     */
605
    public function setCurrencySymbol($CurrencySymbol)
606
    {
607
        $this->CurrencySymbol = $CurrencySymbol;
608
        return $this;
609
    }
610
611
    /**
612
     * @return int
613
     */
614
    public function getCurrencyId()
615
    {
616
        return $this->CurrencyId;
617
    }
618
619
    /**
620
     * @param int $CurrencyId
621
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
622
     */
623
    public function setCurrencyId($CurrencyId)
624
    {
625
        $this->CurrencyId = $CurrencyId;
626
        return $this;
627
    }
628
629
    /**
630
     * @return string
631
     */
632
    public function getAddress()
633
    {
634
        return $this->Address;
635
    }
636
637
    /**
638
     * @param string $Address
639
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
640
     */
641
    public function setAddress($Address)
642
    {
643
        $this->Address = $Address;
644
        return $this;
645
    }
646
647
    /**
648
     * @return string
649
     */
650
    public function getState()
651
    {
652
        return $this->State;
653
    }
654
655
    /**
656
     * @param string $State
657
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
658
     */
659
    public function setState($State)
660
    {
661
        $this->State = $State;
662
        return $this;
663
    }
664
665
    /**
666
     * @return string
667
     */
668
    public function getCountry()
669
    {
670
        return $this->Country;
671
    }
672
673
    /**
674
     * @param string $Country
675
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
676
     */
677
    public function setCountry($Country)
678
    {
679
        $this->Country = $Country;
680
        return $this;
681
    }
682
683
    /**
684
     * @return string
685
     */
686
    public function getCity()
687
    {
688
        return $this->City;
689
    }
690
691
    /**
692
     * @param string $City
693
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
694
     */
695
    public function setCity($City)
696
    {
697
        $this->City = $City;
698
        return $this;
699
    }
700
701
    /**
702
     * @return string
703
     */
704
    public function getPhone800()
705
    {
706
        return $this->Phone800;
707
    }
708
709
    /**
710
     * @param string $Phone800
711
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
712
     */
713
    public function setPhone800($Phone800)
714
    {
715
        $this->Phone800 = $Phone800;
716
        return $this;
717
    }
718
719
    /**
720
     * @return string
721
     */
722
    public function getPhone()
723
    {
724
        return $this->Phone;
725
    }
726
727
    /**
728
     * @param string $Phone
729
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
730
     */
731
    public function setPhone($Phone)
732
    {
733
        $this->Phone = $Phone;
734
        return $this;
735
    }
736
737
    /**
738
     * @return string
739
     */
740
    public function getEmail()
741
    {
742
        return $this->Email;
743
    }
744
745
    /**
746
     * @param string $Email
747
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
748
     */
749
    public function setEmail($Email)
750
    {
751
        $this->Email = $Email;
752
        return $this;
753
    }
754
755
    /**
756
     * @return int
757
     */
758
    public function getIdWebRes()
759
    {
760
        return $this->IdWebRes;
761
    }
762
763
    /**
764
     * @param int $IdWebRes
765
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
766
     */
767
    public function setIdWebRes($IdWebRes)
768
    {
769
        $this->IdWebRes = $IdWebRes;
770
        return $this;
771
    }
772
773
    /**
774
     * @return int
775
     */
776
    public function getIdProperty()
777
    {
778
        return $this->IdProperty;
779
    }
780
781
    /**
782
     * @param int $IdProperty
783
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
784
     */
785
    public function setIdProperty($IdProperty)
786
    {
787
        $this->IdProperty = $IdProperty;
788
        return $this;
789
    }
790
791
    /**
792
     * @return int
793
     */
794
    public function getIdUser()
795
    {
796
        return $this->IdUser;
797
    }
798
799
    /**
800
     * @param int $IdUser
801
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
802
     */
803
    public function setIdUser($IdUser)
804
    {
805
        $this->IdUser = $IdUser;
806
        return $this;
807
    }
808
809
    /**
810
     * @return string
811
     */
812
    public function getDefaultLanguage()
813
    {
814
        return $this->DefaultLanguage;
815
    }
816
817
    /**
818
     * @param string $DefaultLanguage
819
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
820
     */
821
    public function setDefaultLanguage($DefaultLanguage)
822
    {
823
        $this->DefaultLanguage = $DefaultLanguage;
824
        return $this;
825
    }
826
827
    /**
828
     * @return int
829
     */
830
    public function getMinDayFromHotelDate()
831
    {
832
        return $this->MinDayFromHotelDate;
833
    }
834
835
    /**
836
     * @param int $MinDayFromHotelDate
837
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
838
     */
839
    public function setMinDayFromHotelDate($MinDayFromHotelDate)
840
    {
841
        $this->MinDayFromHotelDate = $MinDayFromHotelDate;
842
        return $this;
843
    }
844
845
    /**
846
     * @return int
847
     */
848
    public function getMaxDayFromHotelDate()
849
    {
850
        return $this->MaxDayFromHotelDate;
851
    }
852
853
    /**
854
     * @param int $MaxDayFromHotelDate
855
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
856
     */
857
    public function setMaxDayFromHotelDate($MaxDayFromHotelDate)
858
    {
859
        $this->MaxDayFromHotelDate = $MaxDayFromHotelDate;
860
        return $this;
861
    }
862
863
    /**
864
     * @return \DateTime
865
     */
866
    public function getMinDate()
867
    {
868
        if ($this->MinDate == null) {
869
            return null;
870
        } else {
871
            try {
872
                return new \DateTime($this->MinDate);
873
            } catch (\Exception $e) {
874
                return false;
875
            }
876
        }
877
    }
878
879
    /**
880
     * @param \DateTime $MinDate
881
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
882
     */
883
    public function setMinDate(\DateTime $MinDate)
884
    {
885
        $this->MinDate = $MinDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $MinDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $MinDate.

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...
886
        return $this;
887
    }
888
889
    /**
890
     * @return \DateTime
891
     */
892
    public function getMaxDate()
893
    {
894
        if ($this->MaxDate == null) {
895
            return null;
896
        } else {
897
            try {
898
                return new \DateTime($this->MaxDate);
899
            } catch (\Exception $e) {
900
                return false;
901
            }
902
        }
903
    }
904
905
    /**
906
     * @param \DateTime $MaxDate
907
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
908
     */
909
    public function setMaxDate(\DateTime $MaxDate)
910
    {
911
        $this->MaxDate = $MaxDate->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $MaxDate->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $MaxDate.

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...
912
        return $this;
913
    }
914
915
    /**
916
     * @return int
917
     */
918
    public function getMinGuestCount()
919
    {
920
        return $this->MinGuestCount;
921
    }
922
923
    /**
924
     * @param int $MinGuestCount
925
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
926
     */
927
    public function setMinGuestCount($MinGuestCount)
928
    {
929
        $this->MinGuestCount = $MinGuestCount;
930
        return $this;
931
    }
932
933
    /**
934
     * @return int
935
     */
936
    public function getMaxGuestCount()
937
    {
938
        return $this->MaxGuestCount;
939
    }
940
941
    /**
942
     * @param int $MaxGuestCount
943
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
944
     */
945
    public function setMaxGuestCount($MaxGuestCount)
946
    {
947
        $this->MaxGuestCount = $MaxGuestCount;
948
        return $this;
949
    }
950
951
    /**
952
     * @return int
953
     */
954
    public function getMaxChildCount()
955
    {
956
        return $this->MaxChildCount;
957
    }
958
959
    /**
960
     * @param int $MaxChildCount
961
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
962
     */
963
    public function setMaxChildCount($MaxChildCount)
964
    {
965
        $this->MaxChildCount = $MaxChildCount;
966
        return $this;
967
    }
968
969
    /**
970
     * @return boolean
971
     */
972
    public function getAllowModification()
973
    {
974
        return $this->AllowModification;
975
    }
976
977
    /**
978
     * @param boolean $AllowModification
979
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
980
     */
981
    public function setAllowModification($AllowModification)
982
    {
983
        $this->AllowModification = $AllowModification;
984
        return $this;
985
    }
986
987
    /**
988
     * @return boolean
989
     */
990
    public function getAllowCancellation()
991
    {
992
        return $this->AllowCancellation;
993
    }
994
995
    /**
996
     * @param boolean $AllowCancellation
997
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
998
     */
999
    public function setAllowCancellation($AllowCancellation)
1000
    {
1001
        $this->AllowCancellation = $AllowCancellation;
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @return boolean
1007
     */
1008
    public function getAutoSendConfirm()
1009
    {
1010
        return $this->AutoSendConfirm;
1011
    }
1012
1013
    /**
1014
     * @param boolean $AutoSendConfirm
1015
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1016
     */
1017
    public function setAutoSendConfirm($AutoSendConfirm)
1018
    {
1019
        $this->AutoSendConfirm = $AutoSendConfirm;
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @return boolean
1025
     */
1026
    public function getActive()
1027
    {
1028
        return $this->Active;
1029
    }
1030
1031
    /**
1032
     * @param boolean $Active
1033
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1034
     */
1035
    public function setActive($Active)
1036
    {
1037
        $this->Active = $Active;
1038
        return $this;
1039
    }
1040
1041
    /**
1042
     * @return boolean
1043
     */
1044
    public function getIsRoomTypeOverbook()
1045
    {
1046
        return $this->IsRoomTypeOverbook;
1047
    }
1048
1049
    /**
1050
     * @param boolean $IsRoomTypeOverbook
1051
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1052
     */
1053
    public function setIsRoomTypeOverbook($IsRoomTypeOverbook)
1054
    {
1055
        $this->IsRoomTypeOverbook = $IsRoomTypeOverbook;
1056
        return $this;
1057
    }
1058
1059
    /**
1060
     * @return int
1061
     */
1062
    public function getDefaultManualRateReason()
1063
    {
1064
        return $this->DefaultManualRateReason;
1065
    }
1066
1067
    /**
1068
     * @param int $DefaultManualRateReason
1069
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1070
     */
1071
    public function setDefaultManualRateReason($DefaultManualRateReason)
1072
    {
1073
        $this->DefaultManualRateReason = $DefaultManualRateReason;
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @return boolean
1079
     */
1080
    public function getIsFirstLetterOfNameInUppercase()
1081
    {
1082
        return $this->IsFirstLetterOfNameInUppercase;
1083
    }
1084
1085
    /**
1086
     * @param boolean $IsFirstLetterOfNameInUppercase
1087
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1088
     */
1089
    public function setIsFirstLetterOfNameInUppercase($IsFirstLetterOfNameInUppercase)
1090
    {
1091
        $this->IsFirstLetterOfNameInUppercase = $IsFirstLetterOfNameInUppercase;
1092
        return $this;
1093
    }
1094
1095
    /**
1096
     * @return boolean
1097
     */
1098
    public function getIsECheckActive()
1099
    {
1100
        return $this->IsECheckActive;
1101
    }
1102
1103
    /**
1104
     * @param boolean $IsECheckActive
1105
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1106
     */
1107
    public function setIsECheckActive($IsECheckActive)
1108
    {
1109
        $this->IsECheckActive = $IsECheckActive;
1110
        return $this;
1111
    }
1112
1113
    /**
1114
     * @return int
1115
     */
1116
    public function getInventoryControl()
1117
    {
1118
        return $this->InventoryControl;
1119
    }
1120
1121
    /**
1122
     * @param int $InventoryControl
1123
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1124
     */
1125
    public function setInventoryControl($InventoryControl)
1126
    {
1127
        $this->InventoryControl = $InventoryControl;
1128
        return $this;
1129
    }
1130
1131
    /**
1132
     * @return boolean
1133
     */
1134
    public function getIsActivePaypal()
1135
    {
1136
        return $this->IsActivePaypal;
1137
    }
1138
1139
    /**
1140
     * @param boolean $IsActivePaypal
1141
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1142
     */
1143
    public function setIsActivePaypal($IsActivePaypal)
1144
    {
1145
        $this->IsActivePaypal = $IsActivePaypal;
1146
        return $this;
1147
    }
1148
1149
    /**
1150
     * @return int
1151
     */
1152
    public function getID_TrnPaypal()
1153
    {
1154
        return $this->ID_TrnPaypal;
1155
    }
1156
1157
    /**
1158
     * @param int $ID_TrnPaypal
1159
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1160
     */
1161
    public function setID_TrnPaypal($ID_TrnPaypal)
1162
    {
1163
        $this->ID_TrnPaypal = $ID_TrnPaypal;
1164
        return $this;
1165
    }
1166
1167
    /**
1168
     * @return boolean
1169
     */
1170
    public function getIsGlobalOverbook()
1171
    {
1172
        return $this->IsGlobalOverbook;
1173
    }
1174
1175
    /**
1176
     * @param boolean $IsGlobalOverbook
1177
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1178
     */
1179
    public function setIsGlobalOverbook($IsGlobalOverbook)
1180
    {
1181
        $this->IsGlobalOverbook = $IsGlobalOverbook;
1182
        return $this;
1183
    }
1184
1185
    /**
1186
     * @return int
1187
     */
1188
    public function getMinLenghtOfStay()
1189
    {
1190
        return $this->MinLenghtOfStay;
1191
    }
1192
1193
    /**
1194
     * @param int $MinLenghtOfStay
1195
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1196
     */
1197
    public function setMinLenghtOfStay($MinLenghtOfStay)
1198
    {
1199
        $this->MinLenghtOfStay = $MinLenghtOfStay;
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * @return int
1205
     */
1206
    public function getMaxLenghtOfStay()
1207
    {
1208
        return $this->MaxLenghtOfStay;
1209
    }
1210
1211
    /**
1212
     * @param int $MaxLenghtOfStay
1213
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1214
     */
1215
    public function setMaxLenghtOfStay($MaxLenghtOfStay)
1216
    {
1217
        $this->MaxLenghtOfStay = $MaxLenghtOfStay;
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * @return boolean
1223
     */
1224
    public function getNamesInUppercase()
1225
    {
1226
        return $this->NamesInUppercase;
1227
    }
1228
1229
    /**
1230
     * @param boolean $NamesInUppercase
1231
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1232
     */
1233
    public function setNamesInUppercase($NamesInUppercase)
1234
    {
1235
        $this->NamesInUppercase = $NamesInUppercase;
1236
        return $this;
1237
    }
1238
1239
    /**
1240
     * @return boolean
1241
     */
1242
    public function getRoomFirst()
1243
    {
1244
        return $this->RoomFirst;
1245
    }
1246
1247
    /**
1248
     * @param boolean $RoomFirst
1249
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1250
     */
1251
    public function setRoomFirst($RoomFirst)
1252
    {
1253
        $this->RoomFirst = $RoomFirst;
1254
        return $this;
1255
    }
1256
1257
    /**
1258
     * @return boolean
1259
     */
1260
    public function getSendEmailConfirmation()
1261
    {
1262
        return $this->SendEmailConfirmation;
1263
    }
1264
1265
    /**
1266
     * @param boolean $SendEmailConfirmation
1267
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1268
     */
1269
    public function setSendEmailConfirmation($SendEmailConfirmation)
1270
    {
1271
        $this->SendEmailConfirmation = $SendEmailConfirmation;
1272
        return $this;
1273
    }
1274
1275
    /**
1276
     * @return boolean
1277
     */
1278
    public function getInstantEmailConfirmation()
1279
    {
1280
        return $this->InstantEmailConfirmation;
1281
    }
1282
1283
    /**
1284
     * @param boolean $InstantEmailConfirmation
1285
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1286
     */
1287
    public function setInstantEmailConfirmation($InstantEmailConfirmation)
1288
    {
1289
        $this->InstantEmailConfirmation = $InstantEmailConfirmation;
1290
        return $this;
1291
    }
1292
1293
    /**
1294
     * @return int
1295
     */
1296
    public function getDefaultidSceBusiness()
1297
    {
1298
        return $this->DefaultidSceBusiness;
1299
    }
1300
1301
    /**
1302
     * @param int $DefaultidSceBusiness
1303
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1304
     */
1305
    public function setDefaultidSceBusiness($DefaultidSceBusiness)
1306
    {
1307
        $this->DefaultidSceBusiness = $DefaultidSceBusiness;
1308
        return $this;
1309
    }
1310
1311
    /**
1312
     * @return int
1313
     */
1314
    public function getNextWebResNumber()
1315
    {
1316
        return $this->NextWebResNumber;
1317
    }
1318
1319
    /**
1320
     * @param int $NextWebResNumber
1321
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1322
     */
1323
    public function setNextWebResNumber($NextWebResNumber)
1324
    {
1325
        $this->NextWebResNumber = $NextWebResNumber;
1326
        return $this;
1327
    }
1328
1329
    /**
1330
     * @return boolean
1331
     */
1332
    public function getIsFirstNameRequired()
1333
    {
1334
        return $this->IsFirstNameRequired;
1335
    }
1336
1337
    /**
1338
     * @param boolean $IsFirstNameRequired
1339
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1340
     */
1341
    public function setIsFirstNameRequired($IsFirstNameRequired)
1342
    {
1343
        $this->IsFirstNameRequired = $IsFirstNameRequired;
1344
        return $this;
1345
    }
1346
1347
    /**
1348
     * @return boolean
1349
     */
1350
    public function getIsCompanyRequired()
1351
    {
1352
        return $this->IsCompanyRequired;
1353
    }
1354
1355
    /**
1356
     * @param boolean $IsCompanyRequired
1357
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1358
     */
1359
    public function setIsCompanyRequired($IsCompanyRequired)
1360
    {
1361
        $this->IsCompanyRequired = $IsCompanyRequired;
1362
        return $this;
1363
    }
1364
1365
    /**
1366
     * @return boolean
1367
     */
1368
    public function getIsAdressRequired()
1369
    {
1370
        return $this->IsAdressRequired;
1371
    }
1372
1373
    /**
1374
     * @param boolean $IsAdressRequired
1375
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1376
     */
1377
    public function setIsAdressRequired($IsAdressRequired)
1378
    {
1379
        $this->IsAdressRequired = $IsAdressRequired;
1380
        return $this;
1381
    }
1382
1383
    /**
1384
     * @return boolean
1385
     */
1386
    public function getIsCityRequired()
1387
    {
1388
        return $this->IsCityRequired;
1389
    }
1390
1391
    /**
1392
     * @param boolean $IsCityRequired
1393
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1394
     */
1395
    public function setIsCityRequired($IsCityRequired)
1396
    {
1397
        $this->IsCityRequired = $IsCityRequired;
1398
        return $this;
1399
    }
1400
1401
    /**
1402
     * @return boolean
1403
     */
1404
    public function getIsStateProvRequired()
1405
    {
1406
        return $this->IsStateProvRequired;
1407
    }
1408
1409
    /**
1410
     * @param boolean $IsStateProvRequired
1411
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1412
     */
1413
    public function setIsStateProvRequired($IsStateProvRequired)
1414
    {
1415
        $this->IsStateProvRequired = $IsStateProvRequired;
1416
        return $this;
1417
    }
1418
1419
    /**
1420
     * @return boolean
1421
     */
1422
    public function getIsZipCodeRequired()
1423
    {
1424
        return $this->IsZipCodeRequired;
1425
    }
1426
1427
    /**
1428
     * @param boolean $IsZipCodeRequired
1429
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1430
     */
1431
    public function setIsZipCodeRequired($IsZipCodeRequired)
1432
    {
1433
        $this->IsZipCodeRequired = $IsZipCodeRequired;
1434
        return $this;
1435
    }
1436
1437
    /**
1438
     * @return boolean
1439
     */
1440
    public function getIsCountryRequired()
1441
    {
1442
        return $this->IsCountryRequired;
1443
    }
1444
1445
    /**
1446
     * @param boolean $IsCountryRequired
1447
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1448
     */
1449
    public function setIsCountryRequired($IsCountryRequired)
1450
    {
1451
        $this->IsCountryRequired = $IsCountryRequired;
1452
        return $this;
1453
    }
1454
1455
    /**
1456
     * @return boolean
1457
     */
1458
    public function getIsPhoneRequired()
1459
    {
1460
        return $this->IsPhoneRequired;
1461
    }
1462
1463
    /**
1464
     * @param boolean $IsPhoneRequired
1465
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1466
     */
1467
    public function setIsPhoneRequired($IsPhoneRequired)
1468
    {
1469
        $this->IsPhoneRequired = $IsPhoneRequired;
1470
        return $this;
1471
    }
1472
1473
    /**
1474
     * @return boolean
1475
     */
1476
    public function getIsEmailRequired()
1477
    {
1478
        return $this->IsEmailRequired;
1479
    }
1480
1481
    /**
1482
     * @param boolean $IsEmailRequired
1483
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1484
     */
1485
    public function setIsEmailRequired($IsEmailRequired)
1486
    {
1487
        $this->IsEmailRequired = $IsEmailRequired;
1488
        return $this;
1489
    }
1490
1491
    /**
1492
     * @return boolean
1493
     */
1494
    public function getIsccRequired()
1495
    {
1496
        return $this->IsccRequired;
1497
    }
1498
1499
    /**
1500
     * @param boolean $IsccRequired
1501
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1502
     */
1503
    public function setIsccRequired($IsccRequired)
1504
    {
1505
        $this->IsccRequired = $IsccRequired;
1506
        return $this;
1507
    }
1508
1509
    /**
1510
     * @return int
1511
     */
1512
    public function getMaxChildAge()
1513
    {
1514
        return $this->MaxChildAge;
1515
    }
1516
1517
    /**
1518
     * @param int $MaxChildAge
1519
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1520
     */
1521
    public function setMaxChildAge($MaxChildAge)
1522
    {
1523
        $this->MaxChildAge = $MaxChildAge;
1524
        return $this;
1525
    }
1526
1527
    /**
1528
     * @return int
1529
     */
1530
    public function getDefaultidGuestType()
1531
    {
1532
        return $this->DefaultidGuestType;
1533
    }
1534
1535
    /**
1536
     * @param int $DefaultidGuestType
1537
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1538
     */
1539
    public function setDefaultidGuestType($DefaultidGuestType)
1540
    {
1541
        $this->DefaultidGuestType = $DefaultidGuestType;
1542
        return $this;
1543
    }
1544
1545
    /**
1546
     * @return int
1547
     */
1548
    public function getDefaultidGeographic()
1549
    {
1550
        return $this->DefaultidGeographic;
1551
    }
1552
1553
    /**
1554
     * @param int $DefaultidGeographic
1555
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1556
     */
1557
    public function setDefaultidGeographic($DefaultidGeographic)
1558
    {
1559
        $this->DefaultidGeographic = $DefaultidGeographic;
1560
        return $this;
1561
    }
1562
1563
    /**
1564
     * @return int
1565
     */
1566
    public function getDefaultAdultQty()
1567
    {
1568
        return $this->DefaultAdultQty;
1569
    }
1570
1571
    /**
1572
     * @param int $DefaultAdultQty
1573
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1574
     */
1575
    public function setDefaultAdultQty($DefaultAdultQty)
1576
    {
1577
        $this->DefaultAdultQty = $DefaultAdultQty;
1578
        return $this;
1579
    }
1580
1581
    /**
1582
     * @return boolean
1583
     */
1584
    public function getShowRooms()
1585
    {
1586
        return $this->ShowRooms;
1587
    }
1588
1589
    /**
1590
     * @param boolean $ShowRooms
1591
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1592
     */
1593
    public function setShowRooms($ShowRooms)
1594
    {
1595
        $this->ShowRooms = $ShowRooms;
1596
        return $this;
1597
    }
1598
1599
    /**
1600
     * @return boolean
1601
     */
1602
    public function getAcceptExpiredCCAtCheckOut()
1603
    {
1604
        return $this->AcceptExpiredCCAtCheckOut;
1605
    }
1606
1607
    /**
1608
     * @param boolean $AcceptExpiredCCAtCheckOut
1609
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1610
     */
1611
    public function setAcceptExpiredCCAtCheckOut($AcceptExpiredCCAtCheckOut)
1612
    {
1613
        $this->AcceptExpiredCCAtCheckOut = $AcceptExpiredCCAtCheckOut;
1614
        return $this;
1615
    }
1616
1617
    /**
1618
     * @return string
1619
     */
1620
    public function getHotelImageUrl()
1621
    {
1622
        return $this->HotelImageUrl;
1623
    }
1624
1625
    /**
1626
     * @param string $HotelImageUrl
1627
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1628
     */
1629
    public function setHotelImageUrl($HotelImageUrl)
1630
    {
1631
        $this->HotelImageUrl = $HotelImageUrl;
1632
        return $this;
1633
    }
1634
1635
    /**
1636
     * @return string
1637
     */
1638
    public function getHotelDescription()
1639
    {
1640
        return $this->HotelDescription;
1641
    }
1642
1643
    /**
1644
     * @param string $HotelDescription
1645
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1646
     */
1647
    public function setHotelDescription($HotelDescription)
1648
    {
1649
        $this->HotelDescription = $HotelDescription;
1650
        return $this;
1651
    }
1652
1653
    /**
1654
     * @return string
1655
     */
1656
    public function getHotelPoliciesEnglish()
1657
    {
1658
        return $this->HotelPoliciesEnglish;
1659
    }
1660
1661
    /**
1662
     * @param string $HotelPoliciesEnglish
1663
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1664
     */
1665
    public function setHotelPoliciesEnglish($HotelPoliciesEnglish)
1666
    {
1667
        $this->HotelPoliciesEnglish = $HotelPoliciesEnglish;
1668
        return $this;
1669
    }
1670
1671
    /**
1672
     * @return string
1673
     */
1674
    public function getHotelPoliciesFrench()
1675
    {
1676
        return $this->HotelPoliciesFrench;
1677
    }
1678
1679
    /**
1680
     * @param string $HotelPoliciesFrench
1681
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1682
     */
1683
    public function setHotelPoliciesFrench($HotelPoliciesFrench)
1684
    {
1685
        $this->HotelPoliciesFrench = $HotelPoliciesFrench;
1686
        return $this;
1687
    }
1688
1689
    /**
1690
     * @return string
1691
     */
1692
    public function getHotelPoliciesSpanish()
1693
    {
1694
        return $this->HotelPoliciesSpanish;
1695
    }
1696
1697
    /**
1698
     * @param string $HotelPoliciesSpanish
1699
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1700
     */
1701
    public function setHotelPoliciesSpanish($HotelPoliciesSpanish)
1702
    {
1703
        $this->HotelPoliciesSpanish = $HotelPoliciesSpanish;
1704
        return $this;
1705
    }
1706
1707
    /**
1708
     * @return boolean
1709
     */
1710
    public function getIsPromoEnable()
1711
    {
1712
        return $this->IsPromoEnable;
1713
    }
1714
1715
    /**
1716
     * @param boolean $IsPromoEnable
1717
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1718
     */
1719
    public function setIsPromoEnable($IsPromoEnable)
1720
    {
1721
        $this->IsPromoEnable = $IsPromoEnable;
1722
        return $this;
1723
    }
1724
1725
    /**
1726
     * @return int
1727
     */
1728
    public function getMultiHotelDefaultIDRoomType()
1729
    {
1730
        return $this->MultiHotelDefaultIDRoomType;
1731
    }
1732
1733
    /**
1734
     * @param int $MultiHotelDefaultIDRoomType
1735
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1736
     */
1737
    public function setMultiHotelDefaultIDRoomType($MultiHotelDefaultIDRoomType)
1738
    {
1739
        $this->MultiHotelDefaultIDRoomType = $MultiHotelDefaultIDRoomType;
1740
        return $this;
1741
    }
1742
1743
    /**
1744
     * @return int
1745
     */
1746
    public function getMultiHotelDefaultIDRateCode()
1747
    {
1748
        return $this->MultiHotelDefaultIDRateCode;
1749
    }
1750
1751
    /**
1752
     * @param int $MultiHotelDefaultIDRateCode
1753
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1754
     */
1755
    public function setMultiHotelDefaultIDRateCode($MultiHotelDefaultIDRateCode)
1756
    {
1757
        $this->MultiHotelDefaultIDRateCode = $MultiHotelDefaultIDRateCode;
1758
        return $this;
1759
    }
1760
1761
    /**
1762
     * @return boolean
1763
     */
1764
    public function getIsAdultsChildrenNotVisible()
1765
    {
1766
        return $this->IsAdultsChildrenNotVisible;
1767
    }
1768
1769
    /**
1770
     * @param boolean $IsAdultsChildrenNotVisible
1771
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1772
     */
1773
    public function setIsAdultsChildrenNotVisible($IsAdultsChildrenNotVisible)
1774
    {
1775
        $this->IsAdultsChildrenNotVisible = $IsAdultsChildrenNotVisible;
1776
        return $this;
1777
    }
1778
1779
    /**
1780
     * @return boolean
1781
     */
1782
    public function getIsRoomNoHidden()
1783
    {
1784
        return $this->IsRoomNoHidden;
1785
    }
1786
1787
    /**
1788
     * @param boolean $IsRoomNoHidden
1789
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1790
     */
1791
    public function setIsRoomNoHidden($IsRoomNoHidden)
1792
    {
1793
        $this->IsRoomNoHidden = $IsRoomNoHidden;
1794
        return $this;
1795
    }
1796
1797
    /**
1798
     * @return boolean
1799
     */
1800
    public function getIsAscendingRank()
1801
    {
1802
        return $this->IsAscendingRank;
1803
    }
1804
1805
    /**
1806
     * @param boolean $IsAscendingRank
1807
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1808
     */
1809
    public function setIsAscendingRank($IsAscendingRank)
1810
    {
1811
        $this->IsAscendingRank = $IsAscendingRank;
1812
        return $this;
1813
    }
1814
1815
    /**
1816
     * @return boolean
1817
     */
1818
    public function getIsTravelInsEnable()
1819
    {
1820
        return $this->IsTravelInsEnable;
1821
    }
1822
1823
    /**
1824
     * @param boolean $IsTravelInsEnable
1825
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1826
     */
1827
    public function setIsTravelInsEnable($IsTravelInsEnable)
1828
    {
1829
        $this->IsTravelInsEnable = $IsTravelInsEnable;
1830
        return $this;
1831
    }
1832
1833
    /**
1834
     * @return boolean
1835
     */
1836
    public function getIsMailing()
1837
    {
1838
        return $this->IsMailing;
1839
    }
1840
1841
    /**
1842
     * @param boolean $IsMailing
1843
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1844
     */
1845
    public function setIsMailing($IsMailing)
1846
    {
1847
        $this->IsMailing = $IsMailing;
1848
        return $this;
1849
    }
1850
1851
    /**
1852
     * @return boolean
1853
     */
1854
    public function getIsGroupShowMasterBalance()
1855
    {
1856
        return $this->IsGroupShowMasterBalance;
1857
    }
1858
1859
    /**
1860
     * @param boolean $IsGroupShowMasterBalance
1861
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1862
     */
1863
    public function setIsGroupShowMasterBalance($IsGroupShowMasterBalance)
1864
    {
1865
        $this->IsGroupShowMasterBalance = $IsGroupShowMasterBalance;
1866
        return $this;
1867
    }
1868
1869
    /**
1870
     * @return boolean
1871
     */
1872
    public function getIsGroupAllowCancel()
1873
    {
1874
        return $this->IsGroupAllowCancel;
1875
    }
1876
1877
    /**
1878
     * @param boolean $IsGroupAllowCancel
1879
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1880
     */
1881
    public function setIsGroupAllowCancel($IsGroupAllowCancel)
1882
    {
1883
        $this->IsGroupAllowCancel = $IsGroupAllowCancel;
1884
        return $this;
1885
    }
1886
1887
    /**
1888
     * @return boolean
1889
     */
1890
    public function getIsGroupAllowChangeLoginPassword()
1891
    {
1892
        return $this->IsGroupAllowChangeLoginPassword;
1893
    }
1894
1895
    /**
1896
     * @param boolean $IsGroupAllowChangeLoginPassword
1897
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1898
     */
1899
    public function setIsGroupAllowChangeLoginPassword($IsGroupAllowChangeLoginPassword)
1900
    {
1901
        $this->IsGroupAllowChangeLoginPassword = $IsGroupAllowChangeLoginPassword;
1902
        return $this;
1903
    }
1904
1905
    /**
1906
     * @return boolean
1907
     */
1908
    public function getIsGrpIndBookingEnable()
1909
    {
1910
        return $this->IsGrpIndBookingEnable;
1911
    }
1912
1913
    /**
1914
     * @param boolean $IsGrpIndBookingEnable
1915
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1916
     */
1917
    public function setIsGrpIndBookingEnable($IsGrpIndBookingEnable)
1918
    {
1919
        $this->IsGrpIndBookingEnable = $IsGrpIndBookingEnable;
1920
        return $this;
1921
    }
1922
1923
    /**
1924
     * @return boolean
1925
     */
1926
    public function getIsLimitativeInWEB()
1927
    {
1928
        return $this->IsLimitativeInWEB;
1929
    }
1930
1931
    /**
1932
     * @param boolean $IsLimitativeInWEB
1933
     * @return \Gueststream\PMS\IQWare\API\WebResConfig
1934
     */
1935
    public function setIsLimitativeInWEB($IsLimitativeInWEB)
1936
    {
1937
        $this->IsLimitativeInWEB = $IsLimitativeInWEB;
1938
        return $this;
1939
    }
1940
}
1941