Class: HotelBooking

HotelBooking

酒店预订信息


new HotelBooking()

Properties:
Name Type Argument Description
stay Stay

入住信息

hotel Hotel

酒店

room HotelRoom

房型

  • 做为 request 时,不需要
rate HotelRate

价格方案

rateRule HotelRateRule

价格方案规则

traveler Traveler

出行人

coTraveler Traveler

同住人。仅需要 firstNameEn, lastNameEn 节点,其他节点数据不会被处理

creditCard object

担保信用卡

Properties
Name Type Description
type string

类型

no string

卡号

  • 做为 response 结果时,将返回打码以后的数据
expireMonth string

有效期 YYYY-MM

specialRequest string <optional>

特殊需求。仅支持英文,不支持汉字;不确保酒店会收到并处理

Since:
  • 1.0.0