| @@ 5-84 (lines=80) @@ | ||
| 2 | ||
| 3 | namespace Gueststream\PMS\IQWare\API; |
|
| 4 | ||
| 5 | class cTelephone |
|
| 6 | { |
|
| 7 | ||
| 8 | /** |
|
| 9 | * @var TTelephoneType $PhoneType |
|
| 10 | */ |
|
| 11 | protected $PhoneType = null; |
|
| 12 | ||
| 13 | /** |
|
| 14 | * @var string $PhoneNo |
|
| 15 | */ |
|
| 16 | protected $PhoneNo = null; |
|
| 17 | ||
| 18 | /** |
|
| 19 | * @var string $PhoneExt |
|
| 20 | */ |
|
| 21 | protected $PhoneExt = null; |
|
| 22 | ||
| 23 | /** |
|
| 24 | * @param TTelephoneType $PhoneType |
|
| 25 | */ |
|
| 26 | public function __construct($PhoneType) |
|
| 27 | { |
|
| 28 | $this->PhoneType = $PhoneType; |
|
| 29 | } |
|
| 30 | ||
| 31 | /** |
|
| 32 | * @return TTelephoneType |
|
| 33 | */ |
|
| 34 | public function getPhoneType() |
|
| 35 | { |
|
| 36 | return $this->PhoneType; |
|
| 37 | } |
|
| 38 | ||
| 39 | /** |
|
| 40 | * @param TTelephoneType $PhoneType |
|
| 41 | * @return \Gueststream\PMS\IQWare\API\cTelephone |
|
| 42 | */ |
|
| 43 | public function setPhoneType($PhoneType) |
|
| 44 | { |
|
| 45 | $this->PhoneType = $PhoneType; |
|
| 46 | return $this; |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * @return string |
|
| 51 | */ |
|
| 52 | public function getPhoneNo() |
|
| 53 | { |
|
| 54 | return $this->PhoneNo; |
|
| 55 | } |
|
| 56 | ||
| 57 | /** |
|
| 58 | * @param string $PhoneNo |
|
| 59 | * @return \Gueststream\PMS\IQWare\API\cTelephone |
|
| 60 | */ |
|
| 61 | public function setPhoneNo($PhoneNo) |
|
| 62 | { |
|
| 63 | $this->PhoneNo = $PhoneNo; |
|
| 64 | return $this; |
|
| 65 | } |
|
| 66 | ||
| 67 | /** |
|
| 68 | * @return string |
|
| 69 | */ |
|
| 70 | public function getPhoneExt() |
|
| 71 | { |
|
| 72 | return $this->PhoneExt; |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * @param string $PhoneExt |
|
| 77 | * @return \Gueststream\PMS\IQWare\API\cTelephone |
|
| 78 | */ |
|
| 79 | public function setPhoneExt($PhoneExt) |
|
| 80 | { |
|
| 81 | $this->PhoneExt = $PhoneExt; |
|
| 82 | return $this; |
|
| 83 | } |
|
| 84 | } |
|
| 85 | ||
| @@ 5-89 (lines=85) @@ | ||
| 2 | ||
| 3 | namespace Gueststream\PMS\IQWare\API; |
|
| 4 | ||
| 5 | class OaccTelephone |
|
| 6 | { |
|
| 7 | ||
| 8 | /** |
|
| 9 | * @var int $PhoneID |
|
| 10 | */ |
|
| 11 | protected $PhoneID = null; |
|
| 12 | ||
| 13 | /** |
|
| 14 | * @var int $PhoneType |
|
| 15 | */ |
|
| 16 | protected $PhoneType = null; |
|
| 17 | ||
| 18 | /** |
|
| 19 | * @var string $PhoneNo |
|
| 20 | */ |
|
| 21 | protected $PhoneNo = null; |
|
| 22 | ||
| 23 | /** |
|
| 24 | * @param int $PhoneID |
|
| 25 | * @param int $PhoneType |
|
| 26 | */ |
|
| 27 | public function __construct($PhoneID, $PhoneType) |
|
| 28 | { |
|
| 29 | $this->PhoneID = $PhoneID; |
|
| 30 | $this->PhoneType = $PhoneType; |
|
| 31 | } |
|
| 32 | ||
| 33 | /** |
|
| 34 | * @return int |
|
| 35 | */ |
|
| 36 | public function getPhoneID() |
|
| 37 | { |
|
| 38 | return $this->PhoneID; |
|
| 39 | } |
|
| 40 | ||
| 41 | /** |
|
| 42 | * @param int $PhoneID |
|
| 43 | * |
|
| 44 | *@return \Gueststream\PMS\IQWare\API\OaccTelephone |
|
| 45 | */ |
|
| 46 | public function setPhoneID($PhoneID) |
|
| 47 | { |
|
| 48 | $this->PhoneID = $PhoneID; |
|
| 49 | return $this; |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @return int |
|
| 54 | */ |
|
| 55 | public function getPhoneType() |
|
| 56 | { |
|
| 57 | return $this->PhoneType; |
|
| 58 | } |
|
| 59 | ||
| 60 | /** |
|
| 61 | * @param int $PhoneType |
|
| 62 | * |
|
| 63 | *@return \Gueststream\PMS\IQWare\API\OaccTelephone |
|
| 64 | */ |
|
| 65 | public function setPhoneType($PhoneType) |
|
| 66 | { |
|
| 67 | $this->PhoneType = $PhoneType; |
|
| 68 | return $this; |
|
| 69 | } |
|
| 70 | ||
| 71 | /** |
|
| 72 | * @return string |
|
| 73 | */ |
|
| 74 | public function getPhoneNo() |
|
| 75 | { |
|
| 76 | return $this->PhoneNo; |
|
| 77 | } |
|
| 78 | ||
| 79 | /** |
|
| 80 | * @param string $PhoneNo |
|
| 81 | * |
|
| 82 | *@return \Gueststream\PMS\IQWare\API\OaccTelephone |
|
| 83 | */ |
|
| 84 | public function setPhoneNo($PhoneNo) |
|
| 85 | { |
|
| 86 | $this->PhoneNo = $PhoneNo; |
|
| 87 | return $this; |
|
| 88 | } |
|
| 89 | } |
|
| 90 | ||