public static enum ScannerConfig.CouponReport extends Enum<ScannerConfig.CouponReport>
Example Usage: CouponReport.OLD;
Enum Constant and Description |
---|
BOTH
Scanner will read both old coupon format as well as the new GS1
DataBar coupon format
|
NEW
Scanner will read only the new GS1 DataBar coupon format
|
OLD
Scanner will read only the old coupon format
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.CouponReport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.CouponReport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.CouponReport OLD
public static final ScannerConfig.CouponReport NEW
public static final ScannerConfig.CouponReport BOTH
public static ScannerConfig.CouponReport[] values()
for (ScannerConfig.CouponReport c : ScannerConfig.CouponReport.values()) System.out.println(c);
public static ScannerConfig.CouponReport valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null