com.adyen.model.nexo.InputUpdate 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.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
/**
* Definition: Content of the Input Update messageType. -- Usage: It conveys update of the display of an Input request in progress.
*
* Java class for InputUpdate complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InputUpdate">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MessageReference" type="{}MessageReference"/>
* <element name="OutputContent" type="{}OutputContent"/>
* <element name="MenuEntry" type="{}MenuEntry" maxOccurs="unbounded" minOccurs="0"/>
* <element name="OutputSignature" type="{}OutputSignature" minOccurs="0"/>
* </sequence>
* <attribute name="MinLength" type="{}MinLength" />
* <attribute name="MaxLength" type="{}MaxLength" />
* <attribute name="MaxDecimalLength" type="{}MaxDecimalLength" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InputUpdate", propOrder = {
"messageReference",
"outputContent",
"menuEntry",
"outputSignature"
})
public class InputUpdate {
/**
* The Message reference.
*/
@XmlElement(name = "MessageReference", required = true)
@Schema(description = "Identification of a previous POI transaction.")
protected MessageReference messageReference;
/**
* The Output content.
*/
@XmlElement(name = "OutputContent", required = true)
@Schema(description = "Content to display or print.")
protected OutputContent outputContent;
/**
* The Menu entry.
*/
@XmlElement(name = "MenuEntry")
@Schema(description = "An entryof the menu to present to the Cashier")
protected List menuEntry;
/**
* The Output signature.
*/
@XmlElement(name = "OutputSignature")
@Schema(description = "Vendor specific signature of text message to display or print.")
protected byte[] outputSignature;
/**
* The Min length.
*/
@XmlElement(name = "MinLength")
@Schema(description = "Minimum input length --Rule: If present in the Input to update.")
protected BigInteger minLength;
/**
* The Max length.
*/
@XmlElement(name = "MaxLength")
@Schema(description = "Maximum input length --Rule: If present in the Input to update.")
protected BigInteger maxLength;
/**
* The Max decimal length.
*/
@XmlElement(name = "MaxDecimalLength")
@Schema(description = "Maximum input length of the decimal part (without decimal point) --Rule: If present in the Input to update.")
protected BigInteger maxDecimalLength;
/**
* Gets the value of the messageReference property.
*
* @return possible object is {@link MessageReference }
*/
public MessageReference getMessageReference() {
return messageReference;
}
/**
* Sets the value of the messageReference property.
*
* @param value allowed object is {@link MessageReference }
*/
public void setMessageReference(MessageReference value) {
this.messageReference = value;
}
/**
* 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 minLength property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getMinLength() {
return minLength;
}
/**
* Sets the value of the minLength property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setMinLength(BigInteger value) {
this.minLength = value;
}
/**
* Gets the value of the maxLength property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getMaxLength() {
return maxLength;
}
/**
* Sets the value of the maxLength property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setMaxLength(BigInteger value) {
this.maxLength = value;
}
/**
* Gets the value of the maxDecimalLength property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getMaxDecimalLength() {
return maxDecimalLength;
}
/**
* Sets the value of the maxDecimalLength property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setMaxDecimalLength(BigInteger value) {
this.maxDecimalLength = value;
}
}