1 | <?php |
||
10 | class HotelAvailability extends Model |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | protected $hotel_id; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $hotel_name; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $stars; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $country; |
||
31 | |||
32 | /** |
||
33 | * @var stdClass |
||
34 | */ |
||
35 | protected $location; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $address; |
||
41 | |||
42 | /** |
||
43 | * @var array |
||
44 | */ |
||
45 | protected $rooms; |
||
46 | |||
47 | /** |
||
48 | * @var array |
||
49 | */ |
||
50 | protected $hotel_amenities; |
||
51 | |||
52 | /** |
||
53 | * @var float |
||
54 | */ |
||
55 | protected $price; |
||
56 | |||
57 | /** |
||
58 | * @var string |
||
59 | */ |
||
60 | protected $hotel_currency_code; |
||
61 | |||
62 | /** |
||
63 | * @var stdClass |
||
64 | */ |
||
65 | protected $checkin_time; |
||
66 | |||
67 | /** |
||
68 | * @var string |
||
69 | */ |
||
70 | protected $default_language; |
||
71 | |||
72 | /** |
||
73 | * @var string |
||
74 | */ |
||
75 | protected $postcode; |
||
76 | |||
77 | /** |
||
78 | * @var stdClass |
||
79 | */ |
||
80 | protected $cheapest_breakfast_rate; |
||
81 | |||
82 | /** |
||
83 | * @return int|null|string |
||
84 | */ |
||
85 | public function getPrimaryKey() |
||
89 | |||
90 | /** |
||
91 | * Unique ID to represent this hotel. |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getHotelId(): int |
||
98 | |||
99 | /** |
||
100 | * The name of the hotel |
||
101 | * @return string |
||
102 | */ |
||
103 | public function getHotelName(): ?string |
||
107 | |||
108 | /** |
||
109 | * The star rating of the hotel. |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getStars(): ?string |
||
116 | |||
117 | /** |
||
118 | * The country that the hotel is located in. |
||
119 | * @return string |
||
120 | */ |
||
121 | public function getCountry(): ?string |
||
125 | |||
126 | /** |
||
127 | * Latitude and longitude of the hotel. Controlled by a setting. |
||
128 | * @return object |
||
129 | */ |
||
130 | public function getLocation(): ?stdClass |
||
134 | |||
135 | /** |
||
136 | * The address of the hotel. |
||
137 | * @return string |
||
138 | */ |
||
139 | public function getAddress(): ?string |
||
143 | |||
144 | /** |
||
145 | * Group of rooms |
||
146 | * @return array |
||
147 | */ |
||
148 | public function getRooms(): ?array |
||
152 | |||
153 | /** |
||
154 | * Amenities that are available at this hotel |
||
155 | * @return array |
||
156 | */ |
||
157 | public function getHotelAmenities(): ?array |
||
161 | |||
162 | /** |
||
163 | * The display price of the room in this hotel. |
||
164 | * @return float |
||
165 | */ |
||
166 | public function getPrice(): ?float |
||
170 | |||
171 | /** |
||
172 | * The currency code of the hotel's currency. |
||
173 | * @return string |
||
174 | */ |
||
175 | public function getHotelCurrencyCode(): ?string |
||
179 | |||
180 | /** |
||
181 | * The time that the hotel accept guests checking in. |
||
182 | * @return object |
||
183 | */ |
||
184 | public function getCheckinTime(): ?stdClass |
||
188 | |||
189 | /** |
||
190 | * The default language of the hotel. |
||
191 | * @return string |
||
192 | */ |
||
193 | public function getDefaultLanguage(): ?string |
||
197 | |||
198 | /** |
||
199 | * The postcode or zipcode of the hotel. |
||
200 | * @return string |
||
201 | */ |
||
202 | public function getPostcode(): ?string |
||
206 | |||
207 | /** |
||
208 | * The minimum price of the room, and other room associated information. |
||
209 | * @return object |
||
210 | */ |
||
211 | public function getCheapestBreakfastRate(): ?stdClass |
||
215 | |||
216 | /** |
||
217 | * @return array |
||
218 | */ |
||
219 | protected function getAttributeMap(): array |
||
238 | } |
||
239 |