public class AlipayMarketingActivityUserApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingActivityUserApi() |
AlipayMarketingActivityUserApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingActivityUserBatchqueryvoucherResponseModel |
batchqueryvoucher(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize)
条件查询用户券
可通过该接口查询用户在某商户可用的全部券,可用于商户的小程序/H5中,用户\"我的优惠券\"或\"提交订单页\"展示优惠信息。
|
AlipayMarketingActivityUserBatchqueryvoucherResponseModel |
batchqueryvoucher(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryvoucherAsync(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize,
ApiCallback<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> _callback)
条件查询用户券 (asynchronously)
可通过该接口查询用户在某商户可用的全部券,可用于商户的小程序/H5中,用户\"我的优惠券\"或\"提交订单页\"展示优惠信息。
|
okhttp3.Call |
batchqueryvoucherAsync(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize,
ApiCallback<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
batchqueryvoucherCall(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for batchqueryvoucher
|
ApiResponse<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> |
batchqueryvoucherWithHttpInfo(String authToken,
String userId,
String openId,
String activityId,
String belongMerchantId,
String senderMerchantId,
String voucherStatus,
Integer pageNum,
String merchantAccessMode,
Integer pageSize,
CustomizedParams customizedParams)
条件查询用户券
可通过该接口查询用户在某商户可用的全部券,可用于商户的小程序/H5中,用户\"我的优惠券\"或\"提交订单页\"展示优惠信息。
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayMarketingActivityUserQueryvoucherResponseModel |
queryvoucher(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode)
查询用户券详情
通过此接口可以查询用户券信息,包括用户券的基础信息、状态。
|
AlipayMarketingActivityUserQueryvoucherResponseModel |
queryvoucher(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode,
CustomizedParams customizedParams) |
okhttp3.Call |
queryvoucherAsync(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityUserQueryvoucherResponseModel> _callback)
查询用户券详情 (asynchronously)
通过此接口可以查询用户券信息,包括用户券的基础信息、状态。
|
okhttp3.Call |
queryvoucherAsync(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode,
ApiCallback<AlipayMarketingActivityUserQueryvoucherResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryvoucherCall(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for queryvoucher
|
ApiResponse<AlipayMarketingActivityUserQueryvoucherResponseModel> |
queryvoucherWithHttpInfo(String merchantId,
String userId,
String openId,
String activityId,
String voucherId,
String voucherCode,
String merchantAccessMode,
CustomizedParams customizedParams)
查询用户券详情
通过此接口可以查询用户券信息,包括用户券的基础信息、状态。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMarketingActivityUserApi()
public AlipayMarketingActivityUserApi(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 batchqueryvoucherCall(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)userId - 支付宝用户 id (optional)openId - 支付宝用户openId (optional)activityId - 活动 id (optional)belongMerchantId - 券归属商户 (optional)senderMerchantId - 券发放商户 (optional)voucherStatus - 券状态,其中已过期状态可查询6个月内的数据 (optional)pageNum - 分页查询页码 (optional)merchantAccessMode - 商户接入模式 (optional)pageSize - 分页查询单页数据条数 (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 AlipayMarketingActivityUserBatchqueryvoucherResponseModel batchqueryvoucher(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize) throws ApiException
authToken - 用户授权令牌 (optional)userId - 支付宝用户 id (optional)openId - 支付宝用户openId (optional)activityId - 活动 id (optional)belongMerchantId - 券归属商户 (optional)senderMerchantId - 券发放商户 (optional)voucherStatus - 券状态,其中已过期状态可查询6个月内的数据 (optional)pageNum - 分页查询页码 (optional)merchantAccessMode - 商户接入模式 (optional)pageSize - 分页查询单页数据条数 (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 AlipayMarketingActivityUserBatchqueryvoucherResponseModel batchqueryvoucher(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> batchqueryvoucherWithHttpInfo(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)userId - 支付宝用户 id (optional)openId - 支付宝用户openId (optional)activityId - 活动 id (optional)belongMerchantId - 券归属商户 (optional)senderMerchantId - 券发放商户 (optional)voucherStatus - 券状态,其中已过期状态可查询6个月内的数据 (optional)pageNum - 分页查询页码 (optional)merchantAccessMode - 商户接入模式 (optional)pageSize - 分页查询单页数据条数 (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 batchqueryvoucherAsync(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize, ApiCallback<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> _callback) throws ApiException
authToken - 用户授权令牌 (optional)userId - 支付宝用户 id (optional)openId - 支付宝用户openId (optional)activityId - 活动 id (optional)belongMerchantId - 券归属商户 (optional)senderMerchantId - 券发放商户 (optional)voucherStatus - 券状态,其中已过期状态可查询6个月内的数据 (optional)pageNum - 分页查询页码 (optional)merchantAccessMode - 商户接入模式 (optional)pageSize - 分页查询单页数据条数 (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 batchqueryvoucherAsync(String authToken, String userId, String openId, String activityId, String belongMerchantId, String senderMerchantId, String voucherStatus, Integer pageNum, String merchantAccessMode, Integer pageSize, ApiCallback<AlipayMarketingActivityUserBatchqueryvoucherResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryvoucherCall(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
merchantId - 商户 PID,默认为当前接口调用商户。 (optional)userId - 支付宝user_id账号 (optional)openId - 领券的支付宝用户openId (optional)activityId - 活动id (optional)voucherId - 用户券 id。支付宝为用户优惠券唯一分配的 id。 (optional)voucherCode - 用户领取的商家券券码。 (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 AlipayMarketingActivityUserQueryvoucherResponseModel queryvoucher(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode) throws ApiException
merchantId - 商户 PID,默认为当前接口调用商户。 (optional)userId - 支付宝user_id账号 (optional)openId - 领券的支付宝用户openId (optional)activityId - 活动id (optional)voucherId - 用户券 id。支付宝为用户优惠券唯一分配的 id。 (optional)voucherCode - 用户领取的商家券券码。 (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 AlipayMarketingActivityUserQueryvoucherResponseModel queryvoucher(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingActivityUserQueryvoucherResponseModel> queryvoucherWithHttpInfo(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode, CustomizedParams customizedParams) throws ApiException
merchantId - 商户 PID,默认为当前接口调用商户。 (optional)userId - 支付宝user_id账号 (optional)openId - 领券的支付宝用户openId (optional)activityId - 活动id (optional)voucherId - 用户券 id。支付宝为用户优惠券唯一分配的 id。 (optional)voucherCode - 用户领取的商家券券码。 (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 queryvoucherAsync(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode, ApiCallback<AlipayMarketingActivityUserQueryvoucherResponseModel> _callback) throws ApiException
merchantId - 商户 PID,默认为当前接口调用商户。 (optional)userId - 支付宝user_id账号 (optional)openId - 领券的支付宝用户openId (optional)activityId - 活动id (optional)voucherId - 用户券 id。支付宝为用户优惠券唯一分配的 id。 (optional)voucherCode - 用户领取的商家券券码。 (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 queryvoucherAsync(String merchantId, String userId, String openId, String activityId, String voucherId, String voucherCode, String merchantAccessMode, ApiCallback<AlipayMarketingActivityUserQueryvoucherResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.