Class CarSearchServiceApi


  • public class CarSearchServiceApi
    extends Object
    • Constructor Detail

      • CarSearchServiceApi

        public CarSearchServiceApi()
      • CarSearchServiceApi

        public CarSearchServiceApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getCancellationPolicyAsync

        public com.squareup.okhttp.Call getCancellationPolicyAsync​(CarCancellationPolicyCriteria body,
                                                                   String sessionId,
                                                                   String conversationId,
                                                                   String X_API_KEY,
                                                                   ApiCallback<ResponsePackCarCancellationPolicyResponse> callback)
                                                            throws ApiException
        Car Book (asynchronously) Car Book
        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
      • performCarSearch

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

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

        public com.squareup.okhttp.Call performCarSearchAsync​(CarSearchCriteria body,
                                                              String sessionId,
                                                              String conversationId,
                                                              String X_API_KEY,
                                                              ApiCallback<ResponsePackCar> callback)
                                                       throws ApiException
        Car search (asynchronously) Car 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