public class ProductCatalogsApi extends Object
| 构造器和说明 |
|---|
ProductCatalogsApi() |
ProductCatalogsApi(ApiClient apiClient) |
public ProductCatalogsApi()
public ProductCatalogsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call productCatalogsAddCall(ProductCatalogsAddRequest 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 ProductCatalogsAddResponse productCatalogsAdd(ProductCatalogsAddRequest data) throws ApiException
data - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<ProductCatalogsAddResponse> productCatalogsAddWithHttpInfo(ProductCatalogsAddRequest 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 productCatalogsAddAsync(ProductCatalogsAddRequest data, ApiCallback<ProductCatalogsAddResponse> 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 productCatalogsGetCall(Long accountId, Long page, Long pageSize, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ProductCatalogsGetResponse productCatalogsGet(Long accountId, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<ProductCatalogsGetResponse> productCatalogsGetWithHttpInfo(Long accountId, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call productCatalogsGetAsync(Long accountId, Long page, Long pageSize, List<String> fields, ApiCallback<ProductCatalogsGetResponse> callback) throws ApiException
accountId - (required)page - (optional)pageSize - (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 objectCopyright © 2020. All rights reserved.