Skip to main content

HotelInventoryByDate

Defines the inventory for a hotel on a given date.

type HotelInventoryByDate {
consumed: NonNegativeInt!
date: LocalDate!
isSubBlock: Boolean!
limit: NonNegativeInt!
mustStayNight: Boolean!
remaining: Int!
subBlock: SubBlock
}

Fields

HotelInventoryByDate.consumed ● NonNegativeInt! non-null scalar

The number of rooms already consumed from the inventory for this date.

HotelInventoryByDate.date ● LocalDate! non-null scalar

The date for the inventory.

HotelInventoryByDate.isSubBlock ● Boolean! non-null scalar

A flag indicating if the inventory is for a sub block.

HotelInventoryByDate.limit ● NonNegativeInt! non-null scalar

The maximum number of rooms available in the hotel for this date.

HotelInventoryByDate.mustStayNight ● Boolean! non-null scalar

A flag indicating whether the date is a must stay night.

HotelInventoryByDate.remaining ● Int! non-null scalar

The number of rooms remaining in the inventory for this date.

HotelInventoryByDate.subBlock ● SubBlock object

The sub block for the inventory if isSubBlock is true. Optional.

Member Of

HotelInventory object