public enum VoucherOrderBy extends java.lang.Enum<VoucherOrderBy>
| Enum Constant and Description |
|---|
CREATION_DATE_ASC
Order by creation date, ascending
|
CREATION_DATE_DESC
Order by creation date, descending (default)
|
EXPIRATION_DATE_ASC
Order by expiration date, ascending
|
EXPIRATION_DATE_DESC
Order by expiration date, descending
|
REDEEM_DATE_ASC
Order by redeem date, ascending, then expiration date, ascending
|
REDEEM_DATE_DESC
Order by redeem date, descending, then expiration date, descending
|
| Modifier and Type | Method and Description |
|---|---|
static VoucherOrderBy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VoucherOrderBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoucherOrderBy CREATION_DATE_DESC
public static final VoucherOrderBy CREATION_DATE_ASC
public static final VoucherOrderBy EXPIRATION_DATE_DESC
public static final VoucherOrderBy EXPIRATION_DATE_ASC
public static final VoucherOrderBy REDEEM_DATE_DESC
public static final VoucherOrderBy REDEEM_DATE_ASC
public static VoucherOrderBy[] values()
for (VoucherOrderBy c : VoucherOrderBy.values()) System.out.println(c);
public static VoucherOrderBy 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 null