content: package com.adyen.model.nexo;
  
  import io.swagger.v3.oas.annotations.media.Schema;
  import java.util.ArrayList;
  import java.util.List;
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlType;
  
  /**
   * Definition: Content of the Batch Response messageType. -- Usage: It conveys either the response
   * of transactions to perform sent in the batch request, or a collection of results of performed
   * Payment, Loyalty and Reversal transactions in a batch messageType or file.
   *
   * <p>Java class for BatchResponse complex type.
   *
   * <p>The following schema fragment specifies the expected content contained within this class.
   *
   * <pre>
   * &lt;complexType name="BatchResponse"&gt;
   *   &lt;complexContent&gt;
   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
   *       &lt;sequence&gt;
   *         &lt;element name="Response" type="{}Response"/&gt;
   *         &lt;element name="PerformedTransaction" type="{}PerformedTransaction" maxOccurs="unbounded" minOccurs="0"/&gt;
   *       &lt;/sequence&gt;
   *     &lt;/restriction&gt;
   *   &lt;/complexContent&gt;
   * &lt;/complexType&gt;
   * </pre>
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(
      name = "BatchResponse",
      propOrder = {"response", "performedTransaction"})
  public class BatchResponse {
  
    /** The Response. */
    @XmlElement(name = "Response", required = true)
    @Schema(description = "Result of a message request processing.")
    protected Response response;
  
    /** The Performed transaction. */
    @XmlElement(name = "PerformedTransaction")
    @Schema(description = "Result of performed transactions.")
    protected List<PerformedTransaction> performedTransaction;
  
    /**
     * Gets the value of the response property.
     *
     * @return possible object is {@link Response }
     */
    public Response getResponse() {
      return response;
    }
  
    /**
     * Sets the value of the response property.
     *
     * @param value allowed object is {@link Response }
     */
    public void setResponse(Response value) {
      this.response = value;
    }
  
    /**
     * Gets the value of the performedTransaction property.
     *
     * <p>
     *
     * <p>This accessor method returns a reference to the live list, not a snapshot. Therefore any
     * modification you make to the returned list will be present inside the JAXB object. This is why
     * there is not a <CODE>set</CODE> method for the performedTransaction property.
     *
     * <p>
     *
     * <p>For example, to add a new item, do as follows:
     *
     * <pre>
     *    getPerformedTransaction().add(newItem);
     * </pre>
     *
     * <p>
     *
     * <p>
     *
     * <p>Objects of the following type(s) are allowed in the list {@link PerformedTransaction }
     *
     * @return the performed transaction
     */
    public List<PerformedTransaction> getPerformedTransaction() {
      if (performedTransaction == null) {
        performedTransaction = new ArrayList<>();
      }
      return this.performedTransaction;
    }
  }
  