Class: Hotel

Hotel

酒店

  • 做为 request 参数时,仅需要 _id 或 code, chain.code 节点

new Hotel()

Properties:
Name Type Argument Description
_id string

识别码

code string

编码

name string

名称

nameEn string

英文名称

chain HotelChain

酒店品牌 (deprecated, 替换成 group, brand)

city City

城市

group Group

集团

brand Brand

品牌

images Array.<ImageUrl> <optional>

图片

videos Array.<Video> <optional>

视频

description string <optional>

描述

address string <optional>

地址

telephone string <optional>

电话

checkInTime string <optional>

入住时间描述

checkOutTime string <optional>

离店时间描述

location object <optional>

位置

Properties
Name Type Description
latitude number

纬度

longitude number

经度

system string
  • BD-09 百度地图。在GCJ-02坐标系的基础上进行了加密和偏移处理得到的。
  • GCJ-02 高德地图。是由中国国家测绘局制定的一种加密坐标系,用于保护国家安全。
  • WGS-84 谷歌地图。是全球通用的坐标系,也是GPS设备默认使用的坐标系。
acceptedCreditCardTypes Array.<string>

可接受的信用卡。枚举参考 CreditCard.type

benefits Array.<HotelBenefit> <optional>

礼遇

promotions Array.<Promotion> <optional>

促销

highCommission boolean

是否对本次入住日期命中高佣采样;不保证预订时的实际佣金

minBasePrice number <optional>

最低单晚价格(不含税),按商户币种。undefined 表示无法获取价格,可能是已售罄

minBasePriceDetail object <optional>
Properties
Name Type Description
approximate object

商户币种换算

Properties
Name Type Description
currency string

币种

exchangeRate number

汇率

currency string

酒店当地币种

amount number

最低单晚价格(不含税),按酒店当地币种

minPrice number <optional>

最低单晚含税价,按商户币种。仅 V12 查询返回含税价;无法获取时为 null

minPriceDetail object <optional>

最低单晚含税价明细,结构同 minBasePriceDetail

Since:
  • 1.0.0