1 | <?php |
||
11 | class Room |
||
12 | { |
||
13 | /** |
||
14 | * @Serializer\Expose() |
||
15 | * @Serializer\Type("string") |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $code; |
||
20 | |||
21 | /** |
||
22 | * @Serializer\Expose() |
||
23 | * @Serializer\Type("string") |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $roomId; |
||
28 | |||
29 | /** |
||
30 | * product name |
||
31 | * |
||
32 | * @Serializer\Expose() |
||
33 | * @Serializer\Type("string") |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $name; |
||
38 | |||
39 | /** |
||
40 | * @Serializer\Expose() |
||
41 | * @Serializer\Type("integer") |
||
42 | * |
||
43 | * @var int |
||
44 | */ |
||
45 | protected $quantity; |
||
46 | |||
47 | /** |
||
48 | * @Serializer\Expose() |
||
49 | * @Serializer\Type("DateTime") |
||
50 | * |
||
51 | * @var \DateTime |
||
52 | */ |
||
53 | protected $startDate; |
||
54 | |||
55 | /** |
||
56 | * @Serializer\Expose() |
||
57 | * @Serializer\Type("DateTime") |
||
58 | * |
||
59 | * @var \DateTime |
||
60 | */ |
||
61 | protected $endDate; |
||
62 | |||
63 | /** |
||
64 | * @Serializer\Expose() |
||
65 | * @Serializer\Type("float") |
||
66 | * |
||
67 | * @var float |
||
68 | */ |
||
69 | protected $price; |
||
70 | |||
71 | /** |
||
72 | * @Serializer\Expose() |
||
73 | * @Serializer\Type("array<XoteliaClient\Model\PriceDetail>") |
||
74 | * |
||
75 | * @var array |
||
76 | */ |
||
77 | protected $priceDetails; |
||
78 | |||
79 | /** |
||
80 | * @Serializer\Expose() |
||
81 | * @Serializer\Type("XoteliaClient\Model\Currency") |
||
82 | * |
||
83 | * @var \XoteliaClient\Model\Currency |
||
84 | */ |
||
85 | protected $currency; |
||
86 | |||
87 | /** |
||
88 | * nb people in booking |
||
89 | * |
||
90 | * @Serializer\Expose() |
||
91 | * @Serializer\Type("integer") |
||
92 | * |
||
93 | * @var int |
||
94 | */ |
||
95 | protected $travelerCount; |
||
96 | |||
97 | /** |
||
98 | * @Serializer\Expose() |
||
99 | * @Serializer\Type("string") |
||
100 | * |
||
101 | * @var string |
||
102 | */ |
||
103 | protected $comment; |
||
104 | |||
105 | /** |
||
106 | * @Serializer\Expose() |
||
107 | * @Serializer\Type("integer") |
||
108 | * |
||
109 | * @var int |
||
110 | */ |
||
111 | protected $order = 0; |
||
112 | |||
113 | /** |
||
114 | * @return string |
||
115 | */ |
||
116 | public function getCode() |
||
120 | |||
121 | /** |
||
122 | * @param string $code |
||
123 | * |
||
124 | * @return $this |
||
125 | */ |
||
126 | public function setCode($code) |
||
132 | |||
133 | /** |
||
134 | * @return string |
||
135 | */ |
||
136 | public function getRoomId() |
||
140 | |||
141 | /** |
||
142 | * @param string $roomId |
||
143 | * |
||
144 | * @return $this |
||
145 | */ |
||
146 | public function setRoomId($roomId) |
||
152 | |||
153 | /** |
||
154 | * @return string |
||
155 | */ |
||
156 | public function getName() |
||
160 | |||
161 | /** |
||
162 | * @param string $name |
||
163 | * |
||
164 | * @return $this |
||
165 | */ |
||
166 | public function setName($name) |
||
172 | |||
173 | /** |
||
174 | * @return int |
||
175 | */ |
||
176 | public function getQuantity() |
||
180 | |||
181 | /** |
||
182 | * @param int $quantity |
||
183 | * |
||
184 | * @return $this |
||
185 | */ |
||
186 | public function setQuantity($quantity) |
||
192 | |||
193 | /** |
||
194 | * @return \DateTime |
||
195 | */ |
||
196 | public function getStartDate() |
||
200 | |||
201 | /** |
||
202 | * @param \DateTime $startDate |
||
203 | * |
||
204 | * @return $this |
||
205 | */ |
||
206 | public function setStartDate($startDate) |
||
212 | |||
213 | /** |
||
214 | * @return \DateTime |
||
215 | */ |
||
216 | public function getEndDate() |
||
220 | |||
221 | /** |
||
222 | * @param \DateTime $endDate |
||
223 | * |
||
224 | * @return $this |
||
225 | */ |
||
226 | public function setEndDate($endDate) |
||
232 | |||
233 | /** |
||
234 | * @return int |
||
235 | */ |
||
236 | public function getTravelerCount() |
||
240 | |||
241 | /** |
||
242 | * @param int $travelerCount |
||
243 | * |
||
244 | * @return $this |
||
245 | */ |
||
246 | public function setTravelerCount($travelerCount) |
||
252 | |||
253 | /** |
||
254 | * @return string |
||
255 | */ |
||
256 | public function getComment() |
||
260 | |||
261 | /** |
||
262 | * @param string $comment |
||
263 | * |
||
264 | * @return $this |
||
265 | */ |
||
266 | public function setComment($comment) |
||
272 | |||
273 | /** |
||
274 | * @return float |
||
275 | */ |
||
276 | public function getPrice() |
||
280 | |||
281 | /** |
||
282 | * @param float $price |
||
283 | * |
||
284 | * @return $this |
||
285 | */ |
||
286 | public function setPrice($price) |
||
292 | |||
293 | /** |
||
294 | * @return Currency |
||
295 | */ |
||
296 | public function getCurrency() |
||
300 | |||
301 | /** |
||
302 | * @param Currency $currency |
||
303 | * |
||
304 | * @return $this |
||
305 | */ |
||
306 | public function setCurrency($currency) |
||
312 | |||
313 | /** |
||
314 | * @return int $order |
||
315 | */ |
||
316 | public function getOrder() |
||
320 | |||
321 | /** |
||
322 | * @param int $order |
||
323 | * |
||
324 | * @return $this |
||
325 | */ |
||
326 | public function setOrder($order) |
||
332 | |||
333 | /** |
||
334 | * @return PriceDetail[] |
||
335 | */ |
||
336 | public function getPriceDetails() |
||
340 | |||
341 | /** |
||
342 | * @param PriceDetail[] $priceDetails |
||
343 | * |
||
344 | * @return $this |
||
345 | */ |
||
346 | public function setPriceDetails($priceDetails) |
||
352 | } |
||
353 |