public class AlipayOpenPublicAccountApi extends Object
| 构造器和说明 |
|---|
AlipayOpenPublicAccountApi() |
AlipayOpenPublicAccountApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayOpenPublicAccountCreateResponseModel |
create(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel)
添加绑定商户会员号
当用户成为商户的关注用户后,可以在商户的服务窗中点击“添加绑定商户会员号”功能,支付宝系统收到操作请求后将该动作通知给商户(使用用户发送信息到商户接口,其中eventType(事件类型)为click,actionParam(按钮标识)为authentication),商户根据此通知调用商户回复消息接口(其中须包含Url链接地址),支付宝收到商户的回复消息中的链接地址后,自动跳转至商户平台的上商户会员绑定界面中,让用户完成账户绑定。
|
AlipayOpenPublicAccountCreateResponseModel |
create(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel,
CustomizedParams customizedParams) |
okhttp3.Call |
createAsync(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel,
ApiCallback<AlipayOpenPublicAccountCreateResponseModel> _callback)
添加绑定商户会员号 (asynchronously)
当用户成为商户的关注用户后,可以在商户的服务窗中点击“添加绑定商户会员号”功能,支付宝系统收到操作请求后将该动作通知给商户(使用用户发送信息到商户接口,其中eventType(事件类型)为click,actionParam(按钮标识)为authentication),商户根据此通知调用商户回复消息接口(其中须包含Url链接地址),支付宝收到商户的回复消息中的链接地址后,自动跳转至商户平台的上商户会员绑定界面中,让用户完成账户绑定。
|
okhttp3.Call |
createAsync(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel,
ApiCallback<AlipayOpenPublicAccountCreateResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
createCall(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for create
|
ApiResponse<AlipayOpenPublicAccountCreateResponseModel> |
createWithHttpInfo(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel,
CustomizedParams customizedParams)
添加绑定商户会员号
当用户成为商户的关注用户后,可以在商户的服务窗中点击“添加绑定商户会员号”功能,支付宝系统收到操作请求后将该动作通知给商户(使用用户发送信息到商户接口,其中eventType(事件类型)为click,actionParam(按钮标识)为authentication),商户根据此通知调用商户回复消息接口(其中须包含Url链接地址),支付宝收到商户的回复消息中的链接地址后,自动跳转至商户平台的上商户会员绑定界面中,让用户完成账户绑定。
|
Object |
delete(String agreementId,
String bindAccountNo,
String fromUserId,
String openId)
解除绑定商户会员号
在支付宝服务窗中目前一共有三种解除绑定商户会员号的场景,具体如下: 用户取消关注服务窗 用户在服务窗内手动执行解除绑定操作 开发者调用解除绑定商户会员号接口解除绑定
|
Object |
delete(String agreementId,
String bindAccountNo,
String fromUserId,
String openId,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteAsync(String agreementId,
String bindAccountNo,
String fromUserId,
String openId,
ApiCallback<Object> _callback)
解除绑定商户会员号 (asynchronously)
在支付宝服务窗中目前一共有三种解除绑定商户会员号的场景,具体如下: 用户取消关注服务窗 用户在服务窗内手动执行解除绑定操作 开发者调用解除绑定商户会员号接口解除绑定
|
okhttp3.Call |
deleteAsync(String agreementId,
String bindAccountNo,
String fromUserId,
String openId,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
deleteCall(String agreementId,
String bindAccountNo,
String fromUserId,
String openId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for delete
|
ApiResponse<Object> |
deleteWithHttpInfo(String agreementId,
String bindAccountNo,
String fromUserId,
String openId,
CustomizedParams customizedParams)
解除绑定商户会员号
在支付宝服务窗中目前一共有三种解除绑定商户会员号的场景,具体如下: 用户取消关注服务窗 用户在服务窗内手动执行解除绑定操作 开发者调用解除绑定商户会员号接口解除绑定
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayOpenPublicAccountQueryResponseModel |
query(String userId,
String openId)
查询绑定商户会员号
当用户成为商户的关注用户之后,则商户可以通过本接口查询关注者的绑定账户,以便补全异常情况下的单边账户数据。
|
AlipayOpenPublicAccountQueryResponseModel |
query(String userId,
String openId,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String userId,
String openId,
ApiCallback<AlipayOpenPublicAccountQueryResponseModel> _callback)
查询绑定商户会员号 (asynchronously)
当用户成为商户的关注用户之后,则商户可以通过本接口查询关注者的绑定账户,以便补全异常情况下的单边账户数据。
|
okhttp3.Call |
queryAsync(String userId,
String openId,
ApiCallback<AlipayOpenPublicAccountQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String userId,
String openId,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayOpenPublicAccountQueryResponseModel> |
queryWithHttpInfo(String userId,
String openId,
CustomizedParams customizedParams)
查询绑定商户会员号
当用户成为商户的关注用户之后,则商户可以通过本接口查询关注者的绑定账户,以便补全异常情况下的单边账户数据。
|
AlipayOpenPublicAccountResetResponseModel |
reset(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel)
重新设置绑定商家会员号
如果商户想要重置已经添加的外部账户,可以通过该接口完成。
|
AlipayOpenPublicAccountResetResponseModel |
reset(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel,
CustomizedParams customizedParams) |
okhttp3.Call |
resetAsync(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel,
ApiCallback<AlipayOpenPublicAccountResetResponseModel> _callback)
重新设置绑定商家会员号 (asynchronously)
如果商户想要重置已经添加的外部账户,可以通过该接口完成。
|
okhttp3.Call |
resetAsync(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel,
ApiCallback<AlipayOpenPublicAccountResetResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
resetCall(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for reset
|
ApiResponse<AlipayOpenPublicAccountResetResponseModel> |
resetWithHttpInfo(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel,
CustomizedParams customizedParams)
重新设置绑定商家会员号
如果商户想要重置已经添加的外部账户,可以通过该接口完成。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenPublicAccountApi()
public AlipayOpenPublicAccountApi(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(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAccountCreateModel - (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 AlipayOpenPublicAccountCreateResponseModel create(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel) throws ApiException
alipayOpenPublicAccountCreateModel - (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 AlipayOpenPublicAccountCreateResponseModel create(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicAccountCreateResponseModel> createWithHttpInfo(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAccountCreateModel - (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(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel, ApiCallback<AlipayOpenPublicAccountCreateResponseModel> _callback) throws ApiException
alipayOpenPublicAccountCreateModel - (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(AlipayOpenPublicAccountCreateModel alipayOpenPublicAccountCreateModel, ApiCallback<AlipayOpenPublicAccountCreateResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call deleteCall(String agreementId, String bindAccountNo, String fromUserId, String openId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
agreementId - 协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空 (optional)bindAccountNo - 绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空 (optional)fromUserId - 绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空 (optional)openId - 支付宝用户的唯一标识 (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 Object delete(String agreementId, String bindAccountNo, String fromUserId, String openId) throws ApiException
agreementId - 协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空 (optional)bindAccountNo - 绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空 (optional)fromUserId - 绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空 (optional)openId - 支付宝用户的唯一标识 (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 Object delete(String agreementId, String bindAccountNo, String fromUserId, String openId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> deleteWithHttpInfo(String agreementId, String bindAccountNo, String fromUserId, String openId, CustomizedParams customizedParams) throws ApiException
agreementId - 协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空 (optional)bindAccountNo - 绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空 (optional)fromUserId - 绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空 (optional)openId - 支付宝用户的唯一标识 (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 agreementId, String bindAccountNo, String fromUserId, String openId, ApiCallback<Object> _callback) throws ApiException
agreementId - 协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空 (optional)bindAccountNo - 绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空 (optional)fromUserId - 绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空 (optional)openId - 支付宝用户的唯一标识 (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 agreementId, String bindAccountNo, String fromUserId, String openId, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(String userId, String openId, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
userId - 用户的支付宝用户号,2088开头。 (optional)openId - 支付宝用户的唯一标识 (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 AlipayOpenPublicAccountQueryResponseModel query(String userId, String openId) throws ApiException
userId - 用户的支付宝用户号,2088开头。 (optional)openId - 支付宝用户的唯一标识 (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 AlipayOpenPublicAccountQueryResponseModel query(String userId, String openId, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicAccountQueryResponseModel> queryWithHttpInfo(String userId, String openId, CustomizedParams customizedParams) throws ApiException
userId - 用户的支付宝用户号,2088开头。 (optional)openId - 支付宝用户的唯一标识 (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 userId, String openId, ApiCallback<AlipayOpenPublicAccountQueryResponseModel> _callback) throws ApiException
userId - 用户的支付宝用户号,2088开头。 (optional)openId - 支付宝用户的唯一标识 (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 userId, String openId, ApiCallback<AlipayOpenPublicAccountQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call resetCall(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAccountResetModel - (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 AlipayOpenPublicAccountResetResponseModel reset(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel) throws ApiException
alipayOpenPublicAccountResetModel - (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 AlipayOpenPublicAccountResetResponseModel reset(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenPublicAccountResetResponseModel> resetWithHttpInfo(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel, CustomizedParams customizedParams) throws ApiException
alipayOpenPublicAccountResetModel - (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 resetAsync(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel, ApiCallback<AlipayOpenPublicAccountResetResponseModel> _callback) throws ApiException
alipayOpenPublicAccountResetModel - (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 resetAsync(AlipayOpenPublicAccountResetModel alipayOpenPublicAccountResetModel, ApiCallback<AlipayOpenPublicAccountResetResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.