Code Duplication    Length = 59-59 lines in 4 locations

src/API/getHotelListOfRates.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getHotelListOfRates
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var string $strISOLanguageCode
15
     */
16
    protected $strISOLanguageCode = null;
17
18
    /**
19
     * @param int $intGUID
20
     * @param string $strISOLanguageCode
21
     */
22
    public function __construct($intGUID, $strISOLanguageCode)
23
    {
24
        $this->intGUID = $intGUID;
25
        $this->strISOLanguageCode = $strISOLanguageCode;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getIntGUID()
32
    {
33
        return $this->intGUID;
34
    }
35
36
    /**
37
     * @param int $intGUID
38
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRates
39
     */
40
    public function setIntGUID($intGUID)
41
    {
42
        $this->intGUID = $intGUID;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getStrISOLanguageCode()
50
    {
51
        return $this->strISOLanguageCode;
52
    }
53
54
    /**
55
     * @param string $strISOLanguageCode
56
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRates
57
     */
58
    public function setStrISOLanguageCode($strISOLanguageCode)
59
    {
60
        $this->strISOLanguageCode = $strISOLanguageCode;
61
        return $this;
62
    }
63
}
64

src/API/getHotelListOfRoomTypes.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getHotelListOfRoomTypes
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var string $strISOLanguageCode
15
     */
16
    protected $strISOLanguageCode = null;
17
18
    /**
19
     * @param int $intGUID
20
     * @param string $strISOLanguageCode
21
     */
22
    public function __construct($intGUID, $strISOLanguageCode)
23
    {
24
        $this->intGUID = $intGUID;
25
        $this->strISOLanguageCode = $strISOLanguageCode;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getIntGUID()
32
    {
33
        return $this->intGUID;
34
    }
35
36
    /**
37
     * @param int $intGUID
38
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRoomTypes
39
     */
40
    public function setIntGUID($intGUID)
41
    {
42
        $this->intGUID = $intGUID;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getStrISOLanguageCode()
50
    {
51
        return $this->strISOLanguageCode;
52
    }
53
54
    /**
55
     * @param string $strISOLanguageCode
56
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRoomTypes
57
     */
58
    public function setStrISOLanguageCode($strISOLanguageCode)
59
    {
60
        $this->strISOLanguageCode = $strISOLanguageCode;
61
        return $this;
62
    }
63
}
64

src/API/getHotelListOfRoomTypesWithBuildingsAndPLs.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class getHotelListOfRoomTypesWithBuildingsAndPLs
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var string $strISOLanguageCode
15
     */
16
    protected $strISOLanguageCode = null;
17
18
    /**
19
     * @param int $intGUID
20
     * @param string $strISOLanguageCode
21
     */
22
    public function __construct($intGUID, $strISOLanguageCode)
23
    {
24
        $this->intGUID = $intGUID;
25
        $this->strISOLanguageCode = $strISOLanguageCode;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getIntGUID()
32
    {
33
        return $this->intGUID;
34
    }
35
36
    /**
37
     * @param int $intGUID
38
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRoomTypesWithBuildingsAndPLs
39
     */
40
    public function setIntGUID($intGUID)
41
    {
42
        $this->intGUID = $intGUID;
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getStrISOLanguageCode()
50
    {
51
        return $this->strISOLanguageCode;
52
    }
53
54
    /**
55
     * @param string $strISOLanguageCode
56
     * @return \Gueststream\PMS\IQWare\API\getHotelListOfRoomTypesWithBuildingsAndPLs
57
     */
58
    public function setStrISOLanguageCode($strISOLanguageCode)
59
    {
60
        $this->strISOLanguageCode = $strISOLanguageCode;
61
        return $this;
62
    }
63
}
64

src/API/GetAllRoomsSpecifications.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class GetAllRoomsSpecifications
6
{
7
8
    /**
9
     * @var int $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var string $strISOLanguageCode
15
     */
16
    protected $strISOLanguageCode = null;
17
18
    /**
19
     * @param int $guid
20
     * @param string $strISOLanguageCode
21
     */
22
    public function __construct($guid, $strISOLanguageCode)
23
    {
24
        $this->guid = $guid;
25
        $this->strISOLanguageCode = $strISOLanguageCode;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getGuid()
32
    {
33
        return $this->guid;
34
    }
35
36
    /**
37
     * @param int $guid
38
     *
39
*@return \Gueststream\PMS\IQWare\API\GetAllRoomsSpecifications
40
     */
41
    public function setGuid($guid)
42
    {
43
        $this->guid = $guid;
44
        return $this;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getStrISOLanguageCode()
51
    {
52
        return $this->strISOLanguageCode;
53
    }
54
55
    /**
56
     * @param string $strISOLanguageCode
57
     *
58
*@return \Gueststream\PMS\IQWare\API\GetAllRoomsSpecifications
59
     */
60
    public function setStrISOLanguageCode($strISOLanguageCode)
61
    {
62
        $this->strISOLanguageCode = $strISOLanguageCode;
63
        return $this;
64
    }
65
}
66