com.adyen.model.nexo.Input 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;
/**
* Definition: Data entered by the user, related to the input command. -- Usage: Choice of a data which contains data entered by the user on the requested device, depending on the requested InputCommand:GetConfirmation: the input is in ConfirmedFlag.GetAnyKey: there is no input.GetFunctionKey: the input is in
*
* Java class for Input complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Input">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ConfirmedFlag" type="{}ConfirmedFlag" minOccurs="0"/>
* <element name="FunctionKey" type="{}FunctionKey" minOccurs="0"/>
* <element name="TextInput" type="{}TextInput" minOccurs="0"/>
* <element name="DigitInput" type="{}DigitInput" minOccurs="0"/>
* <element name="Password" type="{}ContentInformation" minOccurs="0"/>
* <element name="MenuEntryNumber" type="{}MenuEntryNumber" minOccurs="0"/>
* </sequence>
* <attribute name="InputCommand" use="required" type="{}InputCommandType" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Input", propOrder = {
"confirmedFlag",
"functionKey",
"textInput",
"digitInput",
"password",
"menuEntryNumber"
})
public class Input {
/**
* The Confirmed flag.
*/
@XmlElement(name = "ConfirmedFlag")
@Schema(description = "Confirmation or not of what has been requested to the user in a GetConfirmation input command. --Rule: Mandatory, if InputCommand is GetConfirmation or SiteManager Not allowed, otherwise")
protected Boolean confirmedFlag;
/**
* The Function key.
*/
@XmlElement(name = "FunctionKey")
@Schema(description = "The number of the function key which is typed by the Customer on the POI or the Cashier on the Sale Terminal. --Rule: Mandatory, if InputCommand is GetFunctionKey Not allowed, otherwise")
protected String functionKey;
/**
* The Text input.
*/
@XmlElement(name = "TextInput")
@Schema(description = "The text which is typed by the Customer on the POI or the Cashier on the Sale Terminal. --Rule: Mandatory, if InputCommand is TextString Not allowed, otherwise")
protected String textInput;
/**
* The Digit input.
*/
@XmlElement(name = "DigitInput")
@Schema(description = "The digits which are typed by the Customer on the POI or the Cashier on the Sale Terminal. --Rule: Mandatory, if InputCommand is DigitString Not allowed, otherwise")
protected String digitInput;
/**
* The Password.
*/
@XmlElement(name = "Password")
@Schema(description = "A text password which is typed by the Customer on the POI or the Cashier on the Sale Terminal. --Rule: Mandatory, if InputCommand is Password Not allowed, otherwise")
protected ContentInformation password;
/**
* The Menu entry number.
*/
@XmlElement(name = "MenuEntryNumber")
@Schema(description = "The index from 1 to n, of the menu item which is selected by the Cashier on the Sale Terminal. The value -1 indicates --Rule: Mandatory, if InputCommand is GetMenuEntry Not allowed, otherwise")
protected Integer[] menuEntryNumber;
/**
* The Input command.
*/
@XmlElement(name = "InputCommand", required = true)
@Schema(description = "Type of requested input --Rule: Copy")
protected InputCommandType inputCommand;
/**
* Gets the value of the confirmedFlag property.
*
* @return possible object is {@link Boolean }
*/
public Boolean isConfirmedFlag() {
return confirmedFlag;
}
/**
* Sets the value of the confirmedFlag property.
*
* @param value allowed object is {@link Boolean }
*/
public void setConfirmedFlag(Boolean value) {
this.confirmedFlag = value;
}
/**
* Gets the value of the functionKey property.
*
* @return possible object is {@link String }
*/
public String getFunctionKey() {
return functionKey;
}
/**
* Sets the value of the functionKey property.
*
* @param value allowed object is {@link String }
*/
public void setFunctionKey(String value) {
this.functionKey = value;
}
/**
* Gets the value of the textInput property.
*
* @return possible object is {@link String }
*/
public String getTextInput() {
return textInput;
}
/**
* Sets the value of the textInput property.
*
* @param value allowed object is {@link String }
*/
public void setTextInput(String value) {
this.textInput = value;
}
/**
* Gets the value of the digitInput property.
*
* @return possible object is {@link String }
*/
public String getDigitInput() {
return digitInput;
}
/**
* Sets the value of the digitInput property.
*
* @param value allowed object is {@link String }
*/
public void setDigitInput(String value) {
this.digitInput = value;
}
/**
* Gets the value of the password property.
*
* @return possible object is {@link ContentInformation }
*/
public ContentInformation getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value allowed object is {@link ContentInformation }
*/
public void setPassword(ContentInformation value) {
this.password = value;
}
/**
* Gets the value of the menuEntryNumber property.
*
* @return possible object is Array of {@link Integer }
*/
public Integer[] getMenuEntryNumber() {
return menuEntryNumber;
}
/**
* Sets the value of the menuEntryNumber property.
*
* @param value allowed object is Array of {@link Integer }
*/
public void setMenuEntryNumber(Integer[] value) {
this.menuEntryNumber = value;
}
/**
* Gets the value of the inputCommand property.
*
* @return possible object is {@link InputCommandType }
*/
public InputCommandType getInputCommand() {
return inputCommand;
}
/**
* Sets the value of the inputCommand property.
*
* @param value allowed object is {@link InputCommandType }
*/
public void setInputCommand(InputCommandType value) {
this.inputCommand = value;
}
}