Code Duplication    Length = 109-109 lines in 3 locations

src/API/getRoomAttributes.php 1 location

@@ 5-113 (lines=109) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getRoomAttributes
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $intRoomTypeID
15
     */
16
    protected $intRoomTypeID = null;
17
18
    /**
19
     * @var string $strISOLanguage
20
     */
21
    protected $strISOLanguage = null;
22
23
    /**
24
     * @var int $intHotelCurrencyID
25
     */
26
    protected $intHotelCurrencyID = null;
27
28
    /**
29
     * @param int $intGUID
30
     * @param int $intRoomTypeID
31
     * @param string $strISOLanguage
32
     * @param int $intHotelCurrencyID
33
     */
34
    public function __construct($intGUID, $intRoomTypeID, $strISOLanguage, $intHotelCurrencyID)
35
    {
36
        $this->intGUID = $intGUID;
37
        $this->intRoomTypeID = $intRoomTypeID;
38
        $this->strISOLanguage = $strISOLanguage;
39
        $this->intHotelCurrencyID = $intHotelCurrencyID;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getIntGUID()
46
    {
47
        return $this->intGUID;
48
    }
49
50
    /**
51
     * @param int $intGUID
52
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributes
53
     */
54
    public function setIntGUID($intGUID)
55
    {
56
        $this->intGUID = $intGUID;
57
        return $this;
58
    }
59
60
    /**
61
     * @return int
62
     */
63
    public function getIntRoomTypeID()
64
    {
65
        return $this->intRoomTypeID;
66
    }
67
68
    /**
69
     * @param int $intRoomTypeID
70
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributes
71
     */
72
    public function setIntRoomTypeID($intRoomTypeID)
73
    {
74
        $this->intRoomTypeID = $intRoomTypeID;
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getStrISOLanguage()
82
    {
83
        return $this->strISOLanguage;
84
    }
85
86
    /**
87
     * @param string $strISOLanguage
88
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributes
89
     */
90
    public function setStrISOLanguage($strISOLanguage)
91
    {
92
        $this->strISOLanguage = $strISOLanguage;
93
        return $this;
94
    }
95
96
    /**
97
     * @return int
98
     */
99
    public function getIntHotelCurrencyID()
100
    {
101
        return $this->intHotelCurrencyID;
102
    }
103
104
    /**
105
     * @param int $intHotelCurrencyID
106
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributes
107
     */
108
    public function setIntHotelCurrencyID($intHotelCurrencyID)
109
    {
110
        $this->intHotelCurrencyID = $intHotelCurrencyID;
111
        return $this;
112
    }
113
}
114

src/API/getRoomAttributesAndLocations.php 1 location

@@ 5-113 (lines=109) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getRoomAttributesAndLocations
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $intRoomID
15
     */
16
    protected $intRoomID = null;
17
18
    /**
19
     * @var string $strISOLanguage
20
     */
21
    protected $strISOLanguage = null;
22
23
    /**
24
     * @var int $intHotelCurrencyID
25
     */
26
    protected $intHotelCurrencyID = null;
27
28
    /**
29
     * @param int $intGUID
30
     * @param int $intRoomID
31
     * @param string $strISOLanguage
32
     * @param int $intHotelCurrencyID
33
     */
34
    public function __construct($intGUID, $intRoomID, $strISOLanguage, $intHotelCurrencyID)
35
    {
36
        $this->intGUID = $intGUID;
37
        $this->intRoomID = $intRoomID;
38
        $this->strISOLanguage = $strISOLanguage;
39
        $this->intHotelCurrencyID = $intHotelCurrencyID;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getIntGUID()
46
    {
47
        return $this->intGUID;
48
    }
49
50
    /**
51
     * @param int $intGUID
52
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributesAndLocations
53
     */
54
    public function setIntGUID($intGUID)
55
    {
56
        $this->intGUID = $intGUID;
57
        return $this;
58
    }
59
60
    /**
61
     * @return int
62
     */
63
    public function getIntRoomID()
64
    {
65
        return $this->intRoomID;
66
    }
67
68
    /**
69
     * @param int $intRoomID
70
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributesAndLocations
71
     */
72
    public function setIntRoomID($intRoomID)
73
    {
74
        $this->intRoomID = $intRoomID;
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getStrISOLanguage()
82
    {
83
        return $this->strISOLanguage;
84
    }
85
86
    /**
87
     * @param string $strISOLanguage
88
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributesAndLocations
89
     */
90
    public function setStrISOLanguage($strISOLanguage)
91
    {
92
        $this->strISOLanguage = $strISOLanguage;
93
        return $this;
94
    }
95
96
    /**
97
     * @return int
98
     */
99
    public function getIntHotelCurrencyID()
100
    {
101
        return $this->intHotelCurrencyID;
102
    }
103
104
    /**
105
     * @param int $intHotelCurrencyID
106
     * @return \Gueststream\PMS\IQWare\API\getRoomAttributesAndLocations
107
     */
108
    public function setIntHotelCurrencyID($intHotelCurrencyID)
109
    {
110
        $this->intHotelCurrencyID = $intHotelCurrencyID;
111
        return $this;
112
    }
113
}
114

src/API/getRoomLocations.php 1 location

@@ 5-113 (lines=109) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getRoomLocations
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $intRoomTypeID
15
     */
16
    protected $intRoomTypeID = null;
17
18
    /**
19
     * @var string $strISOLanguage
20
     */
21
    protected $strISOLanguage = null;
22
23
    /**
24
     * @var int $intHotelCurrencyID
25
     */
26
    protected $intHotelCurrencyID = null;
27
28
    /**
29
     * @param int $intGUID
30
     * @param int $intRoomTypeID
31
     * @param string $strISOLanguage
32
     * @param int $intHotelCurrencyID
33
     */
34
    public function __construct($intGUID, $intRoomTypeID, $strISOLanguage, $intHotelCurrencyID)
35
    {
36
        $this->intGUID = $intGUID;
37
        $this->intRoomTypeID = $intRoomTypeID;
38
        $this->strISOLanguage = $strISOLanguage;
39
        $this->intHotelCurrencyID = $intHotelCurrencyID;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getIntGUID()
46
    {
47
        return $this->intGUID;
48
    }
49
50
    /**
51
     * @param int $intGUID
52
     * @return \Gueststream\PMS\IQWare\API\getRoomLocations
53
     */
54
    public function setIntGUID($intGUID)
55
    {
56
        $this->intGUID = $intGUID;
57
        return $this;
58
    }
59
60
    /**
61
     * @return int
62
     */
63
    public function getIntRoomTypeID()
64
    {
65
        return $this->intRoomTypeID;
66
    }
67
68
    /**
69
     * @param int $intRoomTypeID
70
     * @return \Gueststream\PMS\IQWare\API\getRoomLocations
71
     */
72
    public function setIntRoomTypeID($intRoomTypeID)
73
    {
74
        $this->intRoomTypeID = $intRoomTypeID;
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getStrISOLanguage()
82
    {
83
        return $this->strISOLanguage;
84
    }
85
86
    /**
87
     * @param string $strISOLanguage
88
     * @return \Gueststream\PMS\IQWare\API\getRoomLocations
89
     */
90
    public function setStrISOLanguage($strISOLanguage)
91
    {
92
        $this->strISOLanguage = $strISOLanguage;
93
        return $this;
94
    }
95
96
    /**
97
     * @return int
98
     */
99
    public function getIntHotelCurrencyID()
100
    {
101
        return $this->intHotelCurrencyID;
102
    }
103
104
    /**
105
     * @param int $intHotelCurrencyID
106
     * @return \Gueststream\PMS\IQWare\API\getRoomLocations
107
     */
108
    public function setIntHotelCurrencyID($intHotelCurrencyID)
109
    {
110
        $this->intHotelCurrencyID = $intHotelCurrencyID;
111
        return $this;
112
    }
113
}
114