1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Gueststream\PMS\IQWare\API; |
4
|
|
|
|
5
|
|
|
class AddressTelephones |
6
|
|
|
{ |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* @var int $AddressID |
10
|
|
|
*/ |
11
|
|
|
protected $AddressID = null; |
12
|
|
|
|
13
|
|
|
/** |
14
|
|
|
* @var int $PhoneID |
15
|
|
|
*/ |
16
|
|
|
protected $PhoneID = null; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @var int $PhoneType |
20
|
|
|
*/ |
21
|
|
|
protected $PhoneType = null; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* @var string $PhoneNo |
25
|
|
|
*/ |
26
|
|
|
protected $PhoneNo = null; |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* @var int $Address_Id |
30
|
|
|
*/ |
31
|
|
|
protected $Address_Id = null; |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* @param int $AddressID |
35
|
|
|
* @param int $PhoneID |
36
|
|
|
* @param int $PhoneType |
37
|
|
|
* @param string $PhoneNo |
38
|
|
|
* @param int $Address_Id |
39
|
|
|
*/ |
40
|
|
|
public function __construct($AddressID, $PhoneID, $PhoneType, $PhoneNo, $Address_Id) |
41
|
|
|
{ |
42
|
|
|
$this->AddressID = $AddressID; |
43
|
|
|
$this->PhoneID = $PhoneID; |
44
|
|
|
$this->PhoneType = $PhoneType; |
45
|
|
|
$this->PhoneNo = $PhoneNo; |
46
|
|
|
$this->Address_Id = $Address_Id; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
/** |
50
|
|
|
* @return int |
51
|
|
|
*/ |
52
|
|
|
public function getAddressID() |
53
|
|
|
{ |
54
|
|
|
return $this->AddressID; |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
/** |
58
|
|
|
* @param int $AddressID |
59
|
|
|
* @return \Gueststream\PMS\IQWare\API\AddressTelephones |
60
|
|
|
*/ |
61
|
|
|
public function setAddressID($AddressID) |
62
|
|
|
{ |
63
|
|
|
$this->AddressID = $AddressID; |
64
|
|
|
return $this; |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @return int |
69
|
|
|
*/ |
70
|
|
|
public function getPhoneID() |
71
|
|
|
{ |
72
|
|
|
return $this->PhoneID; |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* @param int $PhoneID |
77
|
|
|
* @return \Gueststream\PMS\IQWare\API\AddressTelephones |
78
|
|
|
*/ |
79
|
|
|
public function setPhoneID($PhoneID) |
80
|
|
|
{ |
81
|
|
|
$this->PhoneID = $PhoneID; |
82
|
|
|
return $this; |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* @return int |
87
|
|
|
*/ |
88
|
|
|
public function getPhoneType() |
89
|
|
|
{ |
90
|
|
|
return $this->PhoneType; |
91
|
|
|
} |
92
|
|
|
|
93
|
|
|
/** |
94
|
|
|
* @param int $PhoneType |
95
|
|
|
* @return \Gueststream\PMS\IQWare\API\AddressTelephones |
96
|
|
|
*/ |
97
|
|
|
public function setPhoneType($PhoneType) |
98
|
|
|
{ |
99
|
|
|
$this->PhoneType = $PhoneType; |
100
|
|
|
return $this; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
/** |
104
|
|
|
* @return string |
105
|
|
|
*/ |
106
|
|
|
public function getPhoneNo() |
107
|
|
|
{ |
108
|
|
|
return $this->PhoneNo; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
/** |
112
|
|
|
* @param string $PhoneNo |
113
|
|
|
* @return \Gueststream\PMS\IQWare\API\AddressTelephones |
114
|
|
|
*/ |
115
|
|
|
public function setPhoneNo($PhoneNo) |
116
|
|
|
{ |
117
|
|
|
$this->PhoneNo = $PhoneNo; |
118
|
|
|
return $this; |
119
|
|
|
} |
120
|
|
|
|
121
|
|
|
/** |
122
|
|
|
* @return int |
123
|
|
|
*/ |
124
|
|
|
public function getAddress_Id() |
125
|
|
|
{ |
126
|
|
|
return $this->Address_Id; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
/** |
130
|
|
|
* @param int $Address_Id |
131
|
|
|
* @return \Gueststream\PMS\IQWare\API\AddressTelephones |
132
|
|
|
*/ |
133
|
|
|
public function setAddress_Id($Address_Id) |
134
|
|
|
{ |
135
|
|
|
$this->Address_Id = $Address_Id; |
136
|
|
|
return $this; |
137
|
|
|
} |
138
|
|
|
} |
139
|
|
|
|