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

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

/**
 * Alipay.com Inc. Copyright (c) 2004-2018 All Rights Reserved.
 */
package com.alipay.api;

import com.alipay.api.internal.mapping.ApiField;

import java.util.ArrayList;
import java.util.List;

/**
 * @author gongyi.tnj
 * @version $Id: BatchAlipayResponse.java, v 0.1 2018-07-18 上午10:29 gongyi.tnj Exp $
 */
public class BatchAlipayResponse extends AlipayResponse {

    private static final long serialVersionUID = -4636364816621782447L;

    /**
     * 批量调用接口集合
     **/
    private List responseList;

    @ApiField("response_body")
    private String responseBody;

    public void addResponse(AlipayResponse response) {
        if (null == responseList) {
            responseList = new ArrayList();
        }
        responseList.add(response);
    }

    /**
     * 获取批量调用子请求响应列表
     *
     * @return
     */
    public List getResponseList() {
        return responseList;
    }

    /**
     * Getter method for property responseBody.
     *
     * @return property value of responseBody
     */
    public String getResponseBody() {
        return responseBody;
    }

    /**
     * Setter method for property responseBody .
     *
     * @param responseBody value to be assigned to property responseBody
     */
    public void setResponseBody(String responseBody) {
        this.responseBody = responseBody;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy