All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.AlipayParser Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.alipay.api;

/**
 * 响应解释器接口。响应格式可以是JSON, XML等等。
 * 
 * @author carver.gu
 * @since 1.0, Apr 11, 2010
 */
public interface AlipayParser {

    T parse(
            String rsp) throws AlipayApiException;

    Class getResponseClass() throws AlipayApiException;

    SignItem getSignItem(
            AlipayRequest request,
            String responseBody) throws AlipayApiException;

    String encryptSourceData(
            AlipayRequest request,
            String body,
            String format,
            String encryptType,
            String encryptKey,
            String charset) throws AlipayApiException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy