Class: Stay

Stay

入住信息


new Stay()

Properties:
Name Type Description
date object

入离日期

Properties
Name Type Description
checkIn string

入住日期,YYYY-MM-DD,E.g. "2021-06-18"

checkOut string

离店日期,YYYY-MM-DD,E.g. "2021-06-18"

guest object

入住人数

Properties
Name Type Argument Default Description
numberOfAdults number <optional>
2

入住成人数,每间,E.g. 2

numberOfChildren number <optional>
0

入住儿童数,每间,E.g. 2

ageOfChildren Array.<number> <optional>

入住儿童年龄,入住儿童数 > 0 时必填,E.g. [7, 8]

Since:
  • 1.0.0