HotelListingsResponse

public HotelListingsResponse HotelListingsResponse(List<Warning> warnings, Integer count, Integer totalHotelCount, String transactionId, HotelListingsResponseStayDates stayDates, Integer lengthOfStay, Integer numberOfRooms, List<Occupant> occupants, List<Hotel> hotels)

Parameters

warnings

There were some errors or events during the transaction, but the API has still returned a response. Container for all warnings.

count

The number of hotels actually returned in the response.

totalHotelCount

The number of hotels present in the location.

transactionId

Unique identifier for the transaction.

stayDates
lengthOfStay

The number of stay nights.

numberOfRooms

The number of the rooms requested on behalf of the user.

occupants

Container of occupants. It is an array including occupants of each room.

hotels

Container for all hotels.