public enum DiscountDateBasedOn extends Enum<DiscountDateBasedOn>
Modifier and Type | Method and Description |
---|---|
static DiscountDateBasedOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscountDateBasedOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscountDateBasedOn DAYS
public static final DiscountDateBasedOn DATE
public static final DiscountDateBasedOn EOM
public static final DiscountDateBasedOn NONE
public static DiscountDateBasedOn[] values()
for (DiscountDateBasedOn c : DiscountDateBasedOn.values()) System.out.println(c);
public static DiscountDateBasedOn 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 nullCopyright © 2010–2016. All rights reserved.