/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package org.openapitools.client.api;

import org.openapitools.client.ApiCallback;
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.ApiResponse;
import org.openapitools.client.Configuration;
import org.openapitools.client.Pair;
import org.openapitools.client.ProgressRequestBody;
import org.openapitools.client.ProgressResponseBody;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;


import org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.ApplicableDueDateDelayDto;
import org.openapitools.client.model.InlineResponseDefault;
import org.openapitools.client.model.ProductOrder;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class OrderApi {
    private ApiClient localVarApiClient;

    public OrderApi() {
        this(Configuration.getDefaultApiClient());
    }

    public OrderApi(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return localVarApiClient;
    }

    public void setApiClient(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    /**
     * Build call for dELETEOrderOrderId1
     * @param orderId  id Product order code  (required)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the delete request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call dELETEOrderOrderId1Call(String orderId, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/{orderId}"
            .replaceAll("\\{" + "orderId" + "\\}", localVarApiClient.escapeString(orderId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call dELETEOrderOrderId1ValidateBeforeCall(String orderId, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'orderId' is set
        if (orderId == null) {
            throw new ApiException("Missing the required parameter 'orderId' when calling dELETEOrderOrderId1(Async)");
        }
        

        okhttp3.Call localVarCall = dELETEOrderOrderId1Call(orderId, _callback);
        return localVarCall;

    }

    /**
     *  Delete a product order  
     *  Delete a product order  
     * @param orderId  id Product order code  (required)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the delete request  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault dELETEOrderOrderId1(String orderId) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = dELETEOrderOrderId1WithHttpInfo(orderId);
        return localVarResp.getData();
    }

    /**
     *  Delete a product order  
     *  Delete a product order  
     * @param orderId  id Product order code  (required)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the delete request  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> dELETEOrderOrderId1WithHttpInfo(String orderId) throws ApiException {
        okhttp3.Call localVarCall = dELETEOrderOrderId1ValidateBeforeCall(orderId, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Delete a product order   (asynchronously)
     *  Delete a product order  
     * @param orderId  id Product order code  (required)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the delete request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call dELETEOrderOrderId1Async(String orderId, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = dELETEOrderOrderId1ValidateBeforeCall(orderId, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETIBaseVersion94
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETIBaseVersion94Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/version";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETIBaseVersion94ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETIBaseVersion94Call(_callback);
        return localVarCall;

    }

    /**
     *  Get version of application  
     *  Get version of application  
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus gETIBaseVersion94() throws ApiException {
        ApiResponse<ActionStatus> localVarResp = gETIBaseVersion94WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     *  Get version of application  
     *  Get version of application  
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> gETIBaseVersion94WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = gETIBaseVersion94ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Get version of application   (asynchronously)
     *  Get version of application  
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Action status with version number as a message  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETIBaseVersion94Async(final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETIBaseVersion94ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETOrderOrderId1
     * @param orderId  id Product code  (required)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderOrderId1Call(String orderId, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/{orderId}"
            .replaceAll("\\{" + "orderId" + "\\}", localVarApiClient.escapeString(orderId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETOrderOrderId1ValidateBeforeCall(String orderId, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'orderId' is set
        if (orderId == null) {
            throw new ApiException("Missing the required parameter 'orderId' when calling gETOrderOrderId1(Async)");
        }
        

        okhttp3.Call localVarCall = gETOrderOrderId1Call(orderId, _callback);
        return localVarCall;

    }

    /**
     *  Get details of a single product order  
     *  Get details of a single product order  
     * @param orderId  id Product code  (required)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the request  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault gETOrderOrderId1(String orderId) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = gETOrderOrderId1WithHttpInfo(orderId);
        return localVarResp.getData();
    }

    /**
     *  Get details of a single product order  
     *  Get details of a single product order  
     * @param orderId  id Product code  (required)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the request  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> gETOrderOrderId1WithHttpInfo(String orderId) throws ApiException {
        okhttp3.Call localVarCall = gETOrderOrderId1ValidateBeforeCall(orderId, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Get details of a single product order   (asynchronously)
     *  Get details of a single product order  
     * @param orderId  id Product code  (required)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderOrderId1Async(String orderId, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETOrderOrderId1ValidateBeforeCall(orderId, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETOrderOrderIdApplicableDueDateDelay1
     * @param orderId  orderId The order id   (required)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the due date delay   </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderOrderIdApplicableDueDateDelay1Call(String orderId, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/{orderId}/applicableDueDateDelay"
            .replaceAll("\\{" + "orderId" + "\\}", localVarApiClient.escapeString(orderId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETOrderOrderIdApplicableDueDateDelay1ValidateBeforeCall(String orderId, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'orderId' is set
        if (orderId == null) {
            throw new ApiException("Missing the required parameter 'orderId' when calling gETOrderOrderIdApplicableDueDateDelay1(Async)");
        }
        

        okhttp3.Call localVarCall = gETOrderOrderIdApplicableDueDateDelay1Call(orderId, _callback);
        return localVarCall;

    }

    /**
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.  
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.  
     * @param orderId  orderId The order id   (required)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the due date delay   </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault gETOrderOrderIdApplicableDueDateDelay1(String orderId) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = gETOrderOrderIdApplicableDueDateDelay1WithHttpInfo(orderId);
        return localVarResp.getData();
    }

    /**
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.  
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.  
     * @param orderId  orderId The order id   (required)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the due date delay   </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> gETOrderOrderIdApplicableDueDateDelay1WithHttpInfo(String orderId) throws ApiException {
        okhttp3.Call localVarCall = gETOrderOrderIdApplicableDueDateDelay1ValidateBeforeCall(orderId, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.   (asynchronously)
     *  Evaluate and return the dueDateDelayEL. It checks the EL in this order: Order, CustomerAccount, BillingCycle.  
     * @param orderId  orderId The order id   (required)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the due date delay   </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderOrderIdApplicableDueDateDelay1Async(String orderId, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETOrderOrderIdApplicableDueDateDelay1ValidateBeforeCall(orderId, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETOrderSearch1
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of product orders matching search criteria  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderSearch1Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETOrderSearch1ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETOrderSearch1Call(_callback);
        return localVarCall;

    }

    /**
     *  Get a list of product orders optionaly filtered by some criteria  
     *  Get a list of product orders optionaly filtered by some criteria  
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of product orders matching search criteria  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault gETOrderSearch1() throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = gETOrderSearch1WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     *  Get a list of product orders optionaly filtered by some criteria  
     *  Get a list of product orders optionaly filtered by some criteria  
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of product orders matching search criteria  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> gETOrderSearch1WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = gETOrderSearch1ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Get a list of product orders optionaly filtered by some criteria   (asynchronously)
     *  Get a list of product orders optionaly filtered by some criteria  
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  A list of product orders matching search criteria  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderSearch1Async(final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETOrderSearch1ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for gETOrderValidate1
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderValidate1Call(ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = productOrder;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/validate";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call gETOrderValidate1ValidateBeforeCall(ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = gETOrderValidate1Call(productOrder, _callback);
        return localVarCall;

    }

    /**
     *  validate a product order 
     *  validate a product order 
     * @param productOrder  productOrder Product order information  (optional)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault gETOrderValidate1(ProductOrder productOrder) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = gETOrderValidate1WithHttpInfo(productOrder);
        return localVarResp.getData();
    }

    /**
     *  validate a product order 
     *  validate a product order 
     * @param productOrder  productOrder Product order information  (optional)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> gETOrderValidate1WithHttpInfo(ProductOrder productOrder) throws ApiException {
        okhttp3.Call localVarCall = gETOrderValidate1ValidateBeforeCall(productOrder, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  validate a product order  (asynchronously)
     *  validate a product order 
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call gETOrderValidate1Async(ProductOrder productOrder, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = gETOrderValidate1ValidateBeforeCall(productOrder, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pATCHOrderId1
     * @param id  id Product order code  (required)
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  An updated product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pATCHOrderId1Call(String id, ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = productOrder;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/{id}"
            .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pATCHOrderId1ValidateBeforeCall(String id, ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'id' is set
        if (id == null) {
            throw new ApiException("Missing the required parameter 'id' when calling pATCHOrderId1(Async)");
        }
        

        okhttp3.Call localVarCall = pATCHOrderId1Call(id, productOrder, _callback);
        return localVarCall;

    }

    /**
     *  Modify partially a product order  
     *  Modify partially a product order  
     * @param id  id Product order code  (required)
     * @param productOrder  productOrder Product order information  (optional)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  An updated product order information  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault pATCHOrderId1(String id, ProductOrder productOrder) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = pATCHOrderId1WithHttpInfo(id, productOrder);
        return localVarResp.getData();
    }

    /**
     *  Modify partially a product order  
     *  Modify partially a product order  
     * @param id  id Product order code  (required)
     * @param productOrder  productOrder Product order information  (optional)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  An updated product order information  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> pATCHOrderId1WithHttpInfo(String id, ProductOrder productOrder) throws ApiException {
        okhttp3.Call localVarCall = pATCHOrderId1ValidateBeforeCall(id, productOrder, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Modify partially a product order   (asynchronously)
     *  Modify partially a product order  
     * @param id  id Product order code  (required)
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  An updated product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pATCHOrderId1Async(String id, ProductOrder productOrder, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = pATCHOrderId1ValidateBeforeCall(id, productOrder, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pOSTOrderCreate1
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pOSTOrderCreate1Call(ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = productOrder;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pOSTOrderCreate1ValidateBeforeCall(ProductOrder productOrder, final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = pOSTOrderCreate1Call(productOrder, _callback);
        return localVarCall;

    }

    /**
     *  Place a new product order  
     *  Place a new product order  
     * @param productOrder  productOrder Product order information  (optional)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault pOSTOrderCreate1(ProductOrder productOrder) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = pOSTOrderCreate1WithHttpInfo(productOrder);
        return localVarResp.getData();
    }

    /**
     *  Place a new product order  
     *  Place a new product order  
     * @param productOrder  productOrder Product order information  (optional)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> pOSTOrderCreate1WithHttpInfo(ProductOrder productOrder) throws ApiException {
        okhttp3.Call localVarCall = pOSTOrderCreate1ValidateBeforeCall(productOrder, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Place a new product order   (asynchronously)
     *  Place a new product order  
     * @param productOrder  productOrder Product order information  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Product order information  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pOSTOrderCreate1Async(ProductOrder productOrder, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = pOSTOrderCreate1ValidateBeforeCall(productOrder, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for pUTOrderOrderIdSimpleDueDateDelay1
     * @param orderId  orderId The order id  (required)
     * @param applicableDueDateDelayDto  postData Applicable Due Date Delay data  (optional)
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the update request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTOrderOrderIdSimpleDueDateDelay1Call(String orderId, ApplicableDueDateDelayDto applicableDueDateDelayDto, final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = applicableDueDateDelayDto;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/{orderId}/simpleDueDateDelay"
            .replaceAll("\\{" + "orderId" + "\\}", localVarApiClient.escapeString(orderId.toString()));

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            "application/json", "application/xml"
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call pUTOrderOrderIdSimpleDueDateDelay1ValidateBeforeCall(String orderId, ApplicableDueDateDelayDto applicableDueDateDelayDto, final ApiCallback _callback) throws ApiException {
        
        // verify the required parameter 'orderId' is set
        if (orderId == null) {
            throw new ApiException("Missing the required parameter 'orderId' when calling pUTOrderOrderIdSimpleDueDateDelay1(Async)");
        }
        

        okhttp3.Call localVarCall = pUTOrderOrderIdSimpleDueDateDelay1Call(orderId, applicableDueDateDelayDto, _callback);
        return localVarCall;

    }

    /**
     *  Updates the dueDateDelayEL of an Order.   
     *  Updates the dueDateDelayEL of an Order.   
     * @param orderId  orderId The order id  (required)
     * @param applicableDueDateDelayDto  postData Applicable Due Date Delay data  (optional)
     * @return InlineResponseDefault
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the update request  </td><td>  -  </td></tr>
     </table>
     */
    public InlineResponseDefault pUTOrderOrderIdSimpleDueDateDelay1(String orderId, ApplicableDueDateDelayDto applicableDueDateDelayDto) throws ApiException {
        ApiResponse<InlineResponseDefault> localVarResp = pUTOrderOrderIdSimpleDueDateDelay1WithHttpInfo(orderId, applicableDueDateDelayDto);
        return localVarResp.getData();
    }

    /**
     *  Updates the dueDateDelayEL of an Order.   
     *  Updates the dueDateDelayEL of an Order.   
     * @param orderId  orderId The order id  (required)
     * @param applicableDueDateDelayDto  postData Applicable Due Date Delay data  (optional)
     * @return ApiResponse&lt;InlineResponseDefault&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the update request  </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<InlineResponseDefault> pUTOrderOrderIdSimpleDueDateDelay1WithHttpInfo(String orderId, ApplicableDueDateDelayDto applicableDueDateDelayDto) throws ApiException {
        okhttp3.Call localVarCall = pUTOrderOrderIdSimpleDueDateDelay1ValidateBeforeCall(orderId, applicableDueDateDelayDto, null);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  Updates the dueDateDelayEL of an Order.    (asynchronously)
     *  Updates the dueDateDelayEL of an Order.   
     * @param orderId  orderId The order id  (required)
     * @param applicableDueDateDelayDto  postData Applicable Due Date Delay data  (optional)
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td>  Response of the update request  </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call pUTOrderOrderIdSimpleDueDateDelay1Async(String orderId, ApplicableDueDateDelayDto applicableDueDateDelayDto, final ApiCallback<InlineResponseDefault> _callback) throws ApiException {

        okhttp3.Call localVarCall = pUTOrderOrderIdSimpleDueDateDelay1ValidateBeforeCall(orderId, applicableDueDateDelayDto, _callback);
        Type localVarReturnType = new TypeToken<InlineResponseDefault>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
    /**
     * Build call for user96
     * @param _callback Callback for upload/download progress
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call user96Call(final ApiCallback _callback) throws ApiException {
        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/orderManagement/productOrder/user";

        List<Pair> localVarQueryParams = new ArrayList<Pair>();
        List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json", "application/xml"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
            
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);

        String[] localVarAuthNames = new String[] { "auth" };
        return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, _callback);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call user96ValidateBeforeCall(final ApiCallback _callback) throws ApiException {
        

        okhttp3.Call localVarCall = user96Call(_callback);
        return localVarCall;

    }

    /**
     * 
     * 
     * @return ActionStatus
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public ActionStatus user96() throws ApiException {
        ApiResponse<ActionStatus> localVarResp = user96WithHttpInfo();
        return localVarResp.getData();
    }

    /**
     * 
     * 
     * @return ApiResponse&lt;ActionStatus&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public ApiResponse<ActionStatus> user96WithHttpInfo() throws ApiException {
        okhttp3.Call localVarCall = user96ValidateBeforeCall(null);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    /**
     *  (asynchronously)
     * 
     * @param _callback The callback to be executed when the API call finishes
     * @return The request call
     * @throws ApiException If fail to process the API call, e.g. serializing the request body object
     * @http.response.details
     <table summary="Response Details" border="1">
        <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
        <tr><td> 0 </td><td> default response </td><td>  -  </td></tr>
     </table>
     */
    public okhttp3.Call user96Async(final ApiCallback<ActionStatus> _callback) throws ApiException {

        okhttp3.Call localVarCall = user96ValidateBeforeCall(_callback);
        Type localVarReturnType = new TypeToken<ActionStatus>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }
}
