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
alipay-sdk project for Spring Project
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 {
public T execute(AlipayRequest request) throws AlipayApiException;
public T execute(AlipayRequest request,
String authToken) throws AlipayApiException;
public T execute(AlipayRequest request, String accessToken,
String appAuthToken) throws AlipayApiException;
public T pageExecute(AlipayRequest request) throws AlipayApiException;
/**
* SDK客户端调用生成sdk字符串
* @param 泛型
* @param request 请求参数
* @return 请求结果
* @throws AlipayApiException 支付异常
*/
public T sdkExecute(AlipayRequest request) 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