Hotel

public final class Hotel

Container for information on each offered hotel.

Parameters

id

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

hcomId

The unique, Hotels.com-specific hotel property identifier used to designate a single hotel. This will only be returned if searching via hcomHotelIds in request.

name

The common name of the hotel

propertyType
propertyDetails
localCurrencyCode

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

location
phoneInfos

Container for property phone numbers. Note: PhoneInfos section will not return for Vrbo Vacation Rental properties.

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.

renovationsAndClosures

The information about renovations and closures

chainAndBrandInfo
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 Lodging Image Captions, IDs, and Sizes.

starRating

Star rating value of the hotel property.

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.

petFriendly

Indicates whether the property allows certain pets under certain circumstances. Prior to booking, guests should review the PetPolicies information in the Lodging Details API to find out whether a particular pet will be permitted to stay at the property.

lgbtqiaFriendly

This value is returned if the property owner has specifically designated this property as LGBTQIA-friendly.

links
policies
cleanlinessAndSafety

Container for all cleanliness and safety measures. The key is the measures category, the values are the information. The category will be: - CLEANLINESS - SOCIAL_DISTANCING - SAFETY - DISCLAIMER

optionalExtras

The optional extras info.

importantNotices

The important notices for hotel.

media

Container for hotel images

hotelAmenities

Container for all hotel amenities.

hotelDescriptiveAmenities

Container for all hotel amenities in group. The key is amenity category, the values are the amenity information. The category for grouped amenities in hotel level for conventional lodging hotel will be: - PARKING - FOOD_AND_DRINK - INTERNET - THINGS_TO_DO - FAMILY_FRIENDLY - CONVENIENCES - GUEST_SERVICES - BUSINESS_SERVICE - OUTDOOR - ACCESSIBILITY - SPA - ACTIVITIES_NEARBY - LANGS_SPOKEN - MORE The category for grouped amenities in hotel level for Vacation Rental hotel will be: - BEACH - SKI - POOL/SPA - INTERNET - PARKING - FAMILY_FRIENDLY - KITCHEN - DINING - BEDROOM - BATHROOMS - LIVING_SPACES - ENTERTAINMENT - OUTDOORS - LAUNDRY - WORKSPACES - CLIMATE_CONTROL - PETS - SUITABILITY/ACCESSIBILITY - SERVICES_AND_CONVENIENCES - LOCATION_HIGHLIGHTS - THINGS_TO_DO - GENERAL - SAFETY

roomAmenities

Container for all room amenities.

roomDescriptiveAmenities

Container for all common room amenities in group. The key is amenity category, the values are the amenity information. The category for grouped amenities in common room level will be: - BEDROOM - BATHROOM - FOOD_AND_DRINK - ENTERTAINMENT - OUTDOOR_SPACE - MORE

accessibility

The accessibility options available for the room. Possible accessibility include: - Accessible path of travel - Accessible bathroom - Roll-in shower - Handicapped parking - In-room accessibility - Accessibility equipment for the deaf - Braille or raised signage

memberOnlyDealAvailable

Indicates whether the property has member only deal rates available.

roomTypes

Container for all of available room types.

Constructors

Link copied to clipboard
public Hotel Hotel(String id, String hcomId, String name, HotelPropertyType propertyType, PropertyDetails propertyDetails, String localCurrencyCode, HotelLocation location, List<Phone> phoneInfos, Distance distance, Description description, Hotel.Status status, List<String> renovationsAndClosures, ChainAndBrandInfo chainAndBrandInfo, String thumbnailUrl, Hotel.StarRating starRating, String guestRating, Integer guestReviewCount, Boolean petFriendly, Boolean lgbtqiaFriendly, HotelLinks links, HotelPolicies policies, Map<String, List<String>> cleanlinessAndSafety, List<String> optionalExtras, List<String> importantNotices, List<Media> media, List<HotelHotelAmenitiesInner> hotelAmenities, Map<String, List<String>> hotelDescriptiveAmenities, List<HotelRoomAmenitiesInner> roomAmenities, Map<String, List<String>> roomDescriptiveAmenities, List<String> accessibility, Boolean memberOnlyDealAvailable, List<RoomType> roomTypes)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum StarRating extends Enum<Hotel.StarRating>

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<Hotel.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
@Valid()
private final ChainAndBrandInfo chainAndBrandInfo
Link copied to clipboard
@Valid()
private final Map<String, List<String>> cleanlinessAndSafety
Link copied to clipboard
@Valid()
private final Description description
Link copied to clipboard
@Valid()
private final Distance distance
Link copied to clipboard
@Valid()
private final String guestRating
Link copied to clipboard
private final Integer guestReviewCount
Link copied to clipboard
@Valid()
private final String hcomId
Link copied to clipboard
Link copied to clipboard
@Valid()
private final Map<String, List<String>> hotelDescriptiveAmenities
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final List<String> importantNotices
Link copied to clipboard
@Valid()
private final Boolean lgbtqiaFriendly
Link copied to clipboard
@Valid()
private final HotelLinks links
Link copied to clipboard
@Valid()
private final String localCurrencyCode
Link copied to clipboard
@Valid()
private final HotelLocation location
Link copied to clipboard
@Valid()
private final List<Media> media
Link copied to clipboard
@Valid()
private final Boolean memberOnlyDealAvailable
Link copied to clipboard
@Valid()
private final String name
Link copied to clipboard
@Valid()
private final List<String> optionalExtras
Link copied to clipboard
@Valid()
private final Boolean petFriendly
Link copied to clipboard
@Valid()
private final List<Phone> phoneInfos
Link copied to clipboard
@Valid()
private final HotelPolicies policies
Link copied to clipboard
@Valid()
private final PropertyDetails propertyDetails
Link copied to clipboard
@Valid()
private final HotelPropertyType propertyType
Link copied to clipboard
@Valid()
private final List<String> renovationsAndClosures
Link copied to clipboard
Link copied to clipboard
@Valid()
private final Map<String, List<String>> roomDescriptiveAmenities
Link copied to clipboard
@Valid()
private final List<RoomType> roomTypes
Link copied to clipboard
Link copied to clipboard
private final Hotel.Status status
Link copied to clipboard
@Valid()
private final String thumbnailUrl

Functions

Link copied to clipboard
public final static Hotel.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 Description getDescription()
Link copied to clipboard
public final Distance getDistance()
Link copied to clipboard
public final String getGuestRating()
Link copied to clipboard
Link copied to clipboard
public final String getHcomId()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getId()
Link copied to clipboard
Link copied to clipboard
public final Boolean getLgbtqiaFriendly()
Link copied to clipboard
public final HotelLinks getLinks()
Link copied to clipboard
Link copied to clipboard
public final HotelLocation getLocation()
Link copied to clipboard
public final List<Media> getMedia()
Link copied to clipboard
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final List<String> getOptionalExtras()
Link copied to clipboard
public final Boolean getPetFriendly()
Link copied to clipboard
public final List<Phone> getPhoneInfos()
Link copied to clipboard
public final HotelPolicies getPolicies()
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 List<RoomType> getRoomTypes()
Link copied to clipboard
Link copied to clipboard
public final Hotel.Status getStatus()
Link copied to clipboard
public final String getThumbnailUrl()
Link copied to clipboard
public final Hotel.Builder toBuilder()