FlightsV3Hotel

public final class FlightsV3Hotel

Container for information on each offered hotel.

Parameters

id

The unique, Expedia-specific hotel property identifier used to designate a single hotel.

name

The common name of the hotel

localCurrencyCode

The Local Currency Code for Hotel (which will be used for any fees that must be paid at the hotel)

location
distance
description
status

Indicates whether there are available offers at the property during the dates requested, as well as information as to why. Note that pricing will only be present in the API response for a status of 'AVAILABLE'. If there are no rooms available at the property for the dates requested, then 'NOT_AVAILABLE' will be returned. If there are available rooms, but none that meet the specific parameters of the search request, then one of the other messages will be returned

thumbnailUrl

URL of the thumbnail image of the hotel.Note that other images sizes are available - You can find a link to the complete list of Supported Hotel Image Sizes in the Related Links section at the bottom of the page

starRating

Star rating value of the hotel property.

isOfficialRating

Official rating value indicates if the hotel is certified or official. (Required in Australia Point of Sale)

guestRating

Average overall guest rating of the hotel. The value is between 1.0 and 5.0 in 0.1 increments. Higher is better.

guestReviewCount

The total count of guest reviews used to create the average GuestRating above.

links

Container for list of HATEOAS links to Expedia/partner website to complete booking.

policies
hotelAmenities

Container for all hotel amenities.

roomAmenities

Container for all room amenities.

roomTypes

Container for all of available room types.

media

Container for hotel images

accessibility

The accessibility options available for the room.

Constructors

Link copied to clipboard
public FlightsV3Hotel FlightsV3Hotel(String id, String name, String localCurrencyCode, FlightsV3HotelLocation location, FlightsV3Distance distance, FlightsV3Description description, FlightsV3Hotel.Status status, String thumbnailUrl, FlightsV3Hotel.StarRating starRating, Boolean isOfficialRating, String guestRating, Integer guestReviewCount, Map<String, FlightsV3Link> links, FlightsV3HotelPolicies policies, List<FlightsV3LodgingAmenity> hotelAmenities, List<FlightsV3LodgingAmenity> roomAmenities, List<FlightsV3RoomType> roomTypes, List<FlightsV3Media> media, List<String> accessibility)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

Star rating value of the hotel property. Values: _1_PERIOD0,_1_PERIOD5,_2_PERIOD0,_2_PERIOD5,_3_PERIOD0,_3_PERIOD5,_4_PERIOD0,_4_PERIOD5,_5_PERIOD0

Link copied to clipboard
public enum Status extends Enum<FlightsV3Hotel.Status>

Indicates whether there are available offers at the property during the dates requested, as well as information as to why. Note that pricing will only be present in the API response for a status of 'AVAILABLE'. If there are no rooms available at the property for the dates requested, then 'NOT_AVAILABLE' will be returned. If there are available rooms, but none that meet the specific parameters of the search request, then one of the other messages will be returned Values: AVAILABLE,NOT_AVAILABLE,ERROR,NUMBER_OF_ADULTS_NOT_ACCEPTED,NUMBER_OF_CHILDREN_NOT_ACCEPTED,NUMBER_OF_INFANTS_NOT_ACCEPTED,NUMBER_OF_PERSONS_NOT_ACCEPTED,CHECK_IN_AGE_NOT_ACCEPTED

Properties

Link copied to clipboard
@Valid()
private final List<String> accessibility
Link copied to clipboard
@NotNull()
@Valid()
private final FlightsV3Description description
Link copied to clipboard
@NotNull()
@Valid()
private final FlightsV3Distance distance
Link copied to clipboard
@NotNull()
@Valid()
private final String guestRating
Link copied to clipboard
private final Integer guestReviewCount
Link copied to clipboard
@NotNull()
@Valid()
private final List<FlightsV3LodgingAmenity> hotelAmenities
Link copied to clipboard
@NotNull()
@Valid()
private final String id
Link copied to clipboard
@NotNull()
@Valid()
private final Boolean isOfficialRating
Link copied to clipboard
@NotNull()
@Valid()
private final Map<String, FlightsV3Link> links
Link copied to clipboard
@NotNull()
@Valid()
private final String localCurrencyCode
Link copied to clipboard
@NotNull()
@Valid()
private final FlightsV3HotelLocation location
Link copied to clipboard
@Valid()
private final List<FlightsV3Media> media
Link copied to clipboard
@NotNull()
@Valid()
private final String name
Link copied to clipboard
@NotNull()
@Valid()
private final FlightsV3HotelPolicies policies
Link copied to clipboard
@NotNull()
@Valid()
private final List<FlightsV3LodgingAmenity> roomAmenities
Link copied to clipboard
@NotNull()
@Valid()
private final List<FlightsV3RoomType> roomTypes
Link copied to clipboard
@NotNull()
private final FlightsV3Hotel.StarRating starRating
Link copied to clipboard
@NotNull()
private final FlightsV3Hotel.Status status
Link copied to clipboard
@NotNull()
@Valid()
private final String thumbnailUrl

Functions

Link copied to clipboard
public final static FlightsV3Hotel.Builder builder()
Link copied to clipboard
public final List<String> getAccessibility()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getGuestRating()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getId()
Link copied to clipboard
public final Map<String, FlightsV3Link> getLinks()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final List<FlightsV3Media> getMedia()
Link copied to clipboard
public final String getName()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getThumbnailUrl()
Link copied to clipboard
public final Boolean isOfficialRating()
Link copied to clipboard