Class: City

City

City

  • When used as a request parameter, only the _id node is required

new City()

Properties:
Name Type Argument Description
_id string

Identifier

name string

Name

timezone object <optional>

City time zone; omitted when not configured

Properties
Name Type Description
id string

IANA time zone ID, e.g. Asia/Tokyo; use to calculate the hotel's local date

country object <optional>

Country

Properties
Name Type Argument Description
name string <optional>

Name

Since:
  • 1.0.0