com.adyen.model.nexo.DisplayOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
package com.adyen.model.nexo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Information to display and the way to process the display. -- Usage: It contains a complete display operation for a Display or an Input Device type. For the Input Devices, Diagnosis and EnableService, ResponseRequiredFlag and MinimumDisplayTime shall be absent.
*
* Java class for DisplayOutput complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DisplayOutput">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OutputContent" type="{}OutputContent"/>
* <element name="MenuEntry" type="{}MenuEntry" maxOccurs="unbounded" minOccurs="0"/>
* <element name="OutputSignature" type="{}OutputSignature" minOccurs="0"/>
* </sequence>
* <attribute name="ResponseRequiredFlag" type="{}ResponseRequiredFlag" default="true" />
* <attribute name="MinimumDisplayTime" type="{}MinimumDisplayTime" default="0" />
* <attribute name="Device" use="required" type="{}DeviceType" />
* <attribute name="InfoQualify" use="required" type="{}InfoQualifyType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DisplayOutput", propOrder = {
"outputContent",
"menuEntry",
"outputSignature"
})
public class DisplayOutput {
/**
* The Output content.
*/
@XmlElement(name = "OutputContent", required = true)
protected OutputContent outputContent;
/**
* The Menu entry.
*/
@XmlElement(name = "MenuEntry")
protected List menuEntry;
/**
* The Output signature.
*/
@XmlElement(name = "OutputSignature")
protected byte[] outputSignature;
/**
* The Response required flag.
*/
@XmlAttribute(name = "ResponseRequiredFlag")
protected Boolean responseRequiredFlag;
/**
* The Minimum display time.
*/
@XmlAttribute(name = "MinimumDisplayTime")
protected Integer minimumDisplayTime;
/**
* The Device.
*/
@XmlAttribute(name = "Device", required = true)
protected DeviceType device;
/**
* The Info qualify.
*/
@XmlAttribute(name = "InfoQualify", required = true)
protected InfoQualifyType infoQualify;
/**
* Gets the value of the outputContent property.
*
* @return possible object is {@link OutputContent }
*/
public OutputContent getOutputContent() {
return outputContent;
}
/**
* Sets the value of the outputContent property.
*
* @param value allowed object is {@link OutputContent }
*/
public void setOutputContent(OutputContent value) {
this.outputContent = value;
}
/**
* Gets the value of the menuEntry 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 menuEntry property.
*
*
* For example, to add a new item, do as follows:
*
* getMenuEntry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MenuEntry }
*
* @return the menu entry
*/
public List getMenuEntry() {
if (menuEntry == null) {
menuEntry = new ArrayList<>();
}
return this.menuEntry;
}
/**
* Gets the value of the outputSignature property.
*
* @return possible object is byte[]
*/
public byte[] getOutputSignature() {
return outputSignature;
}
/**
* Sets the value of the outputSignature property.
*
* @param value allowed object is byte[]
*/
public void setOutputSignature(byte[] value) {
this.outputSignature = value;
}
/**
* Gets the value of the responseRequiredFlag property.
*
* @return possible object is {@link Boolean }
*/
public boolean isResponseRequiredFlag() {
if (responseRequiredFlag == null) {
return true;
} else {
return responseRequiredFlag;
}
}
/**
* Sets the value of the responseRequiredFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setResponseRequiredFlag(Boolean value) {
this.responseRequiredFlag = value;
}
/**
* Gets the value of the minimumDisplayTime property.
*
* @return possible object is {@link Integer }
*/
public int getMinimumDisplayTime() {
if (minimumDisplayTime == null) {
return 0;
} else {
return minimumDisplayTime;
}
}
/**
* Sets the value of the minimumDisplayTime property.
*
* @param value allowed object is {@link Integer }
*/
public void setMinimumDisplayTime(Integer value) {
this.minimumDisplayTime = value;
}
/**
* Gets the value of the device property.
*
* @return possible object is {@link DeviceType }
*/
public DeviceType getDevice() {
return device;
}
/**
* Sets the value of the device property.
*
* @param value allowed object is {@link DeviceType }
*/
public void setDevice(DeviceType value) {
this.device = value;
}
/**
* Gets the value of the infoQualify property.
*
* @return possible object is {@link InfoQualifyType }
*/
public InfoQualifyType getInfoQualify() {
return infoQualify;
}
/**
* Sets the value of the infoQualify property.
*
* @param value allowed object is {@link InfoQualifyType }
*/
public void setInfoQualify(InfoQualifyType value) {
this.infoQualify = value;
}
}