Code Duplication    Length = 109-109 lines in 2 locations

src/API/WebRes_GetCondoOwnerInvoiceByID.php 1 location

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

src/API/WebRes_GetCondoOwnerListOfInvoices.php 1 location

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