public enum CapabilityType extends java.lang.Enum<CapabilityType>
Enum Constant and Description |
---|
ACTIVATION |
CUSTOM_TRANSACTION |
DISCOUNT |
LOYALTY |
RATING_AND_REVIEW |
RECEIPT |
RECEIPT_DECORATOR |
SCANNER |
TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static CapabilityType |
findByName(java.lang.String name) |
static CapabilityType |
findByValue(java.lang.String value) |
java.lang.String |
type() |
static CapabilityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityType TRANSACTION
public static final CapabilityType CUSTOM_TRANSACTION
public static final CapabilityType DISCOUNT
public static final CapabilityType RECEIPT
public static final CapabilityType LOYALTY
public static final CapabilityType ACTIVATION
public static final CapabilityType SCANNER
public static final CapabilityType RATING_AND_REVIEW
public static final CapabilityType RECEIPT_DECORATOR
public static CapabilityType[] values()
for (CapabilityType c : CapabilityType.values()) System.out.println(c);
public static CapabilityType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String type()
public static CapabilityType findByValue(java.lang.String value)
public static CapabilityType findByName(java.lang.String name)