public class BookingManagementApi extends Object
| Constructor and Description |
|---|
BookingManagementApi() |
BookingManagementApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Object |
cancelBooking(String bookingId)
Booking cancel
<!-- theme: danger --> This API is used to request a cancellation of an
existing confirmed booking.
|
okhttp3.Call |
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 |
cancelBookingCall(String bookingId,
ApiCallback _callback)
Build call for bookingsBookingIdPut
|
ApiResponse<Object> |
cancelBookingWithHttpInfo(String bookingId)
Booking cancel
<!-- theme: danger --> This API is used to request a cancellation of an
existing confirmed booking.
|
ApiClient |
getApiClient() |
okhttp3.Call |
getBookingListAsync(String guestId,
ApiCallback<Object> _callback)
Booking list (asynchronously)
The API returns the list of booking Id's for a given guest Id.
|
Object |
getBookingListByGuestId(String guestId)
Booking list
The API returns the list of booking Id's for a given guest Id.
|
okhttp3.Call |
getBookingListCall(String guestId,
ApiCallback _callback)
Build call for bookingsGet
|
ApiResponse<Object> |
getBookingListWithHttpInfo(String guestId)
Booking list
The API returns the list of booking Id's for a given guest Id.
|
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
retrievedBooking(String bookingId)
Booking retrieve
The API returns the status and the details for the a specific booking Id.
|
okhttp3.Call |
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 |
retrievedBookingCall(String bookingId,
ApiCallback _callback)
Build call for bookingsBookingIdGet
|
ApiResponse<Object> |
retrievedBookingWithHttpInfo(String bookingId)
Booking retrieve
The API returns the status and the details for the a specific booking Id.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public BookingManagementApi()
public BookingManagementApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call retrievedBookingCall(String bookingId, ApiCallback _callback) throws ApiException
bookingId - The Booking Id that needs to be retrieved (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public Object retrievedBooking(String bookingId)
bookingId - The Booking Id that needs to be retrieved (required)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public ApiResponse<Object> retrievedBookingWithHttpInfo(String bookingId) throws ApiException
bookingId - The Booking Id that needs to be retrieved (required)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public okhttp3.Call retrievedBookingAsync(String bookingId, ApiCallback<Object> _callback) throws ApiException
bookingId - The Booking Id that needs to be retrieved (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public okhttp3.Call cancelBookingCall(String bookingId, ApiCallback _callback) throws ApiException
bookingId - (Required) The unique identifier of the booking you would
like to update. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 304 | Not Modified | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public Object cancelBooking(String bookingId)
bookingId - (Required) The unique identifier of the booking you would
like to update. (required)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 304 | Not Modified | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public ApiResponse<Object> cancelBookingWithHttpInfo(String bookingId) throws ApiException
bookingId - (Required) The unique identifier of the booking you would
like to update. (required)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 304 | Not Modified | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public okhttp3.Call cancelBookingAsync(String bookingId, ApiCallback<Object> _callback) throws ApiException
bookingId - (Required) The unique identifier of the booking you would
like to update. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 304 | Not Modified | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
| 401 | Unauthorized | * Access-Control-Allow-Credentials - * Access-Control-Allow-Headers - * Access-Control-Allow-Methods - * Access-Control-Allow-Origin - * Access-Control-Expose-Headers - * Access-Control-Max-Age - * Content-Type - * Date - * Content-Length - |
public okhttp3.Call getBookingListCall(String guestId, ApiCallback _callback) throws ApiException
guestId - The Guest Id of the user (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public Object getBookingListByGuestId(String guestId)
guestId - The Guest Id of the user (required)| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public ApiResponse<Object> getBookingListWithHttpInfo(String guestId) throws ApiException
guestId - The Guest Id of the user (required)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response body
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
public okhttp3.Call getBookingListAsync(String guestId, ApiCallback<Object> _callback) throws ApiException
guestId - The Guest Id of the user (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the
request body object
| Status Code | Description | Response Headers |
| 200 | OK | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 204 | No Content | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
| 401 | Unauthorized | * Date - * Content-Type - * Content-Length - * Connection - * x-amzn-RequestId - * Access-Control-Allow-Origin - * Content-Encoding - * Access-Control-Allow-Headers - * x-amzn-Remapped-Content-Length - * x-amz-apigw-id - * Access-Control-Allow-Methods - * Access-Control-Expose-Headers - * x-amzn-Remapped-Date - * Access-Control-Max-Age - * Access-Control-Allow-Credentials - |
Copyright © 2023. All rights reserved.