public class CreateOrderApi extends Object
| Constructor and Description |
|---|
CreateOrderApi() |
CreateOrderApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
createOrder(CreateOrder body)
Submit a new or existing order to Thirdwatch for review.
|
com.squareup.okhttp.Call |
createOrderAsync(CreateOrder body,
ApiCallback<EventResponse> callback)
Submit a new or existing order to Thirdwatch for review.
|
com.squareup.okhttp.Call |
createOrderCall(CreateOrder body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createOrder
|
ApiResponse<EventResponse> |
createOrderWithHttpInfo(CreateOrder body)
Submit a new or existing order to Thirdwatch for review.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public CreateOrderApi()
public CreateOrderApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createOrderCall(CreateOrder body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - An order to submit for review. Only `_userID` is required field. But this should contain order info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse createOrder(CreateOrder body) throws ApiException
body - An order to submit for review. Only `_userID` is required field. But this should contain order info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> createOrderWithHttpInfo(CreateOrder body) throws ApiException
body - An order to submit for review. Only `_userID` is required field. But this should contain order info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createOrderAsync(CreateOrder body, ApiCallback<EventResponse> callback) throws ApiException
body - An order to submit for review. Only `_userID` is required field. But this should contain order info. (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 objectCopyright © 2017. All rights reserved.