public class AlipayUserAgreementApi extends Object
| 构造器和说明 |
|---|
AlipayUserAgreementApi() |
AlipayUserAgreementApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
Object |
migrate(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel)
代扣协议迁移
由商户调用,将商户与用户签署的代扣协议内容进行迁移,包括协议主体迁移等
|
Object |
migrate(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel,
CustomizedParams customizedParams) |
okhttp3.Call |
migrateAsync(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel,
ApiCallback<Object> _callback)
代扣协议迁移 (asynchronously)
由商户调用,将商户与用户签署的代扣协议内容进行迁移,包括协议主体迁移等
|
okhttp3.Call |
migrateAsync(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
migrateCall(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for migrate
|
ApiResponse<Object> |
migrateWithHttpInfo(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel,
CustomizedParams customizedParams)
代扣协议迁移
由商户调用,将商户与用户签署的代扣协议内容进行迁移,包括协议主体迁移等
|
AlipayUserAgreementQueryResponseModel |
query(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo)
支付宝个人代扣协议查询接口
支付宝个人代扣协议查询接口
|
AlipayUserAgreementQueryResponseModel |
query(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo,
ApiCallback<AlipayUserAgreementQueryResponseModel> _callback)
支付宝个人代扣协议查询接口 (asynchronously)
支付宝个人代扣协议查询接口
|
okhttp3.Call |
queryAsync(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo,
ApiCallback<AlipayUserAgreementQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayUserAgreementQueryResponseModel> |
queryWithHttpInfo(String personalProductCode,
String alipayUserId,
String alipayOpenId,
String alipayLogonId,
String signScene,
String externalAgreementNo,
String thirdPartyType,
String agreementNo,
CustomizedParams customizedParams)
支付宝个人代扣协议查询接口
支付宝个人代扣协议查询接口
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
AlipayUserAgreementTransferResponseModel |
transfer(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel)
协议由普通通用代扣协议产品转移到周期扣协议产品
由商户调用,将商户之前通用代扣产品转移到周期扣的协议产品
|
AlipayUserAgreementTransferResponseModel |
transfer(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel,
CustomizedParams customizedParams) |
okhttp3.Call |
transferAsync(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel,
ApiCallback<AlipayUserAgreementTransferResponseModel> _callback)
协议由普通通用代扣协议产品转移到周期扣协议产品 (asynchronously)
由商户调用,将商户之前通用代扣产品转移到周期扣的协议产品
|
okhttp3.Call |
transferAsync(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel,
ApiCallback<AlipayUserAgreementTransferResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
transferCall(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for transfer
|
ApiResponse<AlipayUserAgreementTransferResponseModel> |
transferWithHttpInfo(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel,
CustomizedParams customizedParams)
协议由普通通用代扣协议产品转移到周期扣协议产品
由商户调用,将商户之前通用代扣产品转移到周期扣的协议产品
|
Object |
unsign(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel)
支付宝个人代扣协议解约接口
支付宝个人代扣协议解约接口
|
Object |
unsign(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel,
CustomizedParams customizedParams) |
okhttp3.Call |
unsignAsync(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel,
ApiCallback<Object> _callback)
支付宝个人代扣协议解约接口 (asynchronously)
支付宝个人代扣协议解约接口
|
okhttp3.Call |
unsignAsync(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel,
ApiCallback<Object> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
unsignCall(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for unsign
|
ApiResponse<Object> |
unsignWithHttpInfo(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel,
CustomizedParams customizedParams)
支付宝个人代扣协议解约接口
支付宝个人代扣协议解约接口
|
public AlipayUserAgreementApi()
public AlipayUserAgreementApi(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 migrateCall(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementMigrateModel - (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 migrate(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel) throws ApiException
alipayUserAgreementMigrateModel - (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 migrate(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> migrateWithHttpInfo(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementMigrateModel - (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 migrateAsync(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel, ApiCallback<Object> _callback) throws ApiException
alipayUserAgreementMigrateModel - (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 migrateAsync(AlipayUserAgreementMigrateModel alipayUserAgreementMigrateModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call queryCall(String personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
personalProductCode - 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。 (optional)alipayUserId - 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayOpenId - 用户的支付宝账号对应 的支付宝唯一用户号, 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayLogonId - 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 (optional)signScene - 签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。 (optional)externalAgreementNo - 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。 格式规则:支持大写小写字母和数字,最长 32 位。 (optional)thirdPartyType - 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 默认为PARTNER。 (optional)agreementNo - 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略 (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 AlipayUserAgreementQueryResponseModel query(String personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo) throws ApiException
personalProductCode - 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。 (optional)alipayUserId - 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayOpenId - 用户的支付宝账号对应 的支付宝唯一用户号, 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayLogonId - 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 (optional)signScene - 签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。 (optional)externalAgreementNo - 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。 格式规则:支持大写小写字母和数字,最长 32 位。 (optional)thirdPartyType - 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 默认为PARTNER。 (optional)agreementNo - 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略 (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 AlipayUserAgreementQueryResponseModel query(String personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayUserAgreementQueryResponseModel> queryWithHttpInfo(String personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo, CustomizedParams customizedParams) throws ApiException
personalProductCode - 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。 (optional)alipayUserId - 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayOpenId - 用户的支付宝账号对应 的支付宝唯一用户号, 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayLogonId - 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 (optional)signScene - 签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。 (optional)externalAgreementNo - 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。 格式规则:支持大写小写字母和数字,最长 32 位。 (optional)thirdPartyType - 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 默认为PARTNER。 (optional)agreementNo - 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略 (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 personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo, ApiCallback<AlipayUserAgreementQueryResponseModel> _callback) throws ApiException
personalProductCode - 协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。 (optional)alipayUserId - 用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayOpenId - 用户的支付宝账号对应 的支付宝唯一用户号, 本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。 (optional)alipayLogonId - 用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 (optional)signScene - 签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。 (optional)externalAgreementNo - 代扣协议中标示用户的唯一签约号(确保在商户系统中 唯一)。 格式规则:支持大写小写字母和数字,最长 32 位。 (optional)thirdPartyType - 签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。 默认为PARTNER。 (optional)agreementNo - 支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略 (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 personalProductCode, String alipayUserId, String alipayOpenId, String alipayLogonId, String signScene, String externalAgreementNo, String thirdPartyType, String agreementNo, ApiCallback<AlipayUserAgreementQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call transferCall(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementTransferModel - (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 AlipayUserAgreementTransferResponseModel transfer(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel) throws ApiException
alipayUserAgreementTransferModel - (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 AlipayUserAgreementTransferResponseModel transfer(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayUserAgreementTransferResponseModel> transferWithHttpInfo(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementTransferModel - (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 transferAsync(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel, ApiCallback<AlipayUserAgreementTransferResponseModel> _callback) throws ApiException
alipayUserAgreementTransferModel - (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 transferAsync(AlipayUserAgreementTransferModel alipayUserAgreementTransferModel, ApiCallback<AlipayUserAgreementTransferResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic okhttp3.Call unsignCall(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementUnsignModel - (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 unsign(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel) throws ApiException
alipayUserAgreementUnsignModel - (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 unsign(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<Object> unsignWithHttpInfo(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel, CustomizedParams customizedParams) throws ApiException
alipayUserAgreementUnsignModel - (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 unsignAsync(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel, ApiCallback<Object> _callback) throws ApiException
alipayUserAgreementUnsignModel - (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 unsignAsync(AlipayUserAgreementUnsignModel alipayUserAgreementUnsignModel, ApiCallback<Object> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.