Code Duplication    Length = 84-84 lines in 2 locations

src/API/GetHousekeepingRoomStatus.php 1 location

@@ 5-88 (lines=84) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class GetHousekeepingRoomStatus
6
{
7
8
    /**
9
     * @var int $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var int $ID_Room
15
     */
16
    protected $ID_Room = null;
17
18
    /**
19
     * @var int $AccountNo
20
     */
21
    protected $AccountNo = null;
22
23
    /**
24
     * @param int $guid
25
     * @param int $ID_Room
26
     * @param int $AccountNo
27
     */
28
    public function __construct($guid, $ID_Room, $AccountNo)
29
    {
30
        $this->guid = $guid;
31
        $this->ID_Room = $ID_Room;
32
        $this->AccountNo = $AccountNo;
33
    }
34
35
    /**
36
     * @return int
37
     */
38
    public function getGuid()
39
    {
40
        return $this->guid;
41
    }
42
43
    /**
44
     * @param int $guid
45
     * @return \Gueststream\PMS\IQWare\API\GetHousekeepingRoomStatus
46
     */
47
    public function setGuid($guid)
48
    {
49
        $this->guid = $guid;
50
        return $this;
51
    }
52
53
    /**
54
     * @return int
55
     */
56
    public function getID_Room()
57
    {
58
        return $this->ID_Room;
59
    }
60
61
    /**
62
     * @param int $ID_Room
63
     * @return \Gueststream\PMS\IQWare\API\GetHousekeepingRoomStatus
64
     */
65
    public function setID_Room($ID_Room)
66
    {
67
        $this->ID_Room = $ID_Room;
68
        return $this;
69
    }
70
71
    /**
72
     * @return int
73
     */
74
    public function getAccountNo()
75
    {
76
        return $this->AccountNo;
77
    }
78
79
    /**
80
     * @param int $AccountNo
81
     * @return \Gueststream\PMS\IQWare\API\GetHousekeepingRoomStatus
82
     */
83
    public function setAccountNo($AccountNo)
84
    {
85
        $this->AccountNo = $AccountNo;
86
        return $this;
87
    }
88
}
89

src/API/WebRes_GetCondoOwnerByReferal.php 1 location

@@ 5-88 (lines=84) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class WebRes_GetCondoOwnerByReferal
6
{
7
8
    /**
9
     * @var int $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var int $AccountNo
15
     */
16
    protected $AccountNo = null;
17
18
    /**
19
     * @var string $RoomNo
20
     */
21
    protected $RoomNo = null;
22
23
    /**
24
     * @param int $guid
25
     * @param int $AccountNo
26
     * @param string $RoomNo
27
     */
28
    public function __construct($guid, $AccountNo, $RoomNo)
29
    {
30
        $this->guid = $guid;
31
        $this->AccountNo = $AccountNo;
32
        $this->RoomNo = $RoomNo;
33
    }
34
35
    /**
36
     * @return int
37
     */
38
    public function getGuid()
39
    {
40
        return $this->guid;
41
    }
42
43
    /**
44
     * @param int $guid
45
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetCondoOwnerByReferal
46
     */
47
    public function setGuid($guid)
48
    {
49
        $this->guid = $guid;
50
        return $this;
51
    }
52
53
    /**
54
     * @return int
55
     */
56
    public function getAccountNo()
57
    {
58
        return $this->AccountNo;
59
    }
60
61
    /**
62
     * @param int $AccountNo
63
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetCondoOwnerByReferal
64
     */
65
    public function setAccountNo($AccountNo)
66
    {
67
        $this->AccountNo = $AccountNo;
68
        return $this;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getRoomNo()
75
    {
76
        return $this->RoomNo;
77
    }
78
79
    /**
80
     * @param string $RoomNo
81
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetCondoOwnerByReferal
82
     */
83
    public function setRoomNo($RoomNo)
84
    {
85
        $this->RoomNo = $RoomNo;
86
        return $this;
87
    }
88
}
89