new Hotel()
BD-09Baidu Maps. Encrypted and offset based on GCJ-02.GCJ-02Amap. An encrypted coordinate system formulated by China's State Bureau of Surveying and Mapping.WGS-84Google Maps. A globally通用 coordinate system, default for GPS devices.- Since:
-
- 1.0.0
Properties:
| Name | Type | Argument | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_id |
string | Identifier |
||||||||||||||||||||||
code |
string | Code |
||||||||||||||||||||||
name |
string | Name |
||||||||||||||||||||||
nameEn |
string | English name |
||||||||||||||||||||||
chain |
HotelChain | Hotel chain (deprecated, use group, brand) |
||||||||||||||||||||||
city |
City | City |
||||||||||||||||||||||
group |
Group | Group |
||||||||||||||||||||||
brand |
Brand | Brand |
||||||||||||||||||||||
images |
Array.<ImageUrl> |
<optional> |
Images |
|||||||||||||||||||||
videos |
Array.<Video> |
<optional> |
Videos |
|||||||||||||||||||||
description |
string |
<optional> |
Description |
|||||||||||||||||||||
address |
string |
<optional> |
Address |
|||||||||||||||||||||
telephone |
string |
<optional> |
Phone number |
|||||||||||||||||||||
checkInTime |
string |
<optional> |
Check-in time description |
|||||||||||||||||||||
checkOutTime |
string |
<optional> |
Check-out time description |
|||||||||||||||||||||
location |
object |
<optional> |
Location Properties
|
|||||||||||||||||||||
system |
string | |||||||||||||||||||||||
acceptedCreditCardTypes |
Array.<string> | Accepted credit card types. See CreditCard.type |
||||||||||||||||||||||
benefits |
Array.<HotelBenefit> |
<optional> |
Benefits |
|||||||||||||||||||||
promotions |
Array.<Promotion> |
<optional> |
Promotions |
|||||||||||||||||||||
highCommission |
boolean | Whether the high commission sample matches the requested stay. This does not guarantee the commission at booking time. |
||||||||||||||||||||||
minBasePrice |
number |
<optional> |
Minimum base price (per night, excluding tax), in merchant currency. undefined means price unavailable (e.g., sold out). |
|||||||||||||||||||||
minBasePriceDetail |
object |
<optional> |
Properties
|
|||||||||||||||||||||
minPrice |
number |
<optional> |
Minimum price per night including tax, in merchant currency. Available from V12 queries; null when unavailable. |
|||||||||||||||||||||
minPriceDetail |
object |
<optional> |
Minimum price including tax, with the same structure as minBasePriceDetail |