HotelDetailsResponse

public final class HotelDetailsResponse

Parameters

warnings

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

transactionId

Unique identifier for the transaction.

stayDates
lengthOfStay

The number of stay nights.

numberOfRooms

Number of rooms requested.

occupants

Container for the list of rooms requested by the traveler. Occupancy for each room is specified in this node.

validFormsOfPayment

Container for payment information.

hotelDetails

Constructors

Link copied to clipboard
public HotelDetailsResponse HotelDetailsResponse(List<HotelDetailsResponseWarningsInner> warnings, String transactionId, HotelDetailsResponseStayDates stayDates, Integer lengthOfStay, Integer numberOfRooms, List<HotelDetailsResponseOccupantsInner> occupants, List<ValidFormsOfPayment> validFormsOfPayment, Hotel hotelDetails)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Hotel hotelDetails
Link copied to clipboard
private final Integer lengthOfStay
Link copied to clipboard
private final Integer numberOfRooms
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Valid()
private final String transactionId
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
public final static HotelDetailsResponse.Builder builder()
Link copied to clipboard
public final Hotel getHotelDetails()
Link copied to clipboard
public final Integer getLengthOfStay()
Link copied to clipboard
public final Integer getNumberOfRooms()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getTransactionId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard