com.foxinmy.weixin4j.type.card
Enum CardStatus

java.lang.Object
  extended by java.lang.Enum<CardStatus>
      extended by com.foxinmy.weixin4j.type.card.CardStatus
All Implemented Interfaces:
Serializable, Comparable<CardStatus>

public enum CardStatus
extends Enum<CardStatus>

会员卡的状态


Enum Constant Summary
CARD_STATUS_DELETE
          卡券被商户删除
CARD_STATUS_DISPATCH
          在公众平台投放过的卡券
CARD_STATUS_NOT_VERIFY
          待审核;
CARD_STATUS_VERIFY_FAIL
          审核失败
CARD_STATUS_VERIFY_OK
          通过审核
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Copyright © 2014–2017. All rights reserved.