RoomSpecification   F
last analyzed

Complexity

Total Complexity 91

Size/Duplication

Total Lines 1084
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 91
lcom 0
cbo 0
dl 0
loc 1084
ccs 0
cts 428
cp 0
rs 0.7326
c 0
b 0
f 0

91 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 23 1
A getID_Room() 0 4 1
A setID_Room() 0 5 1
A getID_Bedding() 0 4 1
A setID_Bedding() 0 5 1
A getID_RoomType() 0 4 1
A setID_RoomType() 0 5 1
A getOptionalRoomName() 0 4 1
A setOptionalRoomName() 0 5 1
A getDescription() 0 4 1
A setDescription() 0 5 1
A getWebDescription() 0 4 1
A setWebDescription() 0 5 1
A getID_Building() 0 4 1
A setID_Building() 0 5 1
A getID_AccommodationType() 0 4 1
A setID_AccommodationType() 0 5 1
A getIsSoldByRoomNo() 0 4 1
A setIsSoldByRoomNo() 0 5 1
A getIsVirtual() 0 4 1
A setIsVirtual() 0 5 1
A getRoomNo() 0 4 1
A setRoomNo() 0 5 1
A getAddress1() 0 4 1
A setAddress1() 0 5 1
A getLastName() 0 4 1
A setLastName() 0 5 1
A getFirstName() 0 4 1
A setFirstName() 0 5 1
A getCity() 0 4 1
A setCity() 0 5 1
A getState() 0 4 1
A setState() 0 5 1
A getTitle() 0 4 1
A setTitle() 0 5 1
A getCountry() 0 4 1
A setCountry() 0 5 1
A getZipCode() 0 4 1
A setZipCode() 0 5 1
A getAddress2() 0 4 1
A setAddress2() 0 5 1
A getWebSiteURL() 0 4 1
A setWebSiteURL() 0 5 1
A getEmail() 0 4 1
A setEmail() 0 5 1
A getConfirmBy() 0 4 1
A setConfirmBy() 0 5 1
A getIsMailing() 0 4 1
A setIsMailing() 0 5 1
A getContactType() 0 4 1
A setContactType() 0 5 1
A getOtherCieName() 0 4 1
A setOtherCieName() 0 5 1
A getBillingType() 0 4 1
A setBillingType() 0 5 1
A getID_SuiteConfiguration() 0 4 1
A setID_SuiteConfiguration() 0 5 1
A getSuiteName() 0 4 1
A setSuiteName() 0 5 1
A getOldRoomNo() 0 4 1
A setOldRoomNo() 0 5 1
A getFloorNo() 0 4 1
A setFloorNo() 0 5 1
A getID_Floor() 0 4 1
A setID_Floor() 0 5 1
A getNbrSleeps() 0 4 1
A setNbrSleeps() 0 5 1
A getRoomAttributeIDs() 0 4 1
A setRoomAttributeIDs() 0 5 1
A getRoomLocationIDs() 0 4 1
A setRoomLocationIDs() 0 5 1
A getNbrFloors() 0 4 1
A setNbrFloors() 0 5 1
A getTotalBed() 0 4 1
A setTotalBed() 0 5 1
A getNbrMasterBeds() 0 4 1
A setNbrMasterBeds() 0 5 1
A getTotalBath() 0 4 1
A setTotalBath() 0 5 1
A getNbrDemiBaths() 0 4 1
A setNbrDemiBaths() 0 5 1
A getIsSelectChoice() 0 4 1
A setIsSelectChoice() 0 5 1
A getStarRating() 0 4 1
A setStarRating() 0 5 1
A getID_RoomChoicePrice() 0 4 1
A setID_RoomChoicePrice() 0 5 1
A getRoomLatitude() 0 4 1
A setRoomLatitude() 0 5 1
A getRoomLongitude() 0 4 1
A setRoomLongitude() 0 5 1

How to fix   Complexity   

Complex Class

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

1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class RoomSpecification
6
{
7
8
    /**
9
     * @var int $ID_Room
10
     */
11
    protected $ID_Room = null;
12
13
    /**
14
     * @var int $ID_Bedding
15
     */
16
    protected $ID_Bedding = null;
17
18
    /**
19
     * @var int $ID_RoomType
20
     */
21
    protected $ID_RoomType = null;
22
23
    /**
24
     * @var string $OptionalRoomName
25
     */
26
    protected $OptionalRoomName = null;
27
28
    /**
29
     * @var string $Description
30
     */
31
    protected $Description = null;
32
33
    /**
34
     * @var string $WebDescription
35
     */
36
    protected $WebDescription = null;
37
38
    /**
39
     * @var int $ID_Building
40
     */
41
    protected $ID_Building = null;
42
43
    /**
44
     * @var int $ID_AccommodationType
45
     */
46
    protected $ID_AccommodationType = null;
47
48
    /**
49
     * @var boolean $IsSoldByRoomNo
50
     */
51
    protected $IsSoldByRoomNo = null;
52
53
    /**
54
     * @var boolean $IsVirtual
55
     */
56
    protected $IsVirtual = null;
57
58
    /**
59
     * @var string $RoomNo
60
     */
61
    protected $RoomNo = null;
62
63
    /**
64
     * @var string $Address1
65
     */
66
    protected $Address1 = null;
67
68
    /**
69
     * @var string $LastName
70
     */
71
    protected $LastName = null;
72
73
    /**
74
     * @var string $FirstName
75
     */
76
    protected $FirstName = null;
77
78
    /**
79
     * @var string $City
80
     */
81
    protected $City = null;
82
83
    /**
84
     * @var string $State
85
     */
86
    protected $State = null;
87
88
    /**
89
     * @var string $Title
90
     */
91
    protected $Title = null;
92
93
    /**
94
     * @var string $Country
95
     */
96
    protected $Country = null;
97
98
    /**
99
     * @var string $ZipCode
100
     */
101
    protected $ZipCode = null;
102
103
    /**
104
     * @var string $Address2
105
     */
106
    protected $Address2 = null;
107
108
    /**
109
     * @var string $WebSiteURL
110
     */
111
    protected $WebSiteURL = null;
112
113
    /**
114
     * @var string $Email
115
     */
116
    protected $Email = null;
117
118
    /**
119
     * @var string $ConfirmBy
120
     */
121
    protected $ConfirmBy = null;
122
123
    /**
124
     * @var string $IsMailing
125
     */
126
    protected $IsMailing = null;
127
128
    /**
129
     * @var string $ContactType
130
     */
131
    protected $ContactType = null;
132
133
    /**
134
     * @var string $OtherCieName
135
     */
136
    protected $OtherCieName = null;
137
138
    /**
139
     * @var string $BillingType
140
     */
141
    protected $BillingType = null;
142
143
    /**
144
     * @var int $ID_SuiteConfiguration
145
     */
146
    protected $ID_SuiteConfiguration = null;
147
148
    /**
149
     * @var string $SuiteName
150
     */
151
    protected $SuiteName = null;
152
153
    /**
154
     * @var string $OldRoomNo
155
     */
156
    protected $OldRoomNo = null;
157
158
    /**
159
     * @var string $FloorNo
160
     */
161
    protected $FloorNo = null;
162
163
    /**
164
     * @var int $ID_Floor
165
     */
166
    protected $ID_Floor = null;
167
168
    /**
169
     * @var int $NbrSleeps
170
     */
171
    protected $NbrSleeps = null;
172
173
    /**
174
     * @var ArrayOfInt $RoomAttributeIDs
175
     */
176
    protected $RoomAttributeIDs = null;
177
178
    /**
179
     * @var ArrayOfInt $RoomLocationIDs
180
     */
181
    protected $RoomLocationIDs = null;
182
183
    /**
184
     * @var int $NbrFloors
185
     */
186
    protected $NbrFloors = null;
187
188
    /**
189
     * @var float $TotalBed
190
     */
191
    protected $TotalBed = null;
192
193
    /**
194
     * @var int $NbrMasterBeds
195
     */
196
    protected $NbrMasterBeds = null;
197
198
    /**
199
     * @var float $TotalBath
200
     */
201
    protected $TotalBath = null;
202
203
    /**
204
     * @var int $NbrDemiBaths
205
     */
206
    protected $NbrDemiBaths = null;
207
208
    /**
209
     * @var boolean $IsSelectChoice
210
     */
211
    protected $IsSelectChoice = null;
212
213
    /**
214
     * @var float $StarRating
215
     */
216
    protected $StarRating = null;
217
218
    /**
219
     * @var int $ID_RoomChoicePrice
220
     */
221
    protected $ID_RoomChoicePrice = null;
222
223
    /**
224
     * @var float $RoomLatitude
225
     */
226
    protected $RoomLatitude = null;
227
228
    /**
229
     * @var float $RoomLongitude
230
     */
231
    protected $RoomLongitude = null;
232
233
    /**
234
     * @param int $ID_Room
235
     * @param int $ID_Bedding
236
     * @param int $ID_RoomType
237
     * @param int $ID_Building
238
     * @param int $ID_AccommodationType
239
     * @param boolean $IsSoldByRoomNo
240
     * @param boolean $IsVirtual
241
     * @param int $ID_SuiteConfiguration
242
     * @param int $ID_Floor
243
     * @param int $NbrSleeps
244
     * @param int $NbrFloors
245
     * @param float $TotalBed
246
     * @param int $NbrMasterBeds
247
     * @param float $TotalBath
248
     * @param int $NbrDemiBaths
249
     * @param boolean $IsSelectChoice
250
     * @param float $StarRating
251
     * @param int $ID_RoomChoicePrice
252
     * @param float $RoomLatitude
253
     * @param float $RoomLongitude
254
     */
255
    public function __construct($ID_Room, $ID_Bedding, $ID_RoomType, $ID_Building, $ID_AccommodationType, $IsSoldByRoomNo, $IsVirtual, $ID_SuiteConfiguration, $ID_Floor, $NbrSleeps, $NbrFloors, $TotalBed, $NbrMasterBeds, $TotalBath, $NbrDemiBaths, $IsSelectChoice, $StarRating, $ID_RoomChoicePrice, $RoomLatitude, $RoomLongitude)
256
    {
257
        $this->ID_Room = $ID_Room;
258
        $this->ID_Bedding = $ID_Bedding;
259
        $this->ID_RoomType = $ID_RoomType;
260
        $this->ID_Building = $ID_Building;
261
        $this->ID_AccommodationType = $ID_AccommodationType;
262
        $this->IsSoldByRoomNo = $IsSoldByRoomNo;
263
        $this->IsVirtual = $IsVirtual;
264
        $this->ID_SuiteConfiguration = $ID_SuiteConfiguration;
265
        $this->ID_Floor = $ID_Floor;
266
        $this->NbrSleeps = $NbrSleeps;
267
        $this->NbrFloors = $NbrFloors;
268
        $this->TotalBed = $TotalBed;
269
        $this->NbrMasterBeds = $NbrMasterBeds;
270
        $this->TotalBath = $TotalBath;
271
        $this->NbrDemiBaths = $NbrDemiBaths;
272
        $this->IsSelectChoice = $IsSelectChoice;
273
        $this->StarRating = $StarRating;
274
        $this->ID_RoomChoicePrice = $ID_RoomChoicePrice;
275
        $this->RoomLatitude = $RoomLatitude;
276
        $this->RoomLongitude = $RoomLongitude;
277
    }
278
279
    /**
280
     * @return int
281
     */
282
    public function getID_Room()
283
    {
284
        return $this->ID_Room;
285
    }
286
287
    /**
288
     * @param int $ID_Room
289
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
290
     */
291
    public function setID_Room($ID_Room)
292
    {
293
        $this->ID_Room = $ID_Room;
294
        return $this;
295
    }
296
297
    /**
298
     * @return int
299
     */
300
    public function getID_Bedding()
301
    {
302
        return $this->ID_Bedding;
303
    }
304
305
    /**
306
     * @param int $ID_Bedding
307
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
308
     */
309
    public function setID_Bedding($ID_Bedding)
310
    {
311
        $this->ID_Bedding = $ID_Bedding;
312
        return $this;
313
    }
314
315
    /**
316
     * @return int
317
     */
318
    public function getID_RoomType()
319
    {
320
        return $this->ID_RoomType;
321
    }
322
323
    /**
324
     * @param int $ID_RoomType
325
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
326
     */
327
    public function setID_RoomType($ID_RoomType)
328
    {
329
        $this->ID_RoomType = $ID_RoomType;
330
        return $this;
331
    }
332
333
    /**
334
     * @return string
335
     */
336
    public function getOptionalRoomName()
337
    {
338
        return $this->OptionalRoomName;
339
    }
340
341
    /**
342
     * @param string $OptionalRoomName
343
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
344
     */
345
    public function setOptionalRoomName($OptionalRoomName)
346
    {
347
        $this->OptionalRoomName = $OptionalRoomName;
348
        return $this;
349
    }
350
351
    /**
352
     * @return string
353
     */
354
    public function getDescription()
355
    {
356
        return $this->Description;
357
    }
358
359
    /**
360
     * @param string $Description
361
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
362
     */
363
    public function setDescription($Description)
364
    {
365
        $this->Description = $Description;
366
        return $this;
367
    }
368
369
    /**
370
     * @return string
371
     */
372
    public function getWebDescription()
373
    {
374
        return $this->WebDescription;
375
    }
376
377
    /**
378
     * @param string $WebDescription
379
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
380
     */
381
    public function setWebDescription($WebDescription)
382
    {
383
        $this->WebDescription = $WebDescription;
384
        return $this;
385
    }
386
387
    /**
388
     * @return int
389
     */
390
    public function getID_Building()
391
    {
392
        return $this->ID_Building;
393
    }
394
395
    /**
396
     * @param int $ID_Building
397
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
398
     */
399
    public function setID_Building($ID_Building)
400
    {
401
        $this->ID_Building = $ID_Building;
402
        return $this;
403
    }
404
405
    /**
406
     * @return int
407
     */
408
    public function getID_AccommodationType()
409
    {
410
        return $this->ID_AccommodationType;
411
    }
412
413
    /**
414
     * @param int $ID_AccommodationType
415
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
416
     */
417
    public function setID_AccommodationType($ID_AccommodationType)
418
    {
419
        $this->ID_AccommodationType = $ID_AccommodationType;
420
        return $this;
421
    }
422
423
    /**
424
     * @return boolean
425
     */
426
    public function getIsSoldByRoomNo()
427
    {
428
        return $this->IsSoldByRoomNo;
429
    }
430
431
    /**
432
     * @param boolean $IsSoldByRoomNo
433
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
434
     */
435
    public function setIsSoldByRoomNo($IsSoldByRoomNo)
436
    {
437
        $this->IsSoldByRoomNo = $IsSoldByRoomNo;
438
        return $this;
439
    }
440
441
    /**
442
     * @return boolean
443
     */
444
    public function getIsVirtual()
445
    {
446
        return $this->IsVirtual;
447
    }
448
449
    /**
450
     * @param boolean $IsVirtual
451
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
452
     */
453
    public function setIsVirtual($IsVirtual)
454
    {
455
        $this->IsVirtual = $IsVirtual;
456
        return $this;
457
    }
458
459
    /**
460
     * @return string
461
     */
462
    public function getRoomNo()
463
    {
464
        return $this->RoomNo;
465
    }
466
467
    /**
468
     * @param string $RoomNo
469
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
470
     */
471
    public function setRoomNo($RoomNo)
472
    {
473
        $this->RoomNo = $RoomNo;
474
        return $this;
475
    }
476
477
    /**
478
     * @return string
479
     */
480
    public function getAddress1()
481
    {
482
        return $this->Address1;
483
    }
484
485
    /**
486
     * @param string $Address1
487
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
488
     */
489
    public function setAddress1($Address1)
490
    {
491
        $this->Address1 = $Address1;
492
        return $this;
493
    }
494
495
    /**
496
     * @return string
497
     */
498
    public function getLastName()
499
    {
500
        return $this->LastName;
501
    }
502
503
    /**
504
     * @param string $LastName
505
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
506
     */
507
    public function setLastName($LastName)
508
    {
509
        $this->LastName = $LastName;
510
        return $this;
511
    }
512
513
    /**
514
     * @return string
515
     */
516
    public function getFirstName()
517
    {
518
        return $this->FirstName;
519
    }
520
521
    /**
522
     * @param string $FirstName
523
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
524
     */
525
    public function setFirstName($FirstName)
526
    {
527
        $this->FirstName = $FirstName;
528
        return $this;
529
    }
530
531
    /**
532
     * @return string
533
     */
534
    public function getCity()
535
    {
536
        return $this->City;
537
    }
538
539
    /**
540
     * @param string $City
541
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
542
     */
543
    public function setCity($City)
544
    {
545
        $this->City = $City;
546
        return $this;
547
    }
548
549
    /**
550
     * @return string
551
     */
552
    public function getState()
553
    {
554
        return $this->State;
555
    }
556
557
    /**
558
     * @param string $State
559
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
560
     */
561
    public function setState($State)
562
    {
563
        $this->State = $State;
564
        return $this;
565
    }
566
567
    /**
568
     * @return string
569
     */
570
    public function getTitle()
571
    {
572
        return $this->Title;
573
    }
574
575
    /**
576
     * @param string $Title
577
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
578
     */
579
    public function setTitle($Title)
580
    {
581
        $this->Title = $Title;
582
        return $this;
583
    }
584
585
    /**
586
     * @return string
587
     */
588
    public function getCountry()
589
    {
590
        return $this->Country;
591
    }
592
593
    /**
594
     * @param string $Country
595
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
596
     */
597
    public function setCountry($Country)
598
    {
599
        $this->Country = $Country;
600
        return $this;
601
    }
602
603
    /**
604
     * @return string
605
     */
606
    public function getZipCode()
607
    {
608
        return $this->ZipCode;
609
    }
610
611
    /**
612
     * @param string $ZipCode
613
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
614
     */
615
    public function setZipCode($ZipCode)
616
    {
617
        $this->ZipCode = $ZipCode;
618
        return $this;
619
    }
620
621
    /**
622
     * @return string
623
     */
624
    public function getAddress2()
625
    {
626
        return $this->Address2;
627
    }
628
629
    /**
630
     * @param string $Address2
631
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
632
     */
633
    public function setAddress2($Address2)
634
    {
635
        $this->Address2 = $Address2;
636
        return $this;
637
    }
638
639
    /**
640
     * @return string
641
     */
642
    public function getWebSiteURL()
643
    {
644
        return $this->WebSiteURL;
645
    }
646
647
    /**
648
     * @param string $WebSiteURL
649
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
650
     */
651
    public function setWebSiteURL($WebSiteURL)
652
    {
653
        $this->WebSiteURL = $WebSiteURL;
654
        return $this;
655
    }
656
657
    /**
658
     * @return string
659
     */
660
    public function getEmail()
661
    {
662
        return $this->Email;
663
    }
664
665
    /**
666
     * @param string $Email
667
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
668
     */
669
    public function setEmail($Email)
670
    {
671
        $this->Email = $Email;
672
        return $this;
673
    }
674
675
    /**
676
     * @return string
677
     */
678
    public function getConfirmBy()
679
    {
680
        return $this->ConfirmBy;
681
    }
682
683
    /**
684
     * @param string $ConfirmBy
685
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
686
     */
687
    public function setConfirmBy($ConfirmBy)
688
    {
689
        $this->ConfirmBy = $ConfirmBy;
690
        return $this;
691
    }
692
693
    /**
694
     * @return string
695
     */
696
    public function getIsMailing()
697
    {
698
        return $this->IsMailing;
699
    }
700
701
    /**
702
     * @param string $IsMailing
703
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
704
     */
705
    public function setIsMailing($IsMailing)
706
    {
707
        $this->IsMailing = $IsMailing;
708
        return $this;
709
    }
710
711
    /**
712
     * @return string
713
     */
714
    public function getContactType()
715
    {
716
        return $this->ContactType;
717
    }
718
719
    /**
720
     * @param string $ContactType
721
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
722
     */
723
    public function setContactType($ContactType)
724
    {
725
        $this->ContactType = $ContactType;
726
        return $this;
727
    }
728
729
    /**
730
     * @return string
731
     */
732
    public function getOtherCieName()
733
    {
734
        return $this->OtherCieName;
735
    }
736
737
    /**
738
     * @param string $OtherCieName
739
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
740
     */
741
    public function setOtherCieName($OtherCieName)
742
    {
743
        $this->OtherCieName = $OtherCieName;
744
        return $this;
745
    }
746
747
    /**
748
     * @return string
749
     */
750
    public function getBillingType()
751
    {
752
        return $this->BillingType;
753
    }
754
755
    /**
756
     * @param string $BillingType
757
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
758
     */
759
    public function setBillingType($BillingType)
760
    {
761
        $this->BillingType = $BillingType;
762
        return $this;
763
    }
764
765
    /**
766
     * @return int
767
     */
768
    public function getID_SuiteConfiguration()
769
    {
770
        return $this->ID_SuiteConfiguration;
771
    }
772
773
    /**
774
     * @param int $ID_SuiteConfiguration
775
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
776
     */
777
    public function setID_SuiteConfiguration($ID_SuiteConfiguration)
778
    {
779
        $this->ID_SuiteConfiguration = $ID_SuiteConfiguration;
780
        return $this;
781
    }
782
783
    /**
784
     * @return string
785
     */
786
    public function getSuiteName()
787
    {
788
        return $this->SuiteName;
789
    }
790
791
    /**
792
     * @param string $SuiteName
793
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
794
     */
795
    public function setSuiteName($SuiteName)
796
    {
797
        $this->SuiteName = $SuiteName;
798
        return $this;
799
    }
800
801
    /**
802
     * @return string
803
     */
804
    public function getOldRoomNo()
805
    {
806
        return $this->OldRoomNo;
807
    }
808
809
    /**
810
     * @param string $OldRoomNo
811
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
812
     */
813
    public function setOldRoomNo($OldRoomNo)
814
    {
815
        $this->OldRoomNo = $OldRoomNo;
816
        return $this;
817
    }
818
819
    /**
820
     * @return string
821
     */
822
    public function getFloorNo()
823
    {
824
        return $this->FloorNo;
825
    }
826
827
    /**
828
     * @param string $FloorNo
829
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
830
     */
831
    public function setFloorNo($FloorNo)
832
    {
833
        $this->FloorNo = $FloorNo;
834
        return $this;
835
    }
836
837
    /**
838
     * @return int
839
     */
840
    public function getID_Floor()
841
    {
842
        return $this->ID_Floor;
843
    }
844
845
    /**
846
     * @param int $ID_Floor
847
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
848
     */
849
    public function setID_Floor($ID_Floor)
850
    {
851
        $this->ID_Floor = $ID_Floor;
852
        return $this;
853
    }
854
855
    /**
856
     * @return int
857
     */
858
    public function getNbrSleeps()
859
    {
860
        return $this->NbrSleeps;
861
    }
862
863
    /**
864
     * @param int $NbrSleeps
865
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
866
     */
867
    public function setNbrSleeps($NbrSleeps)
868
    {
869
        $this->NbrSleeps = $NbrSleeps;
870
        return $this;
871
    }
872
873
    /**
874
     * @return ArrayOfInt
875
     */
876
    public function getRoomAttributeIDs()
877
    {
878
        return $this->RoomAttributeIDs;
879
    }
880
881
    /**
882
     * @param ArrayOfInt $RoomAttributeIDs
883
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
884
     */
885
    public function setRoomAttributeIDs($RoomAttributeIDs)
886
    {
887
        $this->RoomAttributeIDs = $RoomAttributeIDs;
888
        return $this;
889
    }
890
891
    /**
892
     * @return ArrayOfInt
893
     */
894
    public function getRoomLocationIDs()
895
    {
896
        return $this->RoomLocationIDs;
897
    }
898
899
    /**
900
     * @param ArrayOfInt $RoomLocationIDs
901
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
902
     */
903
    public function setRoomLocationIDs($RoomLocationIDs)
904
    {
905
        $this->RoomLocationIDs = $RoomLocationIDs;
906
        return $this;
907
    }
908
909
    /**
910
     * @return int
911
     */
912
    public function getNbrFloors()
913
    {
914
        return $this->NbrFloors;
915
    }
916
917
    /**
918
     * @param int $NbrFloors
919
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
920
     */
921
    public function setNbrFloors($NbrFloors)
922
    {
923
        $this->NbrFloors = $NbrFloors;
924
        return $this;
925
    }
926
927
    /**
928
     * @return float
929
     */
930
    public function getTotalBed()
931
    {
932
        return $this->TotalBed;
933
    }
934
935
    /**
936
     * @param float $TotalBed
937
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
938
     */
939
    public function setTotalBed($TotalBed)
940
    {
941
        $this->TotalBed = $TotalBed;
942
        return $this;
943
    }
944
945
    /**
946
     * @return int
947
     */
948
    public function getNbrMasterBeds()
949
    {
950
        return $this->NbrMasterBeds;
951
    }
952
953
    /**
954
     * @param int $NbrMasterBeds
955
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
956
     */
957
    public function setNbrMasterBeds($NbrMasterBeds)
958
    {
959
        $this->NbrMasterBeds = $NbrMasterBeds;
960
        return $this;
961
    }
962
963
    /**
964
     * @return float
965
     */
966
    public function getTotalBath()
967
    {
968
        return $this->TotalBath;
969
    }
970
971
    /**
972
     * @param float $TotalBath
973
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
974
     */
975
    public function setTotalBath($TotalBath)
976
    {
977
        $this->TotalBath = $TotalBath;
978
        return $this;
979
    }
980
981
    /**
982
     * @return int
983
     */
984
    public function getNbrDemiBaths()
985
    {
986
        return $this->NbrDemiBaths;
987
    }
988
989
    /**
990
     * @param int $NbrDemiBaths
991
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
992
     */
993
    public function setNbrDemiBaths($NbrDemiBaths)
994
    {
995
        $this->NbrDemiBaths = $NbrDemiBaths;
996
        return $this;
997
    }
998
999
    /**
1000
     * @return boolean
1001
     */
1002
    public function getIsSelectChoice()
1003
    {
1004
        return $this->IsSelectChoice;
1005
    }
1006
1007
    /**
1008
     * @param boolean $IsSelectChoice
1009
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
1010
     */
1011
    public function setIsSelectChoice($IsSelectChoice)
1012
    {
1013
        $this->IsSelectChoice = $IsSelectChoice;
1014
        return $this;
1015
    }
1016
1017
    /**
1018
     * @return float
1019
     */
1020
    public function getStarRating()
1021
    {
1022
        return $this->StarRating;
1023
    }
1024
1025
    /**
1026
     * @param float $StarRating
1027
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
1028
     */
1029
    public function setStarRating($StarRating)
1030
    {
1031
        $this->StarRating = $StarRating;
1032
        return $this;
1033
    }
1034
1035
    /**
1036
     * @return int
1037
     */
1038
    public function getID_RoomChoicePrice()
1039
    {
1040
        return $this->ID_RoomChoicePrice;
1041
    }
1042
1043
    /**
1044
     * @param int $ID_RoomChoicePrice
1045
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
1046
     */
1047
    public function setID_RoomChoicePrice($ID_RoomChoicePrice)
1048
    {
1049
        $this->ID_RoomChoicePrice = $ID_RoomChoicePrice;
1050
        return $this;
1051
    }
1052
1053
    /**
1054
     * @return float
1055
     */
1056
    public function getRoomLatitude()
1057
    {
1058
        return $this->RoomLatitude;
1059
    }
1060
1061
    /**
1062
     * @param float $RoomLatitude
1063
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
1064
     */
1065
    public function setRoomLatitude($RoomLatitude)
1066
    {
1067
        $this->RoomLatitude = $RoomLatitude;
1068
        return $this;
1069
    }
1070
1071
    /**
1072
     * @return float
1073
     */
1074
    public function getRoomLongitude()
1075
    {
1076
        return $this->RoomLongitude;
1077
    }
1078
1079
    /**
1080
     * @param float $RoomLongitude
1081
     * @return \Gueststream\PMS\IQWare\API\RoomSpecification
1082
     */
1083
    public function setRoomLongitude($RoomLongitude)
1084
    {
1085
        $this->RoomLongitude = $RoomLongitude;
1086
        return $this;
1087
    }
1088
}
1089