Class: Hotel

hotel. Hotel

酒店

  • 做为 request 参数时,仅需要 _id 节点

new Hotel()

Properties:
Name Type Argument Description
_id string

识别码

gds object

GDS

Properties
Name Type Description
key string

当前使用的 GDS

  • travelport Travelport
  • sabre Sabre
code string

编码

chain string

Chain 编码

name string

名称

nameEn string

英文名称

city module:common.City

城市

group module:common.Group

集团

brand module:common.Brand

品牌

images Array.<module:common.ImageUrl> <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设备默认使用的坐标系。
amenities object <optional>

设施

Properties
Name Type Description
category string
  • hotel 酒店级别
  • room 房间级别
code string

设施编码

name string

设施名称

acceptedCreditCardTypes Array.<string>

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

descriptiveContents Array.<object> <optional>

描述性内容

Properties
Name Type Description
category string
  • transportation 交通
  • restaurant 餐厅
  • room 客房
  • supplementary 补充
title string

标题

description string

描述

benefits Array.<module:hotel.HotelBenefit> <optional>

礼遇

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

促销

minStayPrice number <optional>

最低价格。(travelport: 由单晚最低价格乘以晚数估算价格,其他 gds 为实际价格)

minStayPriceDetail module:common.PriceDetail

最低价格明细。商户币种换算

Since:
  • 1.0.0