Package com.adyen.model.nexo
Class MenuEntry
- java.lang.Object
-
- com.adyen.model.nexo.MenuEntry
-
public class MenuEntry extends Object
Definition: An entryof the menu to present to the Cashier -- Usage: It conveys messageType text and parameters of the menu entry. This output data could be only provided for an input command, in order to choose an entryof the menu.Java class for MenuEntry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MenuEntry"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PredefinedContent" type="{}PredefinedContent" minOccurs="0"/> <element name="OutputText" type="{}OutputText" maxOccurs="unbounded" minOccurs="0"/> <element name="OutputXHTML" type="{}OutputXHTML" minOccurs="0"/> </sequence> <attribute name="MenuEntryTag" type="{}MenuEntryTagType" default="Selectable" /> <attribute name="OutputFormat" use="required" type="{}OutputFormatType" /> <attribute name="DefaultSelectedFlag" type="{}DefaultSelectedFlag" default="false" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleandefaultSelectedFlagThe Default selected flag.protected MenuEntryTagTypemenuEntryTagThe Menu entry tag.protected OutputFormatTypeoutputFormatThe Output format.protected List<OutputText>outputTextThe Output text.protected byte[]outputXHTMLThe Output xhtml.protected PredefinedContentpredefinedContentThe Predefined content.
-
Constructor Summary
Constructors Constructor Description MenuEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuEntryTagTypegetMenuEntryTag()Gets the value of the menuEntryTag property.OutputFormatTypegetOutputFormat()Gets the value of the outputFormat property.List<OutputText>getOutputText()Gets the value of the outputText property.byte[]getOutputXHTML()Gets the value of the outputXHTML property.PredefinedContentgetPredefinedContent()Gets the value of the predefinedContent property.booleanisDefaultSelectedFlag()Gets the value of the defaultSelectedFlag property.voidsetDefaultSelectedFlag(Boolean value)Sets the value of the defaultSelectedFlag property.voidsetMenuEntryTag(MenuEntryTagType value)Sets the value of the menuEntryTag property.voidsetOutputFormat(OutputFormatType value)Sets the value of the outputFormat property.voidsetOutputText(List<OutputText> outputText)Sets the value of the outputText property.voidsetOutputXHTML(byte[] value)Sets the value of the outputXHTML property.voidsetPredefinedContent(PredefinedContent value)Sets the value of the predefinedContent property.
-
-
-
Field Detail
-
predefinedContent
protected PredefinedContent predefinedContent
The Predefined content.
-
outputText
protected List<OutputText> outputText
The Output text.
-
outputXHTML
protected byte[] outputXHTML
The Output xhtml.
-
menuEntryTag
protected MenuEntryTagType menuEntryTag
The Menu entry tag.
-
outputFormat
protected OutputFormatType outputFormat
The Output format.
-
defaultSelectedFlag
protected Boolean defaultSelectedFlag
The Default selected flag.
-
-
Method Detail
-
getPredefinedContent
public PredefinedContent getPredefinedContent()
Gets the value of the predefinedContent property.- Returns:
- possible object is
PredefinedContent
-
setPredefinedContent
public void setPredefinedContent(PredefinedContent value)
Sets the value of the predefinedContent property.- Parameters:
value- allowed object isPredefinedContent
-
getOutputText
public List<OutputText> getOutputText()
Gets the value of the outputText 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
setmethod for the outputText property.For example, to add a new item, do as follows:
getOutputText().add(newItem);Objects of the following type(s) are allowed in the list
OutputText- Returns:
- the output text
-
setOutputText
public void setOutputText(List<OutputText> outputText)
Sets the value of the outputText property.- Parameters:
outputText- the new list of OutputText objects
-
getOutputXHTML
public byte[] getOutputXHTML()
Gets the value of the outputXHTML property.- Returns:
- possible object is byte[]
-
setOutputXHTML
public void setOutputXHTML(byte[] value)
Sets the value of the outputXHTML property.- Parameters:
value- allowed object is byte[]
-
getMenuEntryTag
public MenuEntryTagType getMenuEntryTag()
Gets the value of the menuEntryTag property.- Returns:
- possible object is
MenuEntryTagType
-
setMenuEntryTag
public void setMenuEntryTag(MenuEntryTagType value)
Sets the value of the menuEntryTag property.- Parameters:
value- allowed object isMenuEntryTagType
-
getOutputFormat
public OutputFormatType getOutputFormat()
Gets the value of the outputFormat property.- Returns:
- possible object is
OutputFormatType
-
setOutputFormat
public void setOutputFormat(OutputFormatType value)
Sets the value of the outputFormat property.- Parameters:
value- allowed object isOutputFormatType
-
isDefaultSelectedFlag
public boolean isDefaultSelectedFlag()
Gets the value of the defaultSelectedFlag property.- Returns:
- possible object is
Boolean
-
-