XapClient

public final class XapClient

The XAP Lodging Search APIs can be used by partners both booking via an Expedia website, or by partners that will be booking via the XAP APIs. Each API also provides pre-configured links to the Expedia website, the XAP Booking API, or both.

Types

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

Functions

Link copied to clipboard
public final static XapClient.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final <Error class: unknown class><CarDetailsResponse> execute(GetCarDetailsOperation operation)

Get Extended information with a single car offer Extended information about the rates, charges, fees, and other terms associated with a single car offer.

public final <Error class: unknown class><CarListingsResponse> execute(GetCarsListingsOperation operation)

Search Expedia car inventory Search Expedia car inventory by date, pickup, and dropoff location to return a listing of available cars for hire.

public final <Error class: unknown class><PresignedUrlResponse> execute(GetFeedDownloadUrlOperation operation)

Get the Download URL and other details of the static files.

public final <Error class: unknown class><AvailabilityCalendarResponse> execute(GetLodgingAvailabilityCalendarsOperation operation)

Get availability calendars of properties Returns the availability of each day for a range of dates for given Expedia lodging properties.

public final <Error class: unknown class><HotelDetailsResponse> execute(GetLodgingDetailsOperation operation)

Get Extended information with a single property offer Extended information about the rate, charges, fees, and financial terms associated with booking a single lodging rate plan offer.

public final <Error class: unknown class><HotelListingsResponse> execute(GetLodgingListingsOperation operation)

Search lodging inventory Search Expedia lodging inventory by Location Keyword, Region ID, Lat/Long, or Hotel ID(s) and return up to 1,000 offers in response. Provides deeplink to Expedia site to book, or rate plan info to enable API booking.

public final <Error class: unknown class><LodgingQuotesResponse> execute(GetLodgingQuotesOperation operation)

Get properties price and availability information The Lodging Quotes API will return the price and availability information for given Expedia lodging property ID(s).

public final <Error class: unknown class><RateCalendarResponse> execute(GetLodgingRateCalendarOperation operation)

Get rate calendar of a property The Rate Calendar API will return the lowest rate plan for a range of days for one selected Expedia lodging property.

Link copied to clipboard
public final CompletableFuture<<Error class: unknown class><CarDetailsResponse>> executeAsync(GetCarDetailsOperation operation)

Get Extended information with a single car offer Extended information about the rates, charges, fees, and other terms associated with a single car offer.

public final CompletableFuture<<Error class: unknown class><CarListingsResponse>> executeAsync(GetCarsListingsOperation operation)

Search Expedia car inventory Search Expedia car inventory by date, pickup, and dropoff location to return a listing of available cars for hire.

public final CompletableFuture<<Error class: unknown class><PresignedUrlResponse>> executeAsync(GetFeedDownloadUrlOperation operation)

Get the Download URL and other details of the static files.

Get availability calendars of properties Returns the availability of each day for a range of dates for given Expedia lodging properties.

public final CompletableFuture<<Error class: unknown class><HotelDetailsResponse>> executeAsync(GetLodgingDetailsOperation operation)

Get Extended information with a single property offer Extended information about the rate, charges, fees, and financial terms associated with booking a single lodging rate plan offer.

public final CompletableFuture<<Error class: unknown class><HotelListingsResponse>> executeAsync(GetLodgingListingsOperation operation)

Search lodging inventory Search Expedia lodging inventory by Location Keyword, Region ID, Lat/Long, or Hotel ID(s) and return up to 1,000 offers in response. Provides deeplink to Expedia site to book, or rate plan info to enable API booking.

public final CompletableFuture<<Error class: unknown class><LodgingQuotesResponse>> executeAsync(GetLodgingQuotesOperation operation)

Get properties price and availability information The Lodging Quotes API will return the price and availability information for given Expedia lodging property ID(s).

public final CompletableFuture<<Error class: unknown class><RateCalendarResponse>> executeAsync(GetLodgingRateCalendarOperation operation)

Get rate calendar of a property The Rate Calendar API will return the lowest rate plan for a range of days for one selected Expedia lodging property.

Link copied to clipboard
public Unit throwServiceException(HttpResponse response, String operationId)