public class AddToCartApi extends Object
| Constructor and Description |
|---|
AddToCartApi() |
AddToCartApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
addToCart(AddToCart JSON)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
com.squareup.okhttp.Call |
addToCartAsync(AddToCart JSON,
ApiCallback<EventResponse> callback)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
com.squareup.okhttp.Call |
addToCartCall(AddToCart JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addToCart
|
ApiResponse<EventResponse> |
addToCartWithHttpInfo(AddToCart JSON)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AddToCartApi()
public AddToCartApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addToCartCall(AddToCart JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass added 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 addToCart(AddToCart JSON) throws ApiException
JSON - Pass added 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> addToCartWithHttpInfo(AddToCart JSON) throws ApiException
JSON - Pass added 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 addToCartAsync(AddToCart JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass added 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.