| Package | Description |
|---|---|
| travel.liteapi.client | |
| travel.liteapi.client.api |
| Modifier and Type | Method and Description |
|---|---|
<T> ApiResponse<T> |
ApiClient.execute(okhttp3.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(okhttp3.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<Object> |
BookApi.bookWithHttpInfo(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)
hotel rate book
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.
|
ApiResponse<Object> |
BookingManagementApi.cancelBookingWithHttpInfo(String bookingId)
Booking cancel
<!-- theme: danger --> This API is used to request a cancellation of an
existing confirmed booking.
|
ApiResponse<Object> |
BookingManagementApi.getBookingListWithHttpInfo(String guestId)
Booking list
The API returns the list of booking Id's for a given guest Id.
|
ApiResponse<Object> |
StaticDataApi.getCitiesWithHttpInfo(String countryCode)
City list
The API returns a list of city names from a specific country.
|
ApiResponse<Object> |
StaticDataApi.getCountriesWithHttpInfo()
Country list
The API returns the list of countries available along with its ISO-2 code.
|
ApiResponse<Object> |
StaticDataApi.getCurrenciesWithHttpInfo()
Currency list
The API returns all available currency codes along with its name and the list
of supported countries that the currency applies to.
|
ApiResponse<Object> |
SearchApi.getFullRatesWithHttpInfo(String[] hotelIds,
String checkin,
String checkout,
String guestNationality,
String currency,
Integer adults,
Integer[] children,
String guestId)
hotel full rates availability
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.
|
ApiResponse<Object> |
GuestAndLoyaltyApi.getGuestsWithHttpInfo(String email)
guests
The guests API returns the unique guest ID of a user based on the users email
ID
|
ApiResponse<Object> |
StaticDataApi.getHotelsWithHttpInfo(String countryCode,
String cityName,
Integer offset,
Integer limit,
String longitude,
String latitude,
Integer distance)
Hotel list
The API returns a list of hotels available based on different search
criterion.
|
ApiResponse<Object> |
StaticDataApi.getHotelWithHttpInfo(String hotelId)
Hotel details
The hotel details API returns all the static contents details of a hotel or
property if the hotel ID is provided.
|
ApiResponse<Object> |
StaticDataApi.getIataCodesWithHttpInfo()
IATA code list
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.
|
ApiResponse<Object> |
SearchApi.getMinimumRatesWithHttpInfo(String[] hotelIds,
String checkin,
String checkout,
String currency,
String guestNationality,
Integer adults,
Integer[] children,
String guestId)
hotel minimum rates availability
**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.
|
ApiResponse<Object> |
BookApi.preBookWithHttpInfo(String rateId)
hotel rate prebook
This API is used to confirm if the room and rates for the search criterion.
|
ApiResponse<Object> |
BookingManagementApi.retrievedBookingWithHttpInfo(String bookingId)
Booking retrieve
The API returns the status and the details for the a specific booking Id.
|
Copyright © 2023. All rights reserved.