| Package | Description |
|---|---|
| travel.liteapi.client | |
| travel.liteapi.client.api |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
ApiClient.buildCall(String baseUrl,
String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build HTTP call with the given options.
|
okhttp3.Request |
ApiClient.buildRequest(String baseUrl,
String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build an HTTP request with the given options.
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Constructor and Description |
|---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ApiCallback callback) |
ProgressResponseBody(okhttp3.ResponseBody responseBody,
ApiCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
BookApi.bookAsync(String prebookId,
String guestFirstName,
String guestLastName,
String guestEmail,
String paymentMethod,
String holderName,
String card_number,
String exp_month,
String exp_year,
Integer cvc,
String token,
ApiCallback<Object> _callback)
hotel rate book (asynchronously)
This API confirms a booking when the prebook Id and the rate Id from the pre
book stage along with the guest and payment information are passed.
|
okhttp3.Call |
BookApi.bookCall(String prebookId,
String guestFirstName,
String guestLastName,
String guestEmail,
String paymentMethod,
String holderName,
String card_number,
String exp_month,
String exp_year,
Integer cvc,
String token,
ApiCallback _callback)
Build call for ratesBookPost
|
okhttp3.Call |
BookingManagementApi.cancelBookingAsync(String bookingId,
ApiCallback<Object> _callback)
Booking cancel (asynchronously)
<!-- theme: danger --> This API is used to request a cancellation of an
existing confirmed booking.
|
okhttp3.Call |
BookingManagementApi.cancelBookingCall(String bookingId,
ApiCallback _callback)
Build call for bookingsBookingIdPut
|
okhttp3.Call |
BookingManagementApi.getBookingListAsync(String guestId,
ApiCallback<Object> _callback)
Booking list (asynchronously)
The API returns the list of booking Id's for a given guest Id.
|
okhttp3.Call |
BookingManagementApi.getBookingListCall(String guestId,
ApiCallback _callback)
Build call for bookingsGet
|
okhttp3.Call |
StaticDataApi.getCitiesAsync(String countryCode,
ApiCallback<Object> _callback)
City list (asynchronously)
The API returns a list of city names from a specific country.
|
okhttp3.Call |
StaticDataApi.getCitiesCall(String countryCode,
ApiCallback _callback)
Build call for dataCitiesGet
|
okhttp3.Call |
StaticDataApi.getCountriesAsync(ApiCallback<Object> _callback)
Country list (asynchronously)
The API returns the list of countries available along with its ISO-2 code.
|
okhttp3.Call |
StaticDataApi.getCountriesCall(ApiCallback _callback)
Build call for dataCountriesGet
|
okhttp3.Call |
StaticDataApi.getCurrenciesAsync(ApiCallback<Object> _callback)
Currency list (asynchronously)
The API returns all available currency codes along with its name and the list
of supported countries that the currency applies to.
|
okhttp3.Call |
StaticDataApi.getCurrenciesCall(ApiCallback _callback)
Build call for dataCurrenciesGet
|
okhttp3.Call |
SearchApi.getFullRatesAsync(String[] hotelIds,
String checkin,
String checkout,
String guestNationality,
String currency,
Integer adults,
Integer[] children,
String guestId,
ApiCallback<Object> _callback)
hotel full rates availability (asynchronously)
The Full Rates API is to search and return all available rooms along with its
rates, cancellation policies for a list of hotel ID's based on the search
dates.
|
okhttp3.Call |
SearchApi.getFullRatesCall(String[] hotelIds,
String checkin,
String checkout,
String guestNationality,
String currency,
Integer adults,
Integer[] children,
String guestId,
ApiCallback _callback)
Build call for hotelsRatesGet
|
okhttp3.Call |
GuestAndLoyaltyApi.getGuestsAsync(String email,
ApiCallback<Object> _callback)
guests (asynchronously)
The guests API returns the unique guest ID of a user based on the users email
ID
|
okhttp3.Call |
GuestAndLoyaltyApi.getGuestsCall(String email,
ApiCallback _callback)
Build call for guestsGet
|
okhttp3.Call |
StaticDataApi.getHotelAsync(String hotelId,
ApiCallback<Object> _callback)
Hotel details (asynchronously)
The hotel details API returns all the static contents details of a hotel or
property if the hotel ID is provided.
|
okhttp3.Call |
StaticDataApi.getHotelDetailsCall(String hotelId,
ApiCallback _callback)
Build call for dataHotelGet
|
okhttp3.Call |
StaticDataApi.getHotelsAsync(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance,
ApiCallback<Object> _callback)
Hotel list (asynchronously)
The API returns a list of hotels available based on different search
criterion.
|
okhttp3.Call |
StaticDataApi.getHotelsCall(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance,
ApiCallback _callback)
Build call for dataHotelsGet
|
okhttp3.Call |
StaticDataApi.getIataCodesAsync(ApiCallback<Object> _callback)
IATA code list (asynchronously)
The API returns the IATA (International Air Transport Association) codes for
all available airports along with the name of the airport, geographical
coordinates and country code in ISO-2 format.
|
okhttp3.Call |
StaticDataApi.getIataCodesCall(ApiCallback _callback)
Build call for dataIataCodesGet
|
okhttp3.Call |
SearchApi.getMinimumRatesAsync(String[] hotelIds,
String checkin,
String checkout,
String currency,
String guestNationality,
Integer adults,
Integer[] children,
String guestId,
ApiCallback<Object> _callback)
hotel minimum rates availability (asynchronously)
**Hotel Minimum Rates API** is to search and return the minimum room rates
that are available for a list of hotel ID's on the specified search
dates.
|
okhttp3.Call |
SearchApi.getMinimumRatesCall(String[] hotelIds,
String checkin,
String checkout,
String currency,
String guestNationality,
Integer adults,
Integer[] children,
String guestId,
ApiCallback _callback)
Build call for hotelsGet
|
okhttp3.Call |
BookApi.preBookCall(String rateId,
ApiCallback _callback)
Build call for ratesPrebookPost
|
okhttp3.Call |
BookApi.ratesPrebookPostAsync(String rateId,
ApiCallback<Object> _callback)
hotel rate prebook (asynchronously)
This API is used to confirm if the room and rates for the search criterion.
|
okhttp3.Call |
BookingManagementApi.retrievedBookingAsync(String bookingId,
ApiCallback<Object> _callback)
Booking retrieve (asynchronously)
The API returns the status and the details for the a specific booking Id.
|
okhttp3.Call |
BookingManagementApi.retrievedBookingCall(String bookingId,
ApiCallback _callback)
Build call for bookingsBookingIdGet
|
Copyright © 2023. All rights reserved.