public enum CouponStatus extends Enum<CouponStatus>
| Enum Constant and Description |
|---|
EXPIRED
已过期.
|
SENDED
可用.
|
USED
已实扣.
|
| Modifier and Type | Method and Description |
|---|---|
static CouponStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouponStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouponStatus SENDED
public static final CouponStatus USED
public static final CouponStatus EXPIRED
public static CouponStatus[] values()
for (CouponStatus c : CouponStatus.values()) System.out.println(c);
public static CouponStatus 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 © 2021. All rights reserved.