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

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

Go to download

Alipay openapi SDK for Java Copyright © 2018 杭州蚂蚁金服 All rights reserved. 版权所有 (C)杭州蚂蚁金服 http://open.alipay.com

There is a newer version: 4.40.21.ALL
Show newest version
/**
 * Alipay.com Inc. Copyright (c) 2004-2018 All Rights Reserved.
 */
package com.alipay.api;

/**
 * AlipayReqeust的封装实现,仅用于批量调用
 *
 * @author gongyi.tnj
 * @version $Id: AlipayRequestWrapper.java, v 0.1 2018-07-18 上午10:32 gongyi.tnj Exp $
 */
public class AlipayRequestWrapper {

    /**
     * 业务API
     **/
    private AlipayRequest alipayRequest;

    /**
     * 用户授权令牌
     **/
    private String accessToken;

    /**
     * 应用授权令牌
     **/
    private String appAuthToken;

    /**
     * SPI接口路由参数
     */
    private String targetAppId;

    public AlipayRequestWrapper(AlipayRequest alipayRequest, String accessToken, String appAuthToken, String targetAppId) {
        this.alipayRequest = alipayRequest;
        this.accessToken = accessToken;
        this.appAuthToken = appAuthToken;
        this.targetAppId = targetAppId;
    }

    public AlipayRequest getAlipayRequest() {
        return alipayRequest;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public String getAppAuthToken() {
        return appAuthToken;
    }

    public String getTargetAppId() {
        return targetAppId;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy