Package com.adyen.model.nexo
Enum OutputFormatType
- java.lang.Object
-
- java.lang.Enum<OutputFormatType>
-
- com.adyen.model.nexo.OutputFormatType
-
- All Implemented Interfaces:
Serializable,Comparable<OutputFormatType>
public enum OutputFormatType extends Enum<OutputFormatType>
Java class for OutputFormatType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OutputFormatType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="MessageRef"/> <enumeration value="Text"/> <enumeration value="XHTML"/> <enumeration value="BarCode"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAR_CODEBarcode type to print The output is then a OutputBarCode data structure.MESSAGE_REFPredefined messageType (of any format) on the POI or the Sale.TEXTText messageType including control characters prefixed by an escape character.XHTMLDisplayOutput uses the eXtensible HyperText Markup Language.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputFormatTypefromValue(String v)From value output format type.Stringvalue()Value string.static OutputFormatTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OutputFormatType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE_REF
public static final OutputFormatType MESSAGE_REF
Predefined messageType (of any format) on the POI or the Sale. The output is then a PredefinedContent data structure.
-
TEXT
public static final OutputFormatType TEXT
Text messageType including control characters prefixed by an escape character. The DisplayOutput is then an OutputText data structure.
-
XHTML
public static final OutputFormatType XHTML
DisplayOutput uses the eXtensible HyperText Markup Language.
-
BAR_CODE
public static final OutputFormatType BAR_CODE
Barcode type to print The output is then a OutputBarCode data structure.
-
-
Method Detail
-
values
public static OutputFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OutputFormatType c : OutputFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static OutputFormatType fromValue(String v)
From value output format type.- Parameters:
v- the v- Returns:
- the output format type
-
-