Package com.six.timapi.constants
Enum EcrInfoType
- java.lang.Object
-
- java.lang.Enum<EcrInfoType>
-
- com.six.timapi.constants.EcrInfoType
-
- All Implemented Interfaces:
Serializable
,Comparable<EcrInfoType>
public enum EcrInfoType extends Enum<EcrInfoType>
The EcrInfoType attribute is used to specify what kind of information is sent in the sixml:EcrInfo tag.
The following values are valid:
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ECR_APPLICATION
Specification: retail.EFT_API
Specification: retail.EFT_MODULE
Specification: retail.OS
Specification: retail.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EcrInfoType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EcrInfoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OS
public static final EcrInfoType OS
Specification: retail.
-
ECR_APPLICATION
public static final EcrInfoType ECR_APPLICATION
Specification: retail.
-
EFT_API
public static final EcrInfoType EFT_API
Specification: retail.
-
EFT_MODULE
public static final EcrInfoType EFT_MODULE
Specification: retail.
-
-
Method Detail
-
values
public static EcrInfoType[] 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 (EcrInfoType c : EcrInfoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EcrInfoType 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
-
-