public class RemoveFromCartApi extends Object
| Constructor and Description |
|---|
RemoveFromCartApi() |
RemoveFromCartApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
removeFromCart(RemoveFromCart JSON)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
com.squareup.okhttp.Call |
removeFromCartAsync(RemoveFromCart JSON,
ApiCallback<EventResponse> callback)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
com.squareup.okhttp.Call |
removeFromCartCall(RemoveFromCart JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeFromCart
|
ApiResponse<EventResponse> |
removeFromCartWithHttpInfo(RemoveFromCart JSON)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
void |
setApiClient(ApiClient apiClient) |
public RemoveFromCartApi()
public RemoveFromCartApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call removeFromCartCall(RemoveFromCart JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass removed item info to thirdwatch. Only `_userID` is required field. But this should contain item info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse removeFromCart(RemoveFromCart JSON) throws ApiException
JSON - Pass removed item info to thirdwatch. Only `_userID` is required field. But this should contain item info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> removeFromCartWithHttpInfo(RemoveFromCart JSON) throws ApiException
JSON - Pass removed item info to thirdwatch. Only `_userID` is required field. But this should contain item info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeFromCartAsync(RemoveFromCart JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass removed item info to thirdwatch. Only `_userID` is required field. But this should contain item 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.