public class AlipayMarketingCardActivateformApi extends Object
| 构造器和说明 |
|---|
AlipayMarketingCardActivateformApi() |
AlipayMarketingCardActivateformApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayMarketingCardActivateformQueryResponseModel |
query(String authToken,
String bizType,
String templateId,
String requestId)
查询用户提交的会员卡表单信息
会员卡开卡场景下,用户确认领卡后,跳转到商户开卡处理页面,商户通过该接口查询用户表单信息。
|
AlipayMarketingCardActivateformQueryResponseModel |
query(String authToken,
String bizType,
String templateId,
String requestId,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String authToken,
String bizType,
String templateId,
String requestId,
ApiCallback<AlipayMarketingCardActivateformQueryResponseModel> _callback)
查询用户提交的会员卡表单信息 (asynchronously)
会员卡开卡场景下,用户确认领卡后,跳转到商户开卡处理页面,商户通过该接口查询用户表单信息。
|
okhttp3.Call |
queryAsync(String authToken,
String bizType,
String templateId,
String requestId,
ApiCallback<AlipayMarketingCardActivateformQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String authToken,
String bizType,
String templateId,
String requestId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayMarketingCardActivateformQueryResponseModel> |
queryWithHttpInfo(String authToken,
String bizType,
String templateId,
String requestId,
CustomizedParams customizedParams)
查询用户提交的会员卡表单信息
会员卡开卡场景下,用户确认领卡后,跳转到商户开卡处理页面,商户通过该接口查询用户表单信息。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayMarketingCardActivateformApi()
public AlipayMarketingCardActivateformApi(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 queryCall(String authToken, String bizType, String templateId, String requestId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)bizType - 开放表单信息查询业务类型 (optional)templateId - 会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果 (optional)requestId - 查询用户表单提交信息的请求id。 网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。 注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。 (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 AlipayMarketingCardActivateformQueryResponseModel query(String authToken, String bizType, String templateId, String requestId) throws ApiException
authToken - 用户授权令牌 (optional)bizType - 开放表单信息查询业务类型 (optional)templateId - 会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果 (optional)requestId - 查询用户表单提交信息的请求id。 网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。 注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。 (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 AlipayMarketingCardActivateformQueryResponseModel query(String authToken, String bizType, String templateId, String requestId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayMarketingCardActivateformQueryResponseModel> queryWithHttpInfo(String authToken, String bizType, String templateId, String requestId, CustomizedParams customizedParams) throws ApiException
authToken - 用户授权令牌 (optional)bizType - 开放表单信息查询业务类型 (optional)templateId - 会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果 (optional)requestId - 查询用户表单提交信息的请求id。 网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。 注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。 (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 authToken, String bizType, String templateId, String requestId, ApiCallback<AlipayMarketingCardActivateformQueryResponseModel> _callback) throws ApiException
authToken - 用户授权令牌 (optional)bizType - 开放表单信息查询业务类型 (optional)templateId - 会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果 (optional)requestId - 查询用户表单提交信息的请求id。 网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。 注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。 (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 authToken, String bizType, String templateId, String requestId, ApiCallback<AlipayMarketingCardActivateformQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.