new HotelFilter()
- https://www.nationsonline.org/oneworld/IATA_Codes/airport_code_list.htm
0最低价(含),undefined 表示不限制,E.g. 1001最高价(含),undefined 表示不限制,E.g. 1000- Since:
-
- 1.0.0
Properties:
| Name | Type | Argument | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
city |
City |
<optional> |
城市 |
||||||||||||||||
iataCode |
string |
<optional> |
IATA 机场编码 |
||||||||||||||||
geospatial |
object |
<optional> |
地理位置信息,WGS-84 经纬度 Properties
|
||||||||||||||||
search |
string |
<optional> |
搜索,E.g. "外滩" |
||||||||||||||||
chains |
Array.<HotelChain> |
<optional> |
酒店品牌 (deprecated, 替换成 brands) |
||||||||||||||||
brands |
Array.<Brand> |
<optional> |
酒店品牌,通过 _id 属性筛选 E.g. [{_id: "6160646466cc9148978763b4"}] |
||||||||||||||||
hotels |
Array.<Hotel> |
<optional> |
酒店,通过 _id 属性筛选 E.g. [{_id: "5b0c35b5f5ae601a24771727"}] |
||||||||||||||||
benefits |
Array.<HotelBenefit> |
<optional> |
礼遇 |
||||||||||||||||
highCommission |
boolean |
<optional> |
仅返回采样命中高佣的酒店。只有 true 会启用筛选;采样结果不保证预订时的实际佣金 |
||||||||||||||||
minBasePriceRange |
Array.<number> | 最低单晚价格范围,按商户币种。由于价格是实时向供应商查询,该排序会导致查询性能明显下降 |