Class HotelSearchServiceApi


  • public class HotelSearchServiceApi
    extends Object
    • Constructor Detail

      • HotelSearchServiceApi

        public HotelSearchServiceApi()
      • HotelSearchServiceApi

        public HotelSearchServiceApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • performCancellationPoliciesRq

        public ResponsePackCancellationPolicy performCancellationPoliciesRq​(HotelCancellationPolicyCriteria body,
                                                                            String sessionId,
                                                                            String conversationId,
                                                                            String X_API_KEY)
                                                                     throws ApiException
        Get Hotel Cancellation Policies Get Hotel Cancellation Policies
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ResponsePackCancellationPolicy
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performCancellationPoliciesRqWithHttpInfo

        public ApiResponse<ResponsePackCancellationPolicy> performCancellationPoliciesRqWithHttpInfo​(HotelCancellationPolicyCriteria body,
                                                                                                     String sessionId,
                                                                                                     String conversationId,
                                                                                                     String X_API_KEY)
                                                                                              throws ApiException
        Get Hotel Cancellation Policies Get Hotel Cancellation Policies
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ApiResponse<ResponsePackCancellationPolicy>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performCancellationPoliciesRqAsync

        public com.squareup.okhttp.Call performCancellationPoliciesRqAsync​(HotelCancellationPolicyCriteria body,
                                                                           String sessionId,
                                                                           String conversationId,
                                                                           String X_API_KEY,
                                                                           ApiCallback<ResponsePackCancellationPolicy> callback)
                                                                    throws ApiException
        Get Hotel Cancellation Policies (asynchronously) Get Hotel Cancellation Policies
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • performHotelDetailSearchRqCall

        public com.squareup.okhttp.Call performHotelDetailSearchRqCall​(BaseHotelCriteria body,
                                                                       String sessionId,
                                                                       String conversationId,
                                                                       String X_API_KEY,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException
        Build call for performHotelDetailSearchRq
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • performHotelDetailSearchRq

        public ResponsePackHotelDetails performHotelDetailSearchRq​(BaseHotelCriteria body,
                                                                   String sessionId,
                                                                   String conversationId,
                                                                   String X_API_KEY)
                                                            throws ApiException
        Hotel Detail Search Hotel detail search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ResponsePackHotelDetails
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performHotelDetailSearchRqWithHttpInfo

        public ApiResponse<ResponsePackHotelDetails> performHotelDetailSearchRqWithHttpInfo​(BaseHotelCriteria body,
                                                                                            String sessionId,
                                                                                            String conversationId,
                                                                                            String X_API_KEY)
                                                                                     throws ApiException
        Hotel Detail Search Hotel detail search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ApiResponse<ResponsePackHotelDetails>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performHotelDetailSearchRqAsync

        public com.squareup.okhttp.Call performHotelDetailSearchRqAsync​(BaseHotelCriteria body,
                                                                        String sessionId,
                                                                        String conversationId,
                                                                        String X_API_KEY,
                                                                        ApiCallback<ResponsePackHotelDetails> callback)
                                                                 throws ApiException
        Hotel Detail Search (asynchronously) Hotel detail search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • performHotelSearchRq

        public ResponsePackHotel performHotelSearchRq​(HotelSearchCriteria body,
                                                      String sessionId,
                                                      String conversationId,
                                                      String X_API_KEY)
                                               throws ApiException
        Hotel Search Hotel search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ResponsePackHotel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performHotelSearchRqWithHttpInfo

        public ApiResponse<ResponsePackHotel> performHotelSearchRqWithHttpInfo​(HotelSearchCriteria body,
                                                                               String sessionId,
                                                                               String conversationId,
                                                                               String X_API_KEY)
                                                                        throws ApiException
        Hotel Search Hotel search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ApiResponse<ResponsePackHotel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performHotelSearchRqAsync

        public com.squareup.okhttp.Call performHotelSearchRqAsync​(HotelSearchCriteria body,
                                                                  String sessionId,
                                                                  String conversationId,
                                                                  String X_API_KEY,
                                                                  ApiCallback<ResponsePackHotel> callback)
                                                           throws ApiException
        Hotel Search (asynchronously) Hotel search
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • performMoreRoomRq

        public ResponsePackHotel performMoreRoomRq​(BaseHotelCriteria body,
                                                   String sessionId,
                                                   String conversationId,
                                                   String X_API_KEY)
                                            throws ApiException
        Hotel Search Get More Rooms Hotel search get more rooms
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ResponsePackHotel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performMoreRoomRqWithHttpInfo

        public ApiResponse<ResponsePackHotel> performMoreRoomRqWithHttpInfo​(BaseHotelCriteria body,
                                                                            String sessionId,
                                                                            String conversationId,
                                                                            String X_API_KEY)
                                                                     throws ApiException
        Hotel Search Get More Rooms Hotel search get more rooms
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        Returns:
        ApiResponse<ResponsePackHotel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • performMoreRoomRqAsync

        public com.squareup.okhttp.Call performMoreRoomRqAsync​(BaseHotelCriteria body,
                                                               String sessionId,
                                                               String conversationId,
                                                               String X_API_KEY,
                                                               ApiCallback<ResponsePackHotel> callback)
                                                        throws ApiException
        Hotel Search Get More Rooms (asynchronously) Hotel search get more rooms
        Parameters:
        body - (required)
        sessionId - Session ID (required)
        conversationId - Conversation ID (required)
        X_API_KEY - API access key (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object