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