public class AlipayFundAccountApi extends Object
| 构造器和说明 |
|---|
AlipayFundAccountApi() |
AlipayFundAccountApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayFundAccountQueryResponseModel |
query(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo)
支付宝资金账户资产查询接口
可查询请求方的支付宝账户余额信息。
|
AlipayFundAccountQueryResponseModel |
query(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo,
ApiCallback<AlipayFundAccountQueryResponseModel> _callback)
支付宝资金账户资产查询接口 (asynchronously)
可查询请求方的支付宝账户余额信息。
|
okhttp3.Call |
queryAsync(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo,
ApiCallback<AlipayFundAccountQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayFundAccountQueryResponseModel> |
queryWithHttpInfo(String merchantUserId,
String alipayUserId,
String alipayOpenId,
String accountProductCode,
String accountType,
String accountSceneCode,
String extInfo,
CustomizedParams customizedParams)
支付宝资金账户资产查询接口
可查询请求方的支付宝账户余额信息。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayFundAccountApi()
public AlipayFundAccountApi(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 merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
merchantUserId - 商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。 (optional)alipayUserId - 支付宝会员 id。 (optional)alipayOpenId - 支付宝openId (optional)accountProductCode - 开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。 (optional)accountType - 查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。 (optional)accountSceneCode - 开户场景码,与开户产品码不可同时传递。 (optional)extInfo - JSON格式,传递业务扩展参数。 (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 AlipayFundAccountQueryResponseModel query(String merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo) throws ApiException
merchantUserId - 商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。 (optional)alipayUserId - 支付宝会员 id。 (optional)alipayOpenId - 支付宝openId (optional)accountProductCode - 开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。 (optional)accountType - 查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。 (optional)accountSceneCode - 开户场景码,与开户产品码不可同时传递。 (optional)extInfo - JSON格式,传递业务扩展参数。 (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 AlipayFundAccountQueryResponseModel query(String merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayFundAccountQueryResponseModel> queryWithHttpInfo(String merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo, CustomizedParams customizedParams) throws ApiException
merchantUserId - 商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。 (optional)alipayUserId - 支付宝会员 id。 (optional)alipayOpenId - 支付宝openId (optional)accountProductCode - 开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。 (optional)accountType - 查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。 (optional)accountSceneCode - 开户场景码,与开户产品码不可同时传递。 (optional)extInfo - JSON格式,传递业务扩展参数。 (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 merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo, ApiCallback<AlipayFundAccountQueryResponseModel> _callback) throws ApiException
merchantUserId - 商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。 (optional)alipayUserId - 支付宝会员 id。 (optional)alipayOpenId - 支付宝openId (optional)accountProductCode - 开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。 (optional)accountType - 查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。 (optional)accountSceneCode - 开户场景码,与开户产品码不可同时传递。 (optional)extInfo - JSON格式,传递业务扩展参数。 (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 merchantUserId, String alipayUserId, String alipayOpenId, String accountProductCode, String accountType, String accountSceneCode, String extInfo, ApiCallback<AlipayFundAccountQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.