public interface AlipayClient
Modifier and Type | Method and Description |
---|---|
<T extends AlipayResponse> |
execute(AlipayRequest<T> request)
Execute t.
|
<T extends AlipayResponse> |
execute(AlipayRequest<T> request,
String authToken)
Execute t.
|
<T extends AlipayResponse> |
execute(AlipayRequest<T> request,
String accessToken,
String appAuthToken)
Execute t.
|
<T extends AlipayResponse> |
pageExecute(AlipayRequest<T> request)
Page execute t.
|
<T extends AlipayResponse> |
pageExecute(AlipayRequest<T> request,
String method)
Page execute t.
|
<TR extends AlipayResponse,T extends AlipayRequest<TR>> |
parseAppSyncResult(Map<String,String> result,
Class<T> requsetClazz)
移动客户端同步结果返回解析的参考工具方法
|
<T extends AlipayResponse> |
sdkExecute(AlipayRequest<T> request)
SDK客户端调用生成sdk字符串
|
<T extends AlipayResponse> T execute(AlipayRequest<T> request) throws AlipayApiException
T
- the type parameterrequest
- the requestAlipayApiException
- the alipay api exception<T extends AlipayResponse> T execute(AlipayRequest<T> request, String authToken) throws AlipayApiException
T
- the type parameterrequest
- the requestauthToken
- the auth tokenAlipayApiException
- the alipay api exception<T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken, String appAuthToken) throws AlipayApiException
T
- the type parameterrequest
- the requestaccessToken
- the access tokenappAuthToken
- the app auth tokenAlipayApiException
- the alipay api exception<T extends AlipayResponse> T pageExecute(AlipayRequest<T> request) throws AlipayApiException
T
- the type parameterrequest
- the requestAlipayApiException
- the alipay api exception<T extends AlipayResponse> T sdkExecute(AlipayRequest<T> request) throws AlipayApiException
T
- the type parameterrequest
- the requestAlipayApiException
- the alipay api exception<T extends AlipayResponse> T pageExecute(AlipayRequest<T> request, String method) throws AlipayApiException
T
- the type parameterrequest
- the requestmethod
- the methodAlipayApiException
- the alipay api exception<TR extends AlipayResponse,T extends AlipayRequest<TR>> TR parseAppSyncResult(Map<String,String> result, Class<T> requsetClazz) throws AlipayApiException
TR
- the type parameterT
- the type parameterresult
- 移动客户端SDK同步返回的结果map,一般包含resultStatus,result和memo三个keyrequsetClazz
- 接口请求request类,如App支付传入 AlipayTradeAppPayRequest.classAlipayApiException
- the alipay api exceptionCopyright © 2018. All rights reserved.