public class AntMerchantExpandItemApi extends Object
| 构造器和说明 |
|---|
AntMerchantExpandItemApi() |
AntMerchantExpandItemApi(ApiClient apiClient) |
public AntMerchantExpandItemApi()
public AntMerchantExpandItemApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createCall(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
antMerchantExpandItemCreateModel - (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemCreateResponseModel create(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel) throws ApiException
antMerchantExpandItemCreateModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemCreateResponseModel create(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandItemCreateResponseModel> createWithHttpInfo(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel, CustomizedParams customizedParams) throws ApiException
antMerchantExpandItemCreateModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call createAsync(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel, ApiCallback<AntMerchantExpandItemCreateResponseModel> _callback) throws ApiException
antMerchantExpandItemCreateModel - (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call createAsync(AntMerchantExpandItemCreateModel antMerchantExpandItemCreateModel, ApiCallback<AntMerchantExpandItemCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(String itemId, String externalItemId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
itemId - 商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)externalItemId - 外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemDeleteResponseModel delete(String itemId, String externalItemId) throws ApiException
itemId - 商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)externalItemId - 外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemDeleteResponseModel delete(String itemId, String externalItemId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandItemDeleteResponseModel> deleteWithHttpInfo(String itemId, String externalItemId, CustomizedParams customizedParams) throws ApiException
itemId - 商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)externalItemId - 外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call deleteAsync(String itemId, String externalItemId, ApiCallback<AntMerchantExpandItemDeleteResponseModel> _callback) throws ApiException
itemId - 商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (optional)externalItemId - 外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空) (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call deleteAsync(String itemId, String externalItemId, ApiCallback<AntMerchantExpandItemDeleteResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call modifyCall(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
antMerchantExpandItemModifyModel - (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemModifyResponseModel modify(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel) throws ApiException
antMerchantExpandItemModifyModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemModifyResponseModel modify(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandItemModifyResponseModel> modifyWithHttpInfo(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel, CustomizedParams customizedParams) throws ApiException
antMerchantExpandItemModifyModel - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call modifyAsync(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel, ApiCallback<AntMerchantExpandItemModifyResponseModel> _callback) throws ApiException
antMerchantExpandItemModifyModel - (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call modifyAsync(AntMerchantExpandItemModifyModel antMerchantExpandItemModifyModel, ApiCallback<AntMerchantExpandItemModifyResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
targetType - 商品归属主体类型: 5: 店铺 4: 主站MID 3: 参与者 2: 角色 1: 联系人 (optional)targetId - 商品归属主体id (optional)undefinedCategory - 未分类类目: true 的时候 front_category_id 必须不填(null) (optional)frontCategoryId - 商品前台类目id: null 表示所有分类 (optional)status - 商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品 (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemQueryResponseModel query(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status) throws ApiException
targetType - 商品归属主体类型: 5: 店铺 4: 主站MID 3: 参与者 2: 角色 1: 联系人 (optional)targetId - 商品归属主体id (optional)undefinedCategory - 未分类类目: true 的时候 front_category_id 必须不填(null) (optional)frontCategoryId - 商品前台类目id: null 表示所有分类 (optional)status - 商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AntMerchantExpandItemQueryResponseModel query(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AntMerchantExpandItemQueryResponseModel> queryWithHttpInfo(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status, CustomizedParams customizedParams) throws ApiException
targetType - 商品归属主体类型: 5: 店铺 4: 主站MID 3: 参与者 2: 角色 1: 联系人 (optional)targetId - 商品归属主体id (optional)undefinedCategory - 未分类类目: true 的时候 front_category_id 必须不填(null) (optional)frontCategoryId - 商品前台类目id: null 表示所有分类 (optional)status - 商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status, ApiCallback<AntMerchantExpandItemQueryResponseModel> _callback) throws ApiException
targetType - 商品归属主体类型: 5: 店铺 4: 主站MID 3: 参与者 2: 角色 1: 联系人 (optional)targetId - 商品归属主体id (optional)undefinedCategory - 未分类类目: true 的时候 front_category_id 必须不填(null) (optional)frontCategoryId - 商品前台类目id: null 表示所有分类 (optional)status - 商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品 (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 object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String targetType, String targetId, Boolean undefinedCategory, String frontCategoryId, String status, ApiCallback<AntMerchantExpandItemQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.