Package com.foxinmy.weixin4j.type.card
Enum CardStatus
- java.lang.Object
-
- java.lang.Enum<CardStatus>
-
- com.foxinmy.weixin4j.type.card.CardStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<CardStatus>
public enum CardStatus extends Enum<CardStatus>
会员卡的状态
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARD_STATUS_DELETE
卡券被商户删除CARD_STATUS_DISPATCH
在公众平台投放过的卡券CARD_STATUS_NOT_VERIFY
待审核;CARD_STATUS_VERIFY_FAIL
审核失败CARD_STATUS_VERIFY_OK
通过审核
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static CardStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARD_STATUS_NOT_VERIFY
public static final CardStatus CARD_STATUS_NOT_VERIFY
待审核;
-
CARD_STATUS_VERIFY_FAIL
public static final CardStatus CARD_STATUS_VERIFY_FAIL
审核失败
-
CARD_STATUS_VERIFY_OK
public static final CardStatus CARD_STATUS_VERIFY_OK
通过审核
-
CARD_STATUS_DELETE
public static final CardStatus CARD_STATUS_DELETE
卡券被商户删除
-
CARD_STATUS_DISPATCH
public static final CardStatus CARD_STATUS_DISPATCH
在公众平台投放过的卡券
-
-
Method Detail
-
values
public static CardStatus[] 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 (CardStatus c : CardStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardStatus 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
-
-