public class AlipayMarketingActivityGoodsApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingActivityGoodsApi() |
AlipayMarketingActivityGoodsApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingActivityGoodsBatchqueryResponseModel |
batchquery(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode)
查询活动适用商品
通过此接口可查询活动的可用或不可用商品,判断是否在该商品可用,来决定是否展示。
|
AlipayMarketingActivityGoodsBatchqueryResponseModel |
batchquery(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryAsync(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityGoodsBatchqueryResponseModel> _callback)
查询活动适用商品 (asynchronously)
通过此接口可查询活动的可用或不可用商品,判断是否在该商品可用,来决定是否展示。
|
okhttp3.Call |
batchqueryAsync(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityGoodsBatchqueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryCall(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for batchquery
|
ApiResponse<AlipayMarketingActivityGoodsBatchqueryResponseModel> |
batchqueryWithHttpInfo(String activityId,
String merchantId,
String goodsUseType,
Integer pageNum,
Integer pageSize,
String productVersion,
String merchantAccessMode,
CustomizedParams customizedParams)
查询活动适用商品
通过此接口可查询活动的可用或不可用商品,判断是否在该商品可用,来决定是否展示。
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMarketingActivityGoodsApi()
public AlipayMarketingActivityGoodsApi(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 batchqueryCall(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户。 (optional)goodsUseType - 活动单品类型。 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)productVersion - 版本号 枚举值: 2.0.0 (optional)merchantAccessMode - 商户接入模式 (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 AlipayMarketingActivityGoodsBatchqueryResponseModel batchquery(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户。 (optional)goodsUseType - 活动单品类型。 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)productVersion - 版本号 枚举值: 2.0.0 (optional)merchantAccessMode - 商户接入模式 (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 AlipayMarketingActivityGoodsBatchqueryResponseModel batchquery(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingActivityGoodsBatchqueryResponseModel> batchqueryWithHttpInfo(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户。 (optional)goodsUseType - 活动单品类型。 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)productVersion - 版本号 枚举值: 2.0.0 (optional)merchantAccessMode - 商户接入模式 (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 batchqueryAsync(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode, ApiCallback<AlipayMarketingActivityGoodsBatchqueryResponseModel> _callback) throws ApiException
activityId - 活动id (required)merchantId - 商户PID,默认为当前接口调用商户。 (optional)goodsUseType - 活动单品类型。 (optional)pageNum - 分页查询页码。 限制: 必须为大于0的整数 (optional)pageSize - 分页查询单页数据条数。 限制: 1.必须为大于0的整数 2.每页最大值为20 (optional)productVersion - 版本号 枚举值: 2.0.0 (optional)merchantAccessMode - 商户接入模式 (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 batchqueryAsync(String activityId, String merchantId, String goodsUseType, Integer pageNum, Integer pageSize, String productVersion, String merchantAccessMode, ApiCallback<AlipayMarketingActivityGoodsBatchqueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.