Package com.six.timapi.receipts
Enum CustomReceiptFormatter.Condition
- java.lang.Object
-
- java.lang.Enum<CustomReceiptFormatter.Condition>
-
- com.six.timapi.receipts.CustomReceiptFormatter.Condition
-
- All Implemented Interfaces:
Serializable
,Comparable<CustomReceiptFormatter.Condition>
- Enclosing class:
- CustomReceiptFormatter
public static enum CustomReceiptFormatter.Condition extends Enum<CustomReceiptFormatter.Condition>
Conditions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DCC
ECR_INFO
ECR_INFO_WITH_TRANS_SEQ
EFT_INFO
FOOTER
HAS_ADDITIONAL_AMOUNTS
HAS_ALL_VALUES
HAS_VALUES
HAS_VALUES_NO_INVALID_FIELD
HEADER
INSTALLMENT
IS_REVERSAL
NO_PARTIAL_APPROVAL
NONE
PARTIAL_APPROVAL
SIGNATURE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomReceiptFormatter.Condition
valueOf(String name)
Returns the enum constant of this type with the specified name.static CustomReceiptFormatter.Condition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CustomReceiptFormatter.Condition NONE
-
ECR_INFO
public static final CustomReceiptFormatter.Condition ECR_INFO
-
EFT_INFO
public static final CustomReceiptFormatter.Condition EFT_INFO
-
ECR_INFO_WITH_TRANS_SEQ
public static final CustomReceiptFormatter.Condition ECR_INFO_WITH_TRANS_SEQ
-
SIGNATURE
public static final CustomReceiptFormatter.Condition SIGNATURE
-
HAS_VALUES
public static final CustomReceiptFormatter.Condition HAS_VALUES
-
HAS_VALUES_NO_INVALID_FIELD
public static final CustomReceiptFormatter.Condition HAS_VALUES_NO_INVALID_FIELD
-
INSTALLMENT
public static final CustomReceiptFormatter.Condition INSTALLMENT
-
DCC
public static final CustomReceiptFormatter.Condition DCC
-
HEADER
public static final CustomReceiptFormatter.Condition HEADER
-
FOOTER
public static final CustomReceiptFormatter.Condition FOOTER
-
IS_REVERSAL
public static final CustomReceiptFormatter.Condition IS_REVERSAL
-
HAS_ALL_VALUES
public static final CustomReceiptFormatter.Condition HAS_ALL_VALUES
-
PARTIAL_APPROVAL
public static final CustomReceiptFormatter.Condition PARTIAL_APPROVAL
-
NO_PARTIAL_APPROVAL
public static final CustomReceiptFormatter.Condition NO_PARTIAL_APPROVAL
-
HAS_ADDITIONAL_AMOUNTS
public static final CustomReceiptFormatter.Condition HAS_ADDITIONAL_AMOUNTS
-
-
Method Detail
-
values
public static CustomReceiptFormatter.Condition[] 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 (CustomReceiptFormatter.Condition c : CustomReceiptFormatter.Condition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomReceiptFormatter.Condition 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
-
-