public class ProductItemsApi extends Object
| 构造器和说明 |
|---|
ProductItemsApi() |
ProductItemsApi(ApiClient apiClient) |
public ProductItemsApi()
public ProductItemsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call productItemsAddCall(ProductItemsAddRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ProductItemsAddResponse productItemsAdd(ProductItemsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<ProductItemsAddResponse> productItemsAddWithHttpInfo(ProductItemsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call productItemsAddAsync(ProductItemsAddRequest data, ApiCallback<ProductItemsAddResponse> callback) throws ApiException
data - (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 objectpublic com.squareup.okhttp.Call productItemsGetCall(Long accountId, Long productCatalogId, List<FilteringStruct> filtering, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)productCatalogId - (required)filtering - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ProductItemsGetResponse productItemsGet(Long accountId, Long productCatalogId, List<FilteringStruct> filtering, List<String> fields) throws ApiException
accountId - (required)productCatalogId - (required)filtering - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<ProductItemsGetResponse> productItemsGetWithHttpInfo(Long accountId, Long productCatalogId, List<FilteringStruct> filtering, List<String> fields) throws ApiException
accountId - (required)productCatalogId - (required)filtering - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call productItemsGetAsync(Long accountId, Long productCatalogId, List<FilteringStruct> filtering, List<String> fields, ApiCallback<ProductItemsGetResponse> callback) throws ApiException
accountId - (required)productCatalogId - (required)filtering - (optional)fields - 返回参数的字段列表 (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call productItemsUpdateCall(ProductItemsUpdateRequest data, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
data - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ProductItemsUpdateResponse productItemsUpdate(ProductItemsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<ProductItemsUpdateResponse> productItemsUpdateWithHttpInfo(ProductItemsUpdateRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call productItemsUpdateAsync(ProductItemsUpdateRequest data, ApiCallback<ProductItemsUpdateResponse> callback) throws ApiException
data - (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 © 2020. All rights reserved.