Code Duplication    Length = 78-78 lines in 2 locations

src/API/cAddresses.php 1 location

@@ 5-82 (lines=78) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class cAddresses
6
{
7
8
    /**
9
     * @var cAddress $Profile
10
     */
11
    protected $Profile = null;
12
13
    /**
14
     * @var cAddress $BkgContact
15
     */
16
    protected $BkgContact = null;
17
18
    /**
19
     * @var cAddress $Billing
20
     */
21
    protected $Billing = null;
22
23
    
24
    public function __construct()
25
    {
26
    
27
    }
28
29
    /**
30
     * @return cAddress
31
     */
32
    public function getProfile()
33
    {
34
        return $this->Profile;
35
    }
36
37
    /**
38
     * @param cAddress $Profile
39
     * @return \Gueststream\PMS\IQWare\API\cAddresses
40
     */
41
    public function setProfile($Profile)
42
    {
43
        $this->Profile = $Profile;
44
        return $this;
45
    }
46
47
    /**
48
     * @return cAddress
49
     */
50
    public function getBkgContact()
51
    {
52
        return $this->BkgContact;
53
    }
54
55
    /**
56
     * @param cAddress $BkgContact
57
     * @return \Gueststream\PMS\IQWare\API\cAddresses
58
     */
59
    public function setBkgContact($BkgContact)
60
    {
61
        $this->BkgContact = $BkgContact;
62
        return $this;
63
    }
64
65
    /**
66
     * @return cAddress
67
     */
68
    public function getBilling()
69
    {
70
        return $this->Billing;
71
    }
72
73
    /**
74
     * @param cAddress $Billing
75
     * @return \Gueststream\PMS\IQWare\API\cAddresses
76
     */
77
    public function setBilling($Billing)
78
    {
79
        $this->Billing = $Billing;
80
        return $this;
81
    }
82
}
83

src/API/cTAAddresses.php 1 location

@@ 5-82 (lines=78) @@
2
3
namespace Gueststream\PMS\IQWare\API;
4
5
class cTAAddresses
6
{
7
8
    /**
9
     * @var cAddress $Profile
10
     */
11
    protected $Profile = null;
12
13
    /**
14
     * @var cAddress $BkgContact
15
     */
16
    protected $BkgContact = null;
17
18
    /**
19
     * @var cBankAddress $Billing
20
     */
21
    protected $Billing = null;
22
23
    
24
    public function __construct()
25
    {
26
    
27
    }
28
29
    /**
30
     * @return cAddress
31
     */
32
    public function getProfile()
33
    {
34
        return $this->Profile;
35
    }
36
37
    /**
38
     * @param cAddress $Profile
39
     * @return \Gueststream\PMS\IQWare\API\cTAAddresses
40
     */
41
    public function setProfile($Profile)
42
    {
43
        $this->Profile = $Profile;
44
        return $this;
45
    }
46
47
    /**
48
     * @return cAddress
49
     */
50
    public function getBkgContact()
51
    {
52
        return $this->BkgContact;
53
    }
54
55
    /**
56
     * @param cAddress $BkgContact
57
     * @return \Gueststream\PMS\IQWare\API\cTAAddresses
58
     */
59
    public function setBkgContact($BkgContact)
60
    {
61
        $this->BkgContact = $BkgContact;
62
        return $this;
63
    }
64
65
    /**
66
     * @return cBankAddress
67
     */
68
    public function getBilling()
69
    {
70
        return $this->Billing;
71
    }
72
73
    /**
74
     * @param cBankAddress $Billing
75
     * @return \Gueststream\PMS\IQWare\API\cTAAddresses
76
     */
77
    public function setBilling($Billing)
78
    {
79
        $this->Billing = $Billing;
80
        return $this;
81
    }
82
}
83