public class AlipayOpenAuthTokenAppApi extends Object
| 构造器和说明 |
|---|
AlipayOpenAuthTokenAppApi() |
AlipayOpenAuthTokenAppApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayOpenAuthTokenAppQueryResponseModel |
query(String appAuthToken)
查询某个应用授权AppAuthToken的授权信息
当商户把服务窗、店铺等接口的权限授权给ISV之后,支付宝会给ISV颁发一个app_auth_token。
|
AlipayOpenAuthTokenAppQueryResponseModel |
query(String appAuthToken,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String appAuthToken,
ApiCallback<AlipayOpenAuthTokenAppQueryResponseModel> _callback)
查询某个应用授权AppAuthToken的授权信息 (asynchronously)
当商户把服务窗、店铺等接口的权限授权给ISV之后,支付宝会给ISV颁发一个app_auth_token。
|
okhttp3.Call |
queryAsync(String appAuthToken,
ApiCallback<AlipayOpenAuthTokenAppQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String appAuthToken,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayOpenAuthTokenAppQueryResponseModel> |
queryWithHttpInfo(String appAuthToken,
CustomizedParams customizedParams)
查询某个应用授权AppAuthToken的授权信息
当商户把服务窗、店铺等接口的权限授权给ISV之后,支付宝会给ISV颁发一个app_auth_token。
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayOpenAuthTokenAppApi()
public AlipayOpenAuthTokenAppApi(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 appAuthToken, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
appAuthToken - 应用授权令牌 (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 AlipayOpenAuthTokenAppQueryResponseModel query(String appAuthToken) throws ApiException
appAuthToken - 应用授权令牌 (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 AlipayOpenAuthTokenAppQueryResponseModel query(String appAuthToken, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayOpenAuthTokenAppQueryResponseModel> queryWithHttpInfo(String appAuthToken, CustomizedParams customizedParams) throws ApiException
appAuthToken - 应用授权令牌 (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 appAuthToken, ApiCallback<AlipayOpenAuthTokenAppQueryResponseModel> _callback) throws ApiException
appAuthToken - 应用授权令牌 (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 appAuthToken, ApiCallback<AlipayOpenAuthTokenAppQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.