Class: HotelBooking

HotelBooking

Hotel booking information


new HotelBooking()

Properties:
Name Type Argument Description
stay Stay

Stay information

hotel Hotel

Hotel

room HotelRoom

Room type

  • Not required in request
rate HotelRate

Rate plan

rateRule HotelRateRule

Rate plan rules

traveler Traveler

Traveler

coTraveler Traveler

Co-traveler. Only firstNameEn and lastNameEn are required; other fields will be ignored.

creditCard object

Guarantee credit card

Properties
Name Type Description
type string

Type

no string

Card number

  • Returned data will be masked in the response
expireMonth string

Expiry date YYYY-MM

specialRequest string <optional>

Special request. English only, no Chinese characters; no guarantee the hotel will receive or process it.

Since:
  • 1.0.0