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