Code Duplication    Length = 109-109 lines in 3 locations

src/API/CancelReservation.php 1 location

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

src/API/CancelReservationAndGetAmountToPay.php 1 location

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

src/API/WebRes_GetGroupPrivatePricing.php 1 location

@@ 5-113 (lines=109) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class WebRes_GetGroupPrivatePricing
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var string $LanguageCode
15
     */
16
    protected $LanguageCode = null;
17
18
    /**
19
     * @var int $AccountNo
20
     */
21
    protected $AccountNo = null;
22
23
    /**
24
     * @var string $strListOfRoomTypes
25
     */
26
    protected $strListOfRoomTypes = null;
27
28
    /**
29
     * @param int $intGUID
30
     * @param string $LanguageCode
31
     * @param int $AccountNo
32
     * @param string $strListOfRoomTypes
33
     */
34
    public function __construct($intGUID, $LanguageCode, $AccountNo, $strListOfRoomTypes)
35
    {
36
        $this->intGUID = $intGUID;
37
        $this->LanguageCode = $LanguageCode;
38
        $this->AccountNo = $AccountNo;
39
        $this->strListOfRoomTypes = $strListOfRoomTypes;
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\WebRes_GetGroupPrivatePricing
53
     */
54
    public function setIntGUID($intGUID)
55
    {
56
        $this->intGUID = $intGUID;
57
        return $this;
58
    }
59
60
    /**
61
     * @return string
62
     */
63
    public function getLanguageCode()
64
    {
65
        return $this->LanguageCode;
66
    }
67
68
    /**
69
     * @param string $LanguageCode
70
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetGroupPrivatePricing
71
     */
72
    public function setLanguageCode($LanguageCode)
73
    {
74
        $this->LanguageCode = $LanguageCode;
75
        return $this;
76
    }
77
78
    /**
79
     * @return int
80
     */
81
    public function getAccountNo()
82
    {
83
        return $this->AccountNo;
84
    }
85
86
    /**
87
     * @param int $AccountNo
88
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetGroupPrivatePricing
89
     */
90
    public function setAccountNo($AccountNo)
91
    {
92
        $this->AccountNo = $AccountNo;
93
        return $this;
94
    }
95
96
    /**
97
     * @return string
98
     */
99
    public function getStrListOfRoomTypes()
100
    {
101
        return $this->strListOfRoomTypes;
102
    }
103
104
    /**
105
     * @param string $strListOfRoomTypes
106
     * @return \Gueststream\PMS\IQWare\API\WebRes_GetGroupPrivatePricing
107
     */
108
    public function setStrListOfRoomTypes($strListOfRoomTypes)
109
    {
110
        $this->strListOfRoomTypes = $strListOfRoomTypes;
111
        return $this;
112
    }
113
}
114