Code Duplication    Length = 59-59 lines in 2 locations

src/API/GetConfirmationFamily.php 1 location

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

src/API/GetRequiredDepositForAccountNo.php 1 location

@@ 5-63 (lines=59) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class GetRequiredDepositForAccountNo
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $confirmationNumber
15
     */
16
    protected $confirmationNumber = null;
17
18
    /**
19
     * @param int $intGUID
20
     * @param int $confirmationNumber
21
     */
22
    public function __construct($intGUID, $confirmationNumber)
23
    {
24
        $this->intGUID = $intGUID;
25
        $this->confirmationNumber = $confirmationNumber;
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\GetRequiredDepositForAccountNo
39
     */
40
    public function setIntGUID($intGUID)
41
    {
42
        $this->intGUID = $intGUID;
43
        return $this;
44
    }
45
46
    /**
47
     * @return int
48
     */
49
    public function getConfirmationNumber()
50
    {
51
        return $this->confirmationNumber;
52
    }
53
54
    /**
55
     * @param int $confirmationNumber
56
     * @return \Gueststream\PMS\IQWare\API\GetRequiredDepositForAccountNo
57
     */
58
    public function setConfirmationNumber($confirmationNumber)
59
    {
60
        $this->confirmationNumber = $confirmationNumber;
61
        return $this;
62
    }
63
}
64