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 | * @Serializer\Expose() |
||
89 | * @Serializer\Type("string") |
||
90 | * |
||
91 | * @var string |
||
92 | */ |
||
93 | protected $productId; |
||
94 | |||
95 | /** |
||
96 | * nb people in booking |
||
97 | * |
||
98 | * @Serializer\Expose() |
||
99 | * @Serializer\Type("integer") |
||
100 | * |
||
101 | * @var int |
||
102 | */ |
||
103 | protected $travelerCount; |
||
104 | |||
105 | /** |
||
106 | * @Serializer\Expose() |
||
107 | * @Serializer\Type("string") |
||
108 | * |
||
109 | * @var string |
||
110 | */ |
||
111 | protected $comment; |
||
112 | |||
113 | /** |
||
114 | * @Serializer\Expose() |
||
115 | * @Serializer\Type("integer") |
||
116 | * |
||
117 | * @var int |
||
118 | */ |
||
119 | protected $order = 0; |
||
120 | |||
121 | /** |
||
122 | * @return string |
||
123 | */ |
||
124 | public function getCode() |
||
128 | |||
129 | /** |
||
130 | * @param string $code |
||
131 | * |
||
132 | * @return $this |
||
133 | */ |
||
134 | public function setCode($code) |
||
140 | |||
141 | /** |
||
142 | * @return string |
||
143 | */ |
||
144 | public function getRoomId() |
||
148 | |||
149 | /** |
||
150 | * @param string $roomId |
||
151 | * |
||
152 | * @return $this |
||
153 | */ |
||
154 | public function setRoomId($roomId) |
||
160 | |||
161 | /** |
||
162 | * @return string |
||
163 | */ |
||
164 | public function getName() |
||
168 | |||
169 | /** |
||
170 | * @param string $name |
||
171 | * |
||
172 | * @return $this |
||
173 | */ |
||
174 | public function setName($name) |
||
180 | |||
181 | /** |
||
182 | * @return int |
||
183 | */ |
||
184 | public function getQuantity() |
||
188 | |||
189 | /** |
||
190 | * @param int $quantity |
||
191 | * |
||
192 | * @return $this |
||
193 | */ |
||
194 | public function setQuantity($quantity) |
||
200 | |||
201 | /** |
||
202 | * @return \DateTime |
||
203 | */ |
||
204 | public function getStartDate() |
||
208 | |||
209 | /** |
||
210 | * @param \DateTime $startDate |
||
211 | * |
||
212 | * @return $this |
||
213 | */ |
||
214 | public function setStartDate($startDate) |
||
220 | |||
221 | /** |
||
222 | * @return \DateTime |
||
223 | */ |
||
224 | public function getEndDate() |
||
228 | |||
229 | /** |
||
230 | * @param \DateTime $endDate |
||
231 | * |
||
232 | * @return $this |
||
233 | */ |
||
234 | public function setEndDate($endDate) |
||
240 | |||
241 | /** |
||
242 | * @return int |
||
243 | */ |
||
244 | public function getTravelerCount() |
||
248 | |||
249 | /** |
||
250 | * @param int $travelerCount |
||
251 | * |
||
252 | * @return $this |
||
253 | */ |
||
254 | public function setTravelerCount($travelerCount) |
||
260 | |||
261 | /** |
||
262 | * @return string |
||
263 | */ |
||
264 | public function getComment() |
||
268 | |||
269 | /** |
||
270 | * @param string $comment |
||
271 | * |
||
272 | * @return $this |
||
273 | */ |
||
274 | public function setComment($comment) |
||
280 | |||
281 | /** |
||
282 | * @return float |
||
283 | */ |
||
284 | public function getPrice() |
||
288 | |||
289 | /** |
||
290 | * @param float $price |
||
291 | * |
||
292 | * @return $this |
||
293 | */ |
||
294 | public function setPrice($price) |
||
300 | |||
301 | /** |
||
302 | * @return Currency |
||
303 | */ |
||
304 | public function getCurrency() |
||
308 | |||
309 | /** |
||
310 | * @param Currency $currency |
||
311 | * |
||
312 | * @return $this |
||
313 | */ |
||
314 | public function setCurrency($currency) |
||
320 | |||
321 | /** |
||
322 | * @return int $order |
||
323 | */ |
||
324 | public function getOrder() |
||
328 | |||
329 | /** |
||
330 | * @param int $order |
||
331 | * |
||
332 | * @return $this |
||
333 | */ |
||
334 | public function setOrder($order) |
||
340 | |||
341 | /** |
||
342 | * @return PriceDetail[] |
||
343 | */ |
||
344 | public function getPriceDetails() |
||
348 | |||
349 | /** |
||
350 | * @param PriceDetail[] $priceDetails |
||
351 | * |
||
352 | * @return $this |
||
353 | */ |
||
354 | public function setPriceDetails($priceDetails) |
||
360 | |||
361 | /** |
||
362 | * @return string |
||
363 | */ |
||
364 | public function getProductId() |
||
368 | |||
369 | /** |
||
370 | * @param string $productId |
||
371 | * |
||
372 | * @return $this |
||
373 | */ |
||
374 | public function setProductId($productId) |
||
380 | } |
||
381 |