Class: HotelFilter

hotel. HotelFilter

酒店筛选条件


new HotelFilter()

Properties:
Name Type Argument Default Description
type string <optional>
hotel

类型

  • hotel 酒店
  • hotelJp 温泉酒店
city module:common.City <optional>

城市

iataCode string <optional>

IATA 机场编码

geospatial object <optional>

地理位置信息,WGS-84 经纬度

Properties
Name Type Argument Description
latitude number <optional>

纬度,E.g. 31.22

longitude number <optional>

经度,E.g. 121.46

distance number <optional>

距离,为空时表示同城。km 单位,最大 80,E.g. 20

search string <optional>

搜索,E.g. "外滩"

promotions Array.<module:common.Promotion> <optional>

促销

hotels Array.<module:hotel.Hotel> <optional>

酒店

minPriceRange Array.<number>

最低价格范围,按商户币种。由于价格是实时向供应商查询,该排序会导致查询性能明显下降

  • 0 最低价(含),undefined 表示不限制,E.g. 100
  • 1 最高价(含),undefined 表示不限制,E.g. 1000
Since:
  • 1.0.0