Package com.foxinmy.weixin4j.type.card
Enum UserCardStatus
- java.lang.Object
-
- java.lang.Enum<UserCardStatus>
-
- com.foxinmy.weixin4j.type.card.UserCardStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<UserCardStatus>
public enum UserCardStatus extends Enum<UserCardStatus>
用户的会员卡状态
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE
EXPIRE
GIFT_SUCC
GIFT_TIMEOUT
GIFTING
NORMAL
UNAVAILABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserCardStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserCardStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final UserCardStatus NORMAL
-
EXPIRE
public static final UserCardStatus EXPIRE
-
GIFTING
public static final UserCardStatus GIFTING
-
GIFT_SUCC
public static final UserCardStatus GIFT_SUCC
-
GIFT_TIMEOUT
public static final UserCardStatus GIFT_TIMEOUT
-
DELETE
public static final UserCardStatus DELETE
-
UNAVAILABLE
public static final UserCardStatus UNAVAILABLE
-
-
Method Detail
-
values
public static UserCardStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserCardStatus c : UserCardStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserCardStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-