com.adyen.model.nexo.DisplayResponse Maven / Gradle / Ivy
package com.adyen.model.nexo;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Content of the Display Response messageType. -- Usage: It conveys the result of the display, parallel to the messageType request, except if response not required and absent.
*
* Java class for DisplayResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DisplayResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OutputResult" type="{}OutputResult" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DisplayResponse", propOrder = {
"outputResult"
})
public class DisplayResponse {
/**
* The Output result.
*/
@XmlElement(name = "OutputResult", required = true)
@Schema(description = "Information related to the result the output (display, print, input). --Rule: One per DisplayOutput item of the request, and in the same order.")
protected List outputResult;
/**
* Gets the value of the outputResult property.
*
*
* 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 set
method for the outputResult property.
*
*
* For example, to add a new item, do as follows:
*
* getOutputResult().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OutputResult }
*
* @return the output result
*/
public List getOutputResult() {
if (outputResult == null) {
outputResult = new ArrayList<>();
}
return this.outputResult;
}
}