WebCondoConfig   F
last analyzed

Complexity

Total Complexity 127

Size/Duplication

Total Lines 1504
Duplicated Lines 0 %

Coupling/Cohesion

Components 4
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 127
lcom 4
cbo 0
dl 0
loc 1504
ccs 0
cts 619
cp 0
rs 0.6314
c 0
b 0
f 0

119 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 56 1
A getShowGuestsSince() 0 12 3
A setShowGuestsSince() 0 5 1
A getShowWorkOrdersSince() 0 12 3
A setShowWorkOrdersSince() 0 5 1
A getCustomLabelSubFolioA() 0 4 1
A setCustomLabelSubFolioA() 0 5 1
A getCustomLabelSubFolioB() 0 4 1
A setCustomLabelSubFolioB() 0 5 1
A getCustomLabelSubFolioC() 0 4 1
A setCustomLabelSubFolioC() 0 5 1
A getCustomLabelSubFolioD() 0 4 1
A setCustomLabelSubFolioD() 0 5 1
A getIsCCConfirmationToPL() 0 4 1
A setIsCCConfirmationToPL() 0 5 1
A getIsCCConfirmationToBldgGle() 0 4 1
A setIsCCConfirmationToBldgGle() 0 5 1
A getWcMinDayFromHotelDate() 0 4 1
A setWcMinDayFromHotelDate() 0 5 1
A getWcMaxDayFromHotelDate() 0 4 1
A setWcMaxDayFromHotelDate() 0 5 1
A getIsShowWorkOrderOnlyInClosedMonth() 0 4 1
A setIsShowWorkOrderOnlyInClosedMonth() 0 5 1
A getIsShowSubFolioA() 0 4 1
A setIsShowSubFolioA() 0 5 1
A getIsShowSubFolioB() 0 4 1
A setIsShowSubFolioB() 0 5 1
A getIsShowSubFolioC() 0 4 1
A setIsShowSubFolioC() 0 5 1
A getIsShowSubFolioD() 0 4 1
A setIsShowSubFolioD() 0 5 1
A getLoadTime() 0 12 3
A setLoadTime() 0 5 1
A getAllowOwnerBooking() 0 4 1
A setAllowOwnerBooking() 0 5 1
A getEnablePDFDownload() 0 4 1
A setEnablePDFDownload() 0 5 1
A getActivityColumnsVisibility() 0 4 1
A setActivityColumnsVisibility() 0 5 1
A getGuestHistoryColumnsVisibility() 0 4 1
A setGuestHistoryColumnsVisibility() 0 5 1
A getID_Property() 0 4 1
A setID_Property() 0 5 1
A getCurrentHotelDate() 0 12 3
A setCurrentHotelDate() 0 5 1
A getDefaultLanguage() 0 4 1
A setDefaultLanguage() 0 5 1
A getActive() 0 4 1
A setActive() 0 5 1
A getOnlyClosedMonths() 0 4 1
A setOnlyClosedMonths() 0 5 1
A getShowXMLActivity() 0 4 1
A setShowXMLActivity() 0 5 1
A getShowXMLStatement() 0 4 1
A setShowXMLStatement() 0 5 1
A getShowExpenses() 0 4 1
A setShowExpenses() 0 5 1
A getIsGuestNegociateBooking() 0 4 1
A setIsGuestNegociateBooking() 0 5 1
A getID_SrcBusinessNegociated() 0 4 1
A setID_SrcBusinessNegociated() 0 5 1
A getID_RateReasonNegociated() 0 4 1
A setID_RateReasonNegociated() 0 5 1
A getID_RateCodeNegociated() 0 4 1
A setID_RateCodeNegociated() 0 5 1
A getAllowProfileUpdate() 0 4 1
A setAllowProfileUpdate() 0 5 1
A getShowContractDates() 0 4 1
A setShowContractDates() 0 5 1
A getCondoActivityType() 0 4 1
A setCondoActivityType() 0 5 1
A getShowContractBalances() 0 4 1
A setShowContractBalances() 0 5 1
A getShowProfileBalances() 0 4 1
A setShowProfileBalances() 0 5 1
A getShowContractBalancesDetails() 0 4 1
A setShowContractBalancesDetails() 0 5 1
A getShowProfileBalancesDetails() 0 4 1
A setShowProfileBalancesDetails() 0 5 1
A getShowRoomTypeSoldOutAsAvailable() 0 4 1
A setShowRoomTypeSoldOutAsAvailable() 0 5 1
A getDisclaimer() 0 4 1
A setDisclaimer() 0 5 1
A getShowWorkOrdersPostedOnly() 0 4 1
A setShowWorkOrdersPostedOnly() 0 5 1
A getDeduceRoomRevFromSAComm() 0 4 1
A setDeduceRoomRevFromSAComm() 0 5 1
A getMaxInitialContractsLoadWorkOrder() 0 4 1
A setMaxInitialContractsLoadWorkOrder() 0 5 1
A getShowGHOnlyBookingTypeOwnerFriend() 0 4 1
A setShowGHOnlyBookingTypeOwnerFriend() 0 5 1
A getShowGHPastResa() 0 4 1
A setShowGHPastResa() 0 5 1
A getShowGHFutureResa() 0 4 1
A setShowGHFutureResa() 0 5 1
A getShowGuestHistoryMenu() 0 4 1
A setShowGuestHistoryMenu() 0 5 1
A getShowContractMenu() 0 4 1
A setShowContractMenu() 0 5 1
A getShowStatisticMenu() 0 4 1
A setShowStatisticMenu() 0 5 1
A getShowBookingOwnerFriendMenu() 0 4 1
A setShowBookingOwnerFriendMenu() 0 5 1
A getShowBookingGuestMenu() 0 4 1
A setShowBookingGuestMenu() 0 5 1
A getShowLoginPwdMenu() 0 4 1
A setShowLoginPwdMenu() 0 5 1
A getShowWorkOrderMenu() 0 4 1
A setShowWorkOrderMenu() 0 5 1
A getAllowGuestBooking() 0 4 1
A setAllowGuestBooking() 0 5 1
A getShowNewsMenu() 0 4 1
A setShowNewsMenu() 0 5 1
A getAllowFractionalOwnerBooking() 0 4 1
A setAllowFractionalOwnerBooking() 0 5 1
A getShowWorkOrderTechInfo() 0 4 1
A setShowWorkOrderTechInfo() 0 5 1
A getShowGrossRentalRevenu() 0 4 1
A setShowGrossRentalRevenu() 0 5 1

How to fix   Complexity   

Complex Class

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

1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class WebCondoConfig
6
{
7
8
    /**
9
     * @var \DateTime $ShowGuestsSince
10
     */
11
    protected $ShowGuestsSince = null;
12
13
    /**
14
     * @var \DateTime $ShowWorkOrdersSince
15
     */
16
    protected $ShowWorkOrdersSince = null;
17
18
    /**
19
     * @var string $CustomLabelSubFolioA
20
     */
21
    protected $CustomLabelSubFolioA = null;
22
23
    /**
24
     * @var string $CustomLabelSubFolioB
25
     */
26
    protected $CustomLabelSubFolioB = null;
27
28
    /**
29
     * @var string $CustomLabelSubFolioC
30
     */
31
    protected $CustomLabelSubFolioC = null;
32
33
    /**
34
     * @var string $CustomLabelSubFolioD
35
     */
36
    protected $CustomLabelSubFolioD = null;
37
38
    /**
39
     * @var boolean $IsCCConfirmationToPL
40
     */
41
    protected $IsCCConfirmationToPL = null;
42
43
    /**
44
     * @var boolean $IsCCConfirmationToBldgGle
45
     */
46
    protected $IsCCConfirmationToBldgGle = null;
47
48
    /**
49
     * @var int $wcMinDayFromHotelDate
50
     */
51
    protected $wcMinDayFromHotelDate = null;
52
53
    /**
54
     * @var int $wcMaxDayFromHotelDate
55
     */
56
    protected $wcMaxDayFromHotelDate = null;
57
58
    /**
59
     * @var boolean $IsShowWorkOrderOnlyInClosedMonth
60
     */
61
    protected $IsShowWorkOrderOnlyInClosedMonth = null;
62
63
    /**
64
     * @var boolean $IsShowSubFolioA
65
     */
66
    protected $IsShowSubFolioA = null;
67
68
    /**
69
     * @var boolean $IsShowSubFolioB
70
     */
71
    protected $IsShowSubFolioB = null;
72
73
    /**
74
     * @var boolean $IsShowSubFolioC
75
     */
76
    protected $IsShowSubFolioC = null;
77
78
    /**
79
     * @var boolean $IsShowSubFolioD
80
     */
81
    protected $IsShowSubFolioD = null;
82
83
    /**
84
     * @var \DateTime $LoadTime
85
     */
86
    protected $LoadTime = null;
87
88
    /**
89
     * @var boolean $AllowOwnerBooking
90
     */
91
    protected $AllowOwnerBooking = null;
92
93
    /**
94
     * @var boolean $EnablePDFDownload
95
     */
96
    protected $EnablePDFDownload = null;
97
98
    /**
99
     * @var CondoActivityColumnsVisibility $ActivityColumnsVisibility
100
     */
101
    protected $ActivityColumnsVisibility = null;
102
103
    /**
104
     * @var CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility
105
     */
106
    protected $GuestHistoryColumnsVisibility = null;
107
108
    /**
109
     * @var int $ID_Property
110
     */
111
    protected $ID_Property = null;
112
113
    /**
114
     * @var \DateTime $CurrentHotelDate
115
     */
116
    protected $CurrentHotelDate = null;
117
118
    /**
119
     * @var string $DefaultLanguage
120
     */
121
    protected $DefaultLanguage = null;
122
123
    /**
124
     * @var boolean $Active
125
     */
126
    protected $Active = null;
127
128
    /**
129
     * @var boolean $OnlyClosedMonths
130
     */
131
    protected $OnlyClosedMonths = null;
132
133
    /**
134
     * @var boolean $ShowXMLActivity
135
     */
136
    protected $ShowXMLActivity = null;
137
138
    /**
139
     * @var boolean $ShowXMLStatement
140
     */
141
    protected $ShowXMLStatement = null;
142
143
    /**
144
     * @var boolean $ShowExpenses
145
     */
146
    protected $ShowExpenses = null;
147
148
    /**
149
     * @var boolean $IsGuestNegociateBooking
150
     */
151
    protected $IsGuestNegociateBooking = null;
152
153
    /**
154
     * @var int $ID_SrcBusinessNegociated
155
     */
156
    protected $ID_SrcBusinessNegociated = null;
157
158
    /**
159
     * @var int $ID_RateReasonNegociated
160
     */
161
    protected $ID_RateReasonNegociated = null;
162
163
    /**
164
     * @var int $ID_RateCodeNegociated
165
     */
166
    protected $ID_RateCodeNegociated = null;
167
168
    /**
169
     * @var boolean $AllowProfileUpdate
170
     */
171
    protected $AllowProfileUpdate = null;
172
173
    /**
174
     * @var boolean $ShowContractDates
175
     */
176
    protected $ShowContractDates = null;
177
178
    /**
179
     * @var CondoActivityTypeEnum $CondoActivityType
180
     */
181
    protected $CondoActivityType = null;
182
183
    /**
184
     * @var boolean $ShowContractBalances
185
     */
186
    protected $ShowContractBalances = null;
187
188
    /**
189
     * @var boolean $ShowProfileBalances
190
     */
191
    protected $ShowProfileBalances = null;
192
193
    /**
194
     * @var boolean $ShowContractBalancesDetails
195
     */
196
    protected $ShowContractBalancesDetails = null;
197
198
    /**
199
     * @var boolean $ShowProfileBalancesDetails
200
     */
201
    protected $ShowProfileBalancesDetails = null;
202
203
    /**
204
     * @var boolean $ShowRoomTypeSoldOutAsAvailable
205
     */
206
    protected $ShowRoomTypeSoldOutAsAvailable = null;
207
208
    /**
209
     * @var string $Disclaimer
210
     */
211
    protected $Disclaimer = null;
212
213
    /**
214
     * @var boolean $ShowWorkOrdersPostedOnly
215
     */
216
    protected $ShowWorkOrdersPostedOnly = null;
217
218
    /**
219
     * @var boolean $DeduceRoomRevFromSAComm
220
     */
221
    protected $DeduceRoomRevFromSAComm = null;
222
223
    /**
224
     * @var int $MaxInitialContractsLoadWorkOrder
225
     */
226
    protected $MaxInitialContractsLoadWorkOrder = null;
227
228
    /**
229
     * @var boolean $ShowGHOnlyBookingTypeOwnerFriend
230
     */
231
    protected $ShowGHOnlyBookingTypeOwnerFriend = null;
232
233
    /**
234
     * @var boolean $ShowGHPastResa
235
     */
236
    protected $ShowGHPastResa = null;
237
238
    /**
239
     * @var boolean $ShowGHFutureResa
240
     */
241
    protected $ShowGHFutureResa = null;
242
243
    /**
244
     * @var boolean $ShowGuestHistoryMenu
245
     */
246
    protected $ShowGuestHistoryMenu = null;
247
248
    /**
249
     * @var boolean $ShowContractMenu
250
     */
251
    protected $ShowContractMenu = null;
252
253
    /**
254
     * @var boolean $ShowStatisticMenu
255
     */
256
    protected $ShowStatisticMenu = null;
257
258
    /**
259
     * @var boolean $ShowBookingOwnerFriendMenu
260
     */
261
    protected $ShowBookingOwnerFriendMenu = null;
262
263
    /**
264
     * @var boolean $ShowBookingGuestMenu
265
     */
266
    protected $ShowBookingGuestMenu = null;
267
268
    /**
269
     * @var boolean $ShowLoginPwdMenu
270
     */
271
    protected $ShowLoginPwdMenu = null;
272
273
    /**
274
     * @var boolean $ShowWorkOrderMenu
275
     */
276
    protected $ShowWorkOrderMenu = null;
277
278
    /**
279
     * @var boolean $AllowGuestBooking
280
     */
281
    protected $AllowGuestBooking = null;
282
283
    /**
284
     * @var boolean $ShowNewsMenu
285
     */
286
    protected $ShowNewsMenu = null;
287
288
    /**
289
     * @var boolean $AllowFractionalOwnerBooking
290
     */
291
    protected $AllowFractionalOwnerBooking = null;
292
293
    /**
294
     * @var boolean $ShowWorkOrderTechInfo
295
     */
296
    protected $ShowWorkOrderTechInfo = null;
297
298
    /**
299
     * @var boolean $ShowGrossRentalRevenu
300
     */
301
    protected $ShowGrossRentalRevenu = null;
302
303
    /**
304
     * @param \DateTime $ShowGuestsSince
305
     * @param \DateTime $ShowWorkOrdersSince
306
     * @param boolean $IsCCConfirmationToPL
307
     * @param boolean $IsCCConfirmationToBldgGle
308
     * @param int $wcMinDayFromHotelDate
309
     * @param int $wcMaxDayFromHotelDate
310
     * @param boolean $IsShowWorkOrderOnlyInClosedMonth
311
     * @param boolean $IsShowSubFolioA
312
     * @param boolean $IsShowSubFolioB
313
     * @param boolean $IsShowSubFolioC
314
     * @param boolean $IsShowSubFolioD
315
     * @param \DateTime $LoadTime
316
     * @param boolean $AllowOwnerBooking
317
     * @param boolean $EnablePDFDownload
318
     * @param CondoActivityColumnsVisibility $ActivityColumnsVisibility
319
     * @param CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility
320
     * @param int $ID_Property
321
     * @param \DateTime $CurrentHotelDate
322
     * @param boolean $Active
323
     * @param boolean $OnlyClosedMonths
324
     * @param boolean $ShowXMLActivity
325
     * @param boolean $ShowXMLStatement
326
     * @param boolean $ShowExpenses
327
     * @param boolean $IsGuestNegociateBooking
328
     * @param int $ID_SrcBusinessNegociated
329
     * @param int $ID_RateReasonNegociated
330
     * @param int $ID_RateCodeNegociated
331
     * @param boolean $AllowProfileUpdate
332
     * @param boolean $ShowContractDates
333
     * @param CondoActivityTypeEnum $CondoActivityType
334
     * @param boolean $ShowContractBalances
335
     * @param boolean $ShowProfileBalances
336
     * @param boolean $ShowContractBalancesDetails
337
     * @param boolean $ShowProfileBalancesDetails
338
     * @param boolean $ShowRoomTypeSoldOutAsAvailable
339
     * @param boolean $ShowWorkOrdersPostedOnly
340
     * @param boolean $DeduceRoomRevFromSAComm
341
     * @param int $MaxInitialContractsLoadWorkOrder
342
     * @param boolean $ShowGHOnlyBookingTypeOwnerFriend
343
     * @param boolean $ShowGHPastResa
344
     * @param boolean $ShowGHFutureResa
345
     * @param boolean $ShowGuestHistoryMenu
346
     * @param boolean $ShowContractMenu
347
     * @param boolean $ShowStatisticMenu
348
     * @param boolean $ShowBookingOwnerFriendMenu
349
     * @param boolean $ShowBookingGuestMenu
350
     * @param boolean $ShowLoginPwdMenu
351
     * @param boolean $ShowWorkOrderMenu
352
     * @param boolean $AllowGuestBooking
353
     * @param boolean $ShowNewsMenu
354
     * @param boolean $AllowFractionalOwnerBooking
355
     * @param boolean $ShowWorkOrderTechInfo
356
     * @param boolean $ShowGrossRentalRevenu
357
     */
358
    public function __construct(\DateTime $ShowGuestsSince, \DateTime $ShowWorkOrdersSince, $IsCCConfirmationToPL, $IsCCConfirmationToBldgGle, $wcMinDayFromHotelDate, $wcMaxDayFromHotelDate, $IsShowWorkOrderOnlyInClosedMonth, $IsShowSubFolioA, $IsShowSubFolioB, $IsShowSubFolioC, $IsShowSubFolioD, \DateTime $LoadTime, $AllowOwnerBooking, $EnablePDFDownload, $ActivityColumnsVisibility, $GuestHistoryColumnsVisibility, $ID_Property, \DateTime $CurrentHotelDate, $Active, $OnlyClosedMonths, $ShowXMLActivity, $ShowXMLStatement, $ShowExpenses, $IsGuestNegociateBooking, $ID_SrcBusinessNegociated, $ID_RateReasonNegociated, $ID_RateCodeNegociated, $AllowProfileUpdate, $ShowContractDates, $CondoActivityType, $ShowContractBalances, $ShowProfileBalances, $ShowContractBalancesDetails, $ShowProfileBalancesDetails, $ShowRoomTypeSoldOutAsAvailable, $ShowWorkOrdersPostedOnly, $DeduceRoomRevFromSAComm, $MaxInitialContractsLoadWorkOrder, $ShowGHOnlyBookingTypeOwnerFriend, $ShowGHPastResa, $ShowGHFutureResa, $ShowGuestHistoryMenu, $ShowContractMenu, $ShowStatisticMenu, $ShowBookingOwnerFriendMenu, $ShowBookingGuestMenu, $ShowLoginPwdMenu, $ShowWorkOrderMenu, $AllowGuestBooking, $ShowNewsMenu, $AllowFractionalOwnerBooking, $ShowWorkOrderTechInfo, $ShowGrossRentalRevenu)
359
    {
360
        $this->ShowGuestsSince = $ShowGuestsSince->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $ShowGuestsSince->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $ShowGuestsSince.

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

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...
362
        $this->IsCCConfirmationToPL = $IsCCConfirmationToPL;
363
        $this->IsCCConfirmationToBldgGle = $IsCCConfirmationToBldgGle;
364
        $this->wcMinDayFromHotelDate = $wcMinDayFromHotelDate;
365
        $this->wcMaxDayFromHotelDate = $wcMaxDayFromHotelDate;
366
        $this->IsShowWorkOrderOnlyInClosedMonth = $IsShowWorkOrderOnlyInClosedMonth;
367
        $this->IsShowSubFolioA = $IsShowSubFolioA;
368
        $this->IsShowSubFolioB = $IsShowSubFolioB;
369
        $this->IsShowSubFolioC = $IsShowSubFolioC;
370
        $this->IsShowSubFolioD = $IsShowSubFolioD;
371
        $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...
372
        $this->AllowOwnerBooking = $AllowOwnerBooking;
373
        $this->EnablePDFDownload = $EnablePDFDownload;
374
        $this->ActivityColumnsVisibility = $ActivityColumnsVisibility;
375
        $this->GuestHistoryColumnsVisibility = $GuestHistoryColumnsVisibility;
376
        $this->ID_Property = $ID_Property;
377
        $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...
378
        $this->Active = $Active;
379
        $this->OnlyClosedMonths = $OnlyClosedMonths;
380
        $this->ShowXMLActivity = $ShowXMLActivity;
381
        $this->ShowXMLStatement = $ShowXMLStatement;
382
        $this->ShowExpenses = $ShowExpenses;
383
        $this->IsGuestNegociateBooking = $IsGuestNegociateBooking;
384
        $this->ID_SrcBusinessNegociated = $ID_SrcBusinessNegociated;
385
        $this->ID_RateReasonNegociated = $ID_RateReasonNegociated;
386
        $this->ID_RateCodeNegociated = $ID_RateCodeNegociated;
387
        $this->AllowProfileUpdate = $AllowProfileUpdate;
388
        $this->ShowContractDates = $ShowContractDates;
389
        $this->CondoActivityType = $CondoActivityType;
390
        $this->ShowContractBalances = $ShowContractBalances;
391
        $this->ShowProfileBalances = $ShowProfileBalances;
392
        $this->ShowContractBalancesDetails = $ShowContractBalancesDetails;
393
        $this->ShowProfileBalancesDetails = $ShowProfileBalancesDetails;
394
        $this->ShowRoomTypeSoldOutAsAvailable = $ShowRoomTypeSoldOutAsAvailable;
395
        $this->ShowWorkOrdersPostedOnly = $ShowWorkOrdersPostedOnly;
396
        $this->DeduceRoomRevFromSAComm = $DeduceRoomRevFromSAComm;
397
        $this->MaxInitialContractsLoadWorkOrder = $MaxInitialContractsLoadWorkOrder;
398
        $this->ShowGHOnlyBookingTypeOwnerFriend = $ShowGHOnlyBookingTypeOwnerFriend;
399
        $this->ShowGHPastResa = $ShowGHPastResa;
400
        $this->ShowGHFutureResa = $ShowGHFutureResa;
401
        $this->ShowGuestHistoryMenu = $ShowGuestHistoryMenu;
402
        $this->ShowContractMenu = $ShowContractMenu;
403
        $this->ShowStatisticMenu = $ShowStatisticMenu;
404
        $this->ShowBookingOwnerFriendMenu = $ShowBookingOwnerFriendMenu;
405
        $this->ShowBookingGuestMenu = $ShowBookingGuestMenu;
406
        $this->ShowLoginPwdMenu = $ShowLoginPwdMenu;
407
        $this->ShowWorkOrderMenu = $ShowWorkOrderMenu;
408
        $this->AllowGuestBooking = $AllowGuestBooking;
409
        $this->ShowNewsMenu = $ShowNewsMenu;
410
        $this->AllowFractionalOwnerBooking = $AllowFractionalOwnerBooking;
411
        $this->ShowWorkOrderTechInfo = $ShowWorkOrderTechInfo;
412
        $this->ShowGrossRentalRevenu = $ShowGrossRentalRevenu;
413
    }
414
415
    /**
416
     * @return \DateTime
417
     */
418
    public function getShowGuestsSince()
419
    {
420
        if ($this->ShowGuestsSince == null) {
421
            return null;
422
        } else {
423
            try {
424
                return new \DateTime($this->ShowGuestsSince);
425
            } catch (\Exception $e) {
426
                return false;
427
            }
428
        }
429
    }
430
431
    /**
432
     * @param \DateTime $ShowGuestsSince
433
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
434
     */
435
    public function setShowGuestsSince(\DateTime $ShowGuestsSince)
436
    {
437
        $this->ShowGuestsSince = $ShowGuestsSince->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $ShowGuestsSince->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $ShowGuestsSince.

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...
438
        return $this;
439
    }
440
441
    /**
442
     * @return \DateTime
443
     */
444
    public function getShowWorkOrdersSince()
445
    {
446
        if ($this->ShowWorkOrdersSince == null) {
447
            return null;
448
        } else {
449
            try {
450
                return new \DateTime($this->ShowWorkOrdersSince);
451
            } catch (\Exception $e) {
452
                return false;
453
            }
454
        }
455
    }
456
457
    /**
458
     * @param \DateTime $ShowWorkOrdersSince
459
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
460
     */
461
    public function setShowWorkOrdersSince(\DateTime $ShowWorkOrdersSince)
462
    {
463
        $this->ShowWorkOrdersSince = $ShowWorkOrdersSince->format(\DateTime::ATOM);
0 ignored issues
show
Documentation Bug introduced by
It seems like $ShowWorkOrdersSince->format(\DateTime::ATOM) of type string is incompatible with the declared type object<DateTime> of property $ShowWorkOrdersSince.

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...
464
        return $this;
465
    }
466
467
    /**
468
     * @return string
469
     */
470
    public function getCustomLabelSubFolioA()
471
    {
472
        return $this->CustomLabelSubFolioA;
473
    }
474
475
    /**
476
     * @param string $CustomLabelSubFolioA
477
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
478
     */
479
    public function setCustomLabelSubFolioA($CustomLabelSubFolioA)
480
    {
481
        $this->CustomLabelSubFolioA = $CustomLabelSubFolioA;
482
        return $this;
483
    }
484
485
    /**
486
     * @return string
487
     */
488
    public function getCustomLabelSubFolioB()
489
    {
490
        return $this->CustomLabelSubFolioB;
491
    }
492
493
    /**
494
     * @param string $CustomLabelSubFolioB
495
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
496
     */
497
    public function setCustomLabelSubFolioB($CustomLabelSubFolioB)
498
    {
499
        $this->CustomLabelSubFolioB = $CustomLabelSubFolioB;
500
        return $this;
501
    }
502
503
    /**
504
     * @return string
505
     */
506
    public function getCustomLabelSubFolioC()
507
    {
508
        return $this->CustomLabelSubFolioC;
509
    }
510
511
    /**
512
     * @param string $CustomLabelSubFolioC
513
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
514
     */
515
    public function setCustomLabelSubFolioC($CustomLabelSubFolioC)
516
    {
517
        $this->CustomLabelSubFolioC = $CustomLabelSubFolioC;
518
        return $this;
519
    }
520
521
    /**
522
     * @return string
523
     */
524
    public function getCustomLabelSubFolioD()
525
    {
526
        return $this->CustomLabelSubFolioD;
527
    }
528
529
    /**
530
     * @param string $CustomLabelSubFolioD
531
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
532
     */
533
    public function setCustomLabelSubFolioD($CustomLabelSubFolioD)
534
    {
535
        $this->CustomLabelSubFolioD = $CustomLabelSubFolioD;
536
        return $this;
537
    }
538
539
    /**
540
     * @return boolean
541
     */
542
    public function getIsCCConfirmationToPL()
543
    {
544
        return $this->IsCCConfirmationToPL;
545
    }
546
547
    /**
548
     * @param boolean $IsCCConfirmationToPL
549
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
550
     */
551
    public function setIsCCConfirmationToPL($IsCCConfirmationToPL)
552
    {
553
        $this->IsCCConfirmationToPL = $IsCCConfirmationToPL;
554
        return $this;
555
    }
556
557
    /**
558
     * @return boolean
559
     */
560
    public function getIsCCConfirmationToBldgGle()
561
    {
562
        return $this->IsCCConfirmationToBldgGle;
563
    }
564
565
    /**
566
     * @param boolean $IsCCConfirmationToBldgGle
567
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
568
     */
569
    public function setIsCCConfirmationToBldgGle($IsCCConfirmationToBldgGle)
570
    {
571
        $this->IsCCConfirmationToBldgGle = $IsCCConfirmationToBldgGle;
572
        return $this;
573
    }
574
575
    /**
576
     * @return int
577
     */
578
    public function getWcMinDayFromHotelDate()
579
    {
580
        return $this->wcMinDayFromHotelDate;
581
    }
582
583
    /**
584
     * @param int $wcMinDayFromHotelDate
585
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
586
     */
587
    public function setWcMinDayFromHotelDate($wcMinDayFromHotelDate)
588
    {
589
        $this->wcMinDayFromHotelDate = $wcMinDayFromHotelDate;
590
        return $this;
591
    }
592
593
    /**
594
     * @return int
595
     */
596
    public function getWcMaxDayFromHotelDate()
597
    {
598
        return $this->wcMaxDayFromHotelDate;
599
    }
600
601
    /**
602
     * @param int $wcMaxDayFromHotelDate
603
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
604
     */
605
    public function setWcMaxDayFromHotelDate($wcMaxDayFromHotelDate)
606
    {
607
        $this->wcMaxDayFromHotelDate = $wcMaxDayFromHotelDate;
608
        return $this;
609
    }
610
611
    /**
612
     * @return boolean
613
     */
614
    public function getIsShowWorkOrderOnlyInClosedMonth()
615
    {
616
        return $this->IsShowWorkOrderOnlyInClosedMonth;
617
    }
618
619
    /**
620
     * @param boolean $IsShowWorkOrderOnlyInClosedMonth
621
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
622
     */
623
    public function setIsShowWorkOrderOnlyInClosedMonth($IsShowWorkOrderOnlyInClosedMonth)
624
    {
625
        $this->IsShowWorkOrderOnlyInClosedMonth = $IsShowWorkOrderOnlyInClosedMonth;
626
        return $this;
627
    }
628
629
    /**
630
     * @return boolean
631
     */
632
    public function getIsShowSubFolioA()
633
    {
634
        return $this->IsShowSubFolioA;
635
    }
636
637
    /**
638
     * @param boolean $IsShowSubFolioA
639
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
640
     */
641
    public function setIsShowSubFolioA($IsShowSubFolioA)
642
    {
643
        $this->IsShowSubFolioA = $IsShowSubFolioA;
644
        return $this;
645
    }
646
647
    /**
648
     * @return boolean
649
     */
650
    public function getIsShowSubFolioB()
651
    {
652
        return $this->IsShowSubFolioB;
653
    }
654
655
    /**
656
     * @param boolean $IsShowSubFolioB
657
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
658
     */
659
    public function setIsShowSubFolioB($IsShowSubFolioB)
660
    {
661
        $this->IsShowSubFolioB = $IsShowSubFolioB;
662
        return $this;
663
    }
664
665
    /**
666
     * @return boolean
667
     */
668
    public function getIsShowSubFolioC()
669
    {
670
        return $this->IsShowSubFolioC;
671
    }
672
673
    /**
674
     * @param boolean $IsShowSubFolioC
675
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
676
     */
677
    public function setIsShowSubFolioC($IsShowSubFolioC)
678
    {
679
        $this->IsShowSubFolioC = $IsShowSubFolioC;
680
        return $this;
681
    }
682
683
    /**
684
     * @return boolean
685
     */
686
    public function getIsShowSubFolioD()
687
    {
688
        return $this->IsShowSubFolioD;
689
    }
690
691
    /**
692
     * @param boolean $IsShowSubFolioD
693
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
694
     */
695
    public function setIsShowSubFolioD($IsShowSubFolioD)
696
    {
697
        $this->IsShowSubFolioD = $IsShowSubFolioD;
698
        return $this;
699
    }
700
701
    /**
702
     * @return \DateTime
703
     */
704
    public function getLoadTime()
705
    {
706
        if ($this->LoadTime == null) {
707
            return null;
708
        } else {
709
            try {
710
                return new \DateTime($this->LoadTime);
711
            } catch (\Exception $e) {
712
                return false;
713
            }
714
        }
715
    }
716
717
    /**
718
     * @param \DateTime $LoadTime
719
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
720
     */
721
    public function setLoadTime(\DateTime $LoadTime)
722
    {
723
        $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...
724
        return $this;
725
    }
726
727
    /**
728
     * @return boolean
729
     */
730
    public function getAllowOwnerBooking()
731
    {
732
        return $this->AllowOwnerBooking;
733
    }
734
735
    /**
736
     * @param boolean $AllowOwnerBooking
737
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
738
     */
739
    public function setAllowOwnerBooking($AllowOwnerBooking)
740
    {
741
        $this->AllowOwnerBooking = $AllowOwnerBooking;
742
        return $this;
743
    }
744
745
    /**
746
     * @return boolean
747
     */
748
    public function getEnablePDFDownload()
749
    {
750
        return $this->EnablePDFDownload;
751
    }
752
753
    /**
754
     * @param boolean $EnablePDFDownload
755
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
756
     */
757
    public function setEnablePDFDownload($EnablePDFDownload)
758
    {
759
        $this->EnablePDFDownload = $EnablePDFDownload;
760
        return $this;
761
    }
762
763
    /**
764
     * @return CondoActivityColumnsVisibility
765
     */
766
    public function getActivityColumnsVisibility()
767
    {
768
        return $this->ActivityColumnsVisibility;
769
    }
770
771
    /**
772
     * @param CondoActivityColumnsVisibility $ActivityColumnsVisibility
773
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
774
     */
775
    public function setActivityColumnsVisibility($ActivityColumnsVisibility)
776
    {
777
        $this->ActivityColumnsVisibility = $ActivityColumnsVisibility;
778
        return $this;
779
    }
780
781
    /**
782
     * @return CondoGuestHistoryColumnsVisibility
783
     */
784
    public function getGuestHistoryColumnsVisibility()
785
    {
786
        return $this->GuestHistoryColumnsVisibility;
787
    }
788
789
    /**
790
     * @param CondoGuestHistoryColumnsVisibility $GuestHistoryColumnsVisibility
791
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
792
     */
793
    public function setGuestHistoryColumnsVisibility($GuestHistoryColumnsVisibility)
794
    {
795
        $this->GuestHistoryColumnsVisibility = $GuestHistoryColumnsVisibility;
796
        return $this;
797
    }
798
799
    /**
800
     * @return int
801
     */
802
    public function getID_Property()
803
    {
804
        return $this->ID_Property;
805
    }
806
807
    /**
808
     * @param int $ID_Property
809
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
810
     */
811
    public function setID_Property($ID_Property)
812
    {
813
        $this->ID_Property = $ID_Property;
814
        return $this;
815
    }
816
817
    /**
818
     * @return \DateTime
819
     */
820
    public function getCurrentHotelDate()
821
    {
822
        if ($this->CurrentHotelDate == null) {
823
            return null;
824
        } else {
825
            try {
826
                return new \DateTime($this->CurrentHotelDate);
827
            } catch (\Exception $e) {
828
                return false;
829
            }
830
        }
831
    }
832
833
    /**
834
     * @param \DateTime $CurrentHotelDate
835
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
836
     */
837
    public function setCurrentHotelDate(\DateTime $CurrentHotelDate)
838
    {
839
        $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...
840
        return $this;
841
    }
842
843
    /**
844
     * @return string
845
     */
846
    public function getDefaultLanguage()
847
    {
848
        return $this->DefaultLanguage;
849
    }
850
851
    /**
852
     * @param string $DefaultLanguage
853
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
854
     */
855
    public function setDefaultLanguage($DefaultLanguage)
856
    {
857
        $this->DefaultLanguage = $DefaultLanguage;
858
        return $this;
859
    }
860
861
    /**
862
     * @return boolean
863
     */
864
    public function getActive()
865
    {
866
        return $this->Active;
867
    }
868
869
    /**
870
     * @param boolean $Active
871
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
872
     */
873
    public function setActive($Active)
874
    {
875
        $this->Active = $Active;
876
        return $this;
877
    }
878
879
    /**
880
     * @return boolean
881
     */
882
    public function getOnlyClosedMonths()
883
    {
884
        return $this->OnlyClosedMonths;
885
    }
886
887
    /**
888
     * @param boolean $OnlyClosedMonths
889
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
890
     */
891
    public function setOnlyClosedMonths($OnlyClosedMonths)
892
    {
893
        $this->OnlyClosedMonths = $OnlyClosedMonths;
894
        return $this;
895
    }
896
897
    /**
898
     * @return boolean
899
     */
900
    public function getShowXMLActivity()
901
    {
902
        return $this->ShowXMLActivity;
903
    }
904
905
    /**
906
     * @param boolean $ShowXMLActivity
907
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
908
     */
909
    public function setShowXMLActivity($ShowXMLActivity)
910
    {
911
        $this->ShowXMLActivity = $ShowXMLActivity;
912
        return $this;
913
    }
914
915
    /**
916
     * @return boolean
917
     */
918
    public function getShowXMLStatement()
919
    {
920
        return $this->ShowXMLStatement;
921
    }
922
923
    /**
924
     * @param boolean $ShowXMLStatement
925
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
926
     */
927
    public function setShowXMLStatement($ShowXMLStatement)
928
    {
929
        $this->ShowXMLStatement = $ShowXMLStatement;
930
        return $this;
931
    }
932
933
    /**
934
     * @return boolean
935
     */
936
    public function getShowExpenses()
937
    {
938
        return $this->ShowExpenses;
939
    }
940
941
    /**
942
     * @param boolean $ShowExpenses
943
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
944
     */
945
    public function setShowExpenses($ShowExpenses)
946
    {
947
        $this->ShowExpenses = $ShowExpenses;
948
        return $this;
949
    }
950
951
    /**
952
     * @return boolean
953
     */
954
    public function getIsGuestNegociateBooking()
955
    {
956
        return $this->IsGuestNegociateBooking;
957
    }
958
959
    /**
960
     * @param boolean $IsGuestNegociateBooking
961
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
962
     */
963
    public function setIsGuestNegociateBooking($IsGuestNegociateBooking)
964
    {
965
        $this->IsGuestNegociateBooking = $IsGuestNegociateBooking;
966
        return $this;
967
    }
968
969
    /**
970
     * @return int
971
     */
972
    public function getID_SrcBusinessNegociated()
973
    {
974
        return $this->ID_SrcBusinessNegociated;
975
    }
976
977
    /**
978
     * @param int $ID_SrcBusinessNegociated
979
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
980
     */
981
    public function setID_SrcBusinessNegociated($ID_SrcBusinessNegociated)
982
    {
983
        $this->ID_SrcBusinessNegociated = $ID_SrcBusinessNegociated;
984
        return $this;
985
    }
986
987
    /**
988
     * @return int
989
     */
990
    public function getID_RateReasonNegociated()
991
    {
992
        return $this->ID_RateReasonNegociated;
993
    }
994
995
    /**
996
     * @param int $ID_RateReasonNegociated
997
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
998
     */
999
    public function setID_RateReasonNegociated($ID_RateReasonNegociated)
1000
    {
1001
        $this->ID_RateReasonNegociated = $ID_RateReasonNegociated;
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @return int
1007
     */
1008
    public function getID_RateCodeNegociated()
1009
    {
1010
        return $this->ID_RateCodeNegociated;
1011
    }
1012
1013
    /**
1014
     * @param int $ID_RateCodeNegociated
1015
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1016
     */
1017
    public function setID_RateCodeNegociated($ID_RateCodeNegociated)
1018
    {
1019
        $this->ID_RateCodeNegociated = $ID_RateCodeNegociated;
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @return boolean
1025
     */
1026
    public function getAllowProfileUpdate()
1027
    {
1028
        return $this->AllowProfileUpdate;
1029
    }
1030
1031
    /**
1032
     * @param boolean $AllowProfileUpdate
1033
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1034
     */
1035
    public function setAllowProfileUpdate($AllowProfileUpdate)
1036
    {
1037
        $this->AllowProfileUpdate = $AllowProfileUpdate;
1038
        return $this;
1039
    }
1040
1041
    /**
1042
     * @return boolean
1043
     */
1044
    public function getShowContractDates()
1045
    {
1046
        return $this->ShowContractDates;
1047
    }
1048
1049
    /**
1050
     * @param boolean $ShowContractDates
1051
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1052
     */
1053
    public function setShowContractDates($ShowContractDates)
1054
    {
1055
        $this->ShowContractDates = $ShowContractDates;
1056
        return $this;
1057
    }
1058
1059
    /**
1060
     * @return CondoActivityTypeEnum
1061
     */
1062
    public function getCondoActivityType()
1063
    {
1064
        return $this->CondoActivityType;
1065
    }
1066
1067
    /**
1068
     * @param CondoActivityTypeEnum $CondoActivityType
1069
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1070
     */
1071
    public function setCondoActivityType($CondoActivityType)
1072
    {
1073
        $this->CondoActivityType = $CondoActivityType;
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @return boolean
1079
     */
1080
    public function getShowContractBalances()
1081
    {
1082
        return $this->ShowContractBalances;
1083
    }
1084
1085
    /**
1086
     * @param boolean $ShowContractBalances
1087
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1088
     */
1089
    public function setShowContractBalances($ShowContractBalances)
1090
    {
1091
        $this->ShowContractBalances = $ShowContractBalances;
1092
        return $this;
1093
    }
1094
1095
    /**
1096
     * @return boolean
1097
     */
1098
    public function getShowProfileBalances()
1099
    {
1100
        return $this->ShowProfileBalances;
1101
    }
1102
1103
    /**
1104
     * @param boolean $ShowProfileBalances
1105
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1106
     */
1107
    public function setShowProfileBalances($ShowProfileBalances)
1108
    {
1109
        $this->ShowProfileBalances = $ShowProfileBalances;
1110
        return $this;
1111
    }
1112
1113
    /**
1114
     * @return boolean
1115
     */
1116
    public function getShowContractBalancesDetails()
1117
    {
1118
        return $this->ShowContractBalancesDetails;
1119
    }
1120
1121
    /**
1122
     * @param boolean $ShowContractBalancesDetails
1123
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1124
     */
1125
    public function setShowContractBalancesDetails($ShowContractBalancesDetails)
1126
    {
1127
        $this->ShowContractBalancesDetails = $ShowContractBalancesDetails;
1128
        return $this;
1129
    }
1130
1131
    /**
1132
     * @return boolean
1133
     */
1134
    public function getShowProfileBalancesDetails()
1135
    {
1136
        return $this->ShowProfileBalancesDetails;
1137
    }
1138
1139
    /**
1140
     * @param boolean $ShowProfileBalancesDetails
1141
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1142
     */
1143
    public function setShowProfileBalancesDetails($ShowProfileBalancesDetails)
1144
    {
1145
        $this->ShowProfileBalancesDetails = $ShowProfileBalancesDetails;
1146
        return $this;
1147
    }
1148
1149
    /**
1150
     * @return boolean
1151
     */
1152
    public function getShowRoomTypeSoldOutAsAvailable()
1153
    {
1154
        return $this->ShowRoomTypeSoldOutAsAvailable;
1155
    }
1156
1157
    /**
1158
     * @param boolean $ShowRoomTypeSoldOutAsAvailable
1159
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1160
     */
1161
    public function setShowRoomTypeSoldOutAsAvailable($ShowRoomTypeSoldOutAsAvailable)
1162
    {
1163
        $this->ShowRoomTypeSoldOutAsAvailable = $ShowRoomTypeSoldOutAsAvailable;
1164
        return $this;
1165
    }
1166
1167
    /**
1168
     * @return string
1169
     */
1170
    public function getDisclaimer()
1171
    {
1172
        return $this->Disclaimer;
1173
    }
1174
1175
    /**
1176
     * @param string $Disclaimer
1177
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1178
     */
1179
    public function setDisclaimer($Disclaimer)
1180
    {
1181
        $this->Disclaimer = $Disclaimer;
1182
        return $this;
1183
    }
1184
1185
    /**
1186
     * @return boolean
1187
     */
1188
    public function getShowWorkOrdersPostedOnly()
1189
    {
1190
        return $this->ShowWorkOrdersPostedOnly;
1191
    }
1192
1193
    /**
1194
     * @param boolean $ShowWorkOrdersPostedOnly
1195
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1196
     */
1197
    public function setShowWorkOrdersPostedOnly($ShowWorkOrdersPostedOnly)
1198
    {
1199
        $this->ShowWorkOrdersPostedOnly = $ShowWorkOrdersPostedOnly;
1200
        return $this;
1201
    }
1202
1203
    /**
1204
     * @return boolean
1205
     */
1206
    public function getDeduceRoomRevFromSAComm()
1207
    {
1208
        return $this->DeduceRoomRevFromSAComm;
1209
    }
1210
1211
    /**
1212
     * @param boolean $DeduceRoomRevFromSAComm
1213
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1214
     */
1215
    public function setDeduceRoomRevFromSAComm($DeduceRoomRevFromSAComm)
1216
    {
1217
        $this->DeduceRoomRevFromSAComm = $DeduceRoomRevFromSAComm;
1218
        return $this;
1219
    }
1220
1221
    /**
1222
     * @return int
1223
     */
1224
    public function getMaxInitialContractsLoadWorkOrder()
1225
    {
1226
        return $this->MaxInitialContractsLoadWorkOrder;
1227
    }
1228
1229
    /**
1230
     * @param int $MaxInitialContractsLoadWorkOrder
1231
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1232
     */
1233
    public function setMaxInitialContractsLoadWorkOrder($MaxInitialContractsLoadWorkOrder)
1234
    {
1235
        $this->MaxInitialContractsLoadWorkOrder = $MaxInitialContractsLoadWorkOrder;
1236
        return $this;
1237
    }
1238
1239
    /**
1240
     * @return boolean
1241
     */
1242
    public function getShowGHOnlyBookingTypeOwnerFriend()
1243
    {
1244
        return $this->ShowGHOnlyBookingTypeOwnerFriend;
1245
    }
1246
1247
    /**
1248
     * @param boolean $ShowGHOnlyBookingTypeOwnerFriend
1249
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1250
     */
1251
    public function setShowGHOnlyBookingTypeOwnerFriend($ShowGHOnlyBookingTypeOwnerFriend)
1252
    {
1253
        $this->ShowGHOnlyBookingTypeOwnerFriend = $ShowGHOnlyBookingTypeOwnerFriend;
1254
        return $this;
1255
    }
1256
1257
    /**
1258
     * @return boolean
1259
     */
1260
    public function getShowGHPastResa()
1261
    {
1262
        return $this->ShowGHPastResa;
1263
    }
1264
1265
    /**
1266
     * @param boolean $ShowGHPastResa
1267
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1268
     */
1269
    public function setShowGHPastResa($ShowGHPastResa)
1270
    {
1271
        $this->ShowGHPastResa = $ShowGHPastResa;
1272
        return $this;
1273
    }
1274
1275
    /**
1276
     * @return boolean
1277
     */
1278
    public function getShowGHFutureResa()
1279
    {
1280
        return $this->ShowGHFutureResa;
1281
    }
1282
1283
    /**
1284
     * @param boolean $ShowGHFutureResa
1285
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1286
     */
1287
    public function setShowGHFutureResa($ShowGHFutureResa)
1288
    {
1289
        $this->ShowGHFutureResa = $ShowGHFutureResa;
1290
        return $this;
1291
    }
1292
1293
    /**
1294
     * @return boolean
1295
     */
1296
    public function getShowGuestHistoryMenu()
1297
    {
1298
        return $this->ShowGuestHistoryMenu;
1299
    }
1300
1301
    /**
1302
     * @param boolean $ShowGuestHistoryMenu
1303
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1304
     */
1305
    public function setShowGuestHistoryMenu($ShowGuestHistoryMenu)
1306
    {
1307
        $this->ShowGuestHistoryMenu = $ShowGuestHistoryMenu;
1308
        return $this;
1309
    }
1310
1311
    /**
1312
     * @return boolean
1313
     */
1314
    public function getShowContractMenu()
1315
    {
1316
        return $this->ShowContractMenu;
1317
    }
1318
1319
    /**
1320
     * @param boolean $ShowContractMenu
1321
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1322
     */
1323
    public function setShowContractMenu($ShowContractMenu)
1324
    {
1325
        $this->ShowContractMenu = $ShowContractMenu;
1326
        return $this;
1327
    }
1328
1329
    /**
1330
     * @return boolean
1331
     */
1332
    public function getShowStatisticMenu()
1333
    {
1334
        return $this->ShowStatisticMenu;
1335
    }
1336
1337
    /**
1338
     * @param boolean $ShowStatisticMenu
1339
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1340
     */
1341
    public function setShowStatisticMenu($ShowStatisticMenu)
1342
    {
1343
        $this->ShowStatisticMenu = $ShowStatisticMenu;
1344
        return $this;
1345
    }
1346
1347
    /**
1348
     * @return boolean
1349
     */
1350
    public function getShowBookingOwnerFriendMenu()
1351
    {
1352
        return $this->ShowBookingOwnerFriendMenu;
1353
    }
1354
1355
    /**
1356
     * @param boolean $ShowBookingOwnerFriendMenu
1357
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1358
     */
1359
    public function setShowBookingOwnerFriendMenu($ShowBookingOwnerFriendMenu)
1360
    {
1361
        $this->ShowBookingOwnerFriendMenu = $ShowBookingOwnerFriendMenu;
1362
        return $this;
1363
    }
1364
1365
    /**
1366
     * @return boolean
1367
     */
1368
    public function getShowBookingGuestMenu()
1369
    {
1370
        return $this->ShowBookingGuestMenu;
1371
    }
1372
1373
    /**
1374
     * @param boolean $ShowBookingGuestMenu
1375
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1376
     */
1377
    public function setShowBookingGuestMenu($ShowBookingGuestMenu)
1378
    {
1379
        $this->ShowBookingGuestMenu = $ShowBookingGuestMenu;
1380
        return $this;
1381
    }
1382
1383
    /**
1384
     * @return boolean
1385
     */
1386
    public function getShowLoginPwdMenu()
1387
    {
1388
        return $this->ShowLoginPwdMenu;
1389
    }
1390
1391
    /**
1392
     * @param boolean $ShowLoginPwdMenu
1393
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1394
     */
1395
    public function setShowLoginPwdMenu($ShowLoginPwdMenu)
1396
    {
1397
        $this->ShowLoginPwdMenu = $ShowLoginPwdMenu;
1398
        return $this;
1399
    }
1400
1401
    /**
1402
     * @return boolean
1403
     */
1404
    public function getShowWorkOrderMenu()
1405
    {
1406
        return $this->ShowWorkOrderMenu;
1407
    }
1408
1409
    /**
1410
     * @param boolean $ShowWorkOrderMenu
1411
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1412
     */
1413
    public function setShowWorkOrderMenu($ShowWorkOrderMenu)
1414
    {
1415
        $this->ShowWorkOrderMenu = $ShowWorkOrderMenu;
1416
        return $this;
1417
    }
1418
1419
    /**
1420
     * @return boolean
1421
     */
1422
    public function getAllowGuestBooking()
1423
    {
1424
        return $this->AllowGuestBooking;
1425
    }
1426
1427
    /**
1428
     * @param boolean $AllowGuestBooking
1429
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1430
     */
1431
    public function setAllowGuestBooking($AllowGuestBooking)
1432
    {
1433
        $this->AllowGuestBooking = $AllowGuestBooking;
1434
        return $this;
1435
    }
1436
1437
    /**
1438
     * @return boolean
1439
     */
1440
    public function getShowNewsMenu()
1441
    {
1442
        return $this->ShowNewsMenu;
1443
    }
1444
1445
    /**
1446
     * @param boolean $ShowNewsMenu
1447
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1448
     */
1449
    public function setShowNewsMenu($ShowNewsMenu)
1450
    {
1451
        $this->ShowNewsMenu = $ShowNewsMenu;
1452
        return $this;
1453
    }
1454
1455
    /**
1456
     * @return boolean
1457
     */
1458
    public function getAllowFractionalOwnerBooking()
1459
    {
1460
        return $this->AllowFractionalOwnerBooking;
1461
    }
1462
1463
    /**
1464
     * @param boolean $AllowFractionalOwnerBooking
1465
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1466
     */
1467
    public function setAllowFractionalOwnerBooking($AllowFractionalOwnerBooking)
1468
    {
1469
        $this->AllowFractionalOwnerBooking = $AllowFractionalOwnerBooking;
1470
        return $this;
1471
    }
1472
1473
    /**
1474
     * @return boolean
1475
     */
1476
    public function getShowWorkOrderTechInfo()
1477
    {
1478
        return $this->ShowWorkOrderTechInfo;
1479
    }
1480
1481
    /**
1482
     * @param boolean $ShowWorkOrderTechInfo
1483
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1484
     */
1485
    public function setShowWorkOrderTechInfo($ShowWorkOrderTechInfo)
1486
    {
1487
        $this->ShowWorkOrderTechInfo = $ShowWorkOrderTechInfo;
1488
        return $this;
1489
    }
1490
1491
    /**
1492
     * @return boolean
1493
     */
1494
    public function getShowGrossRentalRevenu()
1495
    {
1496
        return $this->ShowGrossRentalRevenu;
1497
    }
1498
1499
    /**
1500
     * @param boolean $ShowGrossRentalRevenu
1501
     * @return \Gueststream\PMS\IQWare\API\WebCondoConfig
1502
     */
1503
    public function setShowGrossRentalRevenu($ShowGrossRentalRevenu)
1504
    {
1505
        $this->ShowGrossRentalRevenu = $ShowGrossRentalRevenu;
1506
        return $this;
1507
    }
1508
}
1509