Code Duplication    Length = 59-59 lines in 2 locations

src/API/GetUserDefinedFieldsForUnits.php 1 location

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

src/API/WSCRS_CrsLocal_Initialize.php 1 location

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