
com.alipay.api.AlipayClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk Show documentation
Show all versions of alipay-sdk Show documentation
baidu push client api with maven
The newest version!
/**
* Alipay.com Inc.
* Copyright (c) 2004-2012 All Rights Reserved.
*/
package com.alipay.api;
import java.util.Map;
/**
*
* @author runzhi
*/
public interface AlipayClient {
/**
*
*
* @param
* @param request
* @return
* @throws AlipayApiException
*/
public T execute(AlipayRequest request) throws AlipayApiException;
/**
*
*
* @param
* @param request
* @param authToken
* @return
* @throws AlipayApiException
*/
public T execute(AlipayRequest request,
String authToken) throws AlipayApiException;
/**
*
*
* @param request
* @param accessToken
* @param appAuthToken
* @return
* @throws AlipayApiException
*/
public T execute(AlipayRequest request, String accessToken,
String appAuthToken) throws AlipayApiException;
/**
*
* @param
* @param request
* @return
* @throws AlipayApiException
*/
public T pageExecute(AlipayRequest request) throws AlipayApiException;
/**
* SDK客户端调用生成sdk字符串
* @param
* @param request
* @return
* @throws AlipayApiException
*/
public T sdkExecute(AlipayRequest request) throws AlipayApiException;
/**
*
* @param request
* @return
* @throws AlipayApiException
*/
public T pageExecute(AlipayRequest request,
String method) throws AlipayApiException;
/**
* 移动客户端同步结果返回解析的参考工具方法
*
* @param result 移动客户端SDK同步返回的结果map,一般包含resultStatus,result和memo三个key
* @param requsetClazz 接口请求request类,如App支付传入 AlipayTradeAppPayRequest.class
* @return 同步返回结果的response对象
* @throws AlipayApiException
*/
public > TR parseAppSyncResult(Map result,
Class requsetClazz) throws AlipayApiException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy