com.foxinmy.weixin4j.type.card
Enum UserCardStatus

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

public enum UserCardStatus
extends Enum<UserCardStatus>

用户的会员卡状态


Enum Constant Summary
DELETE
           
EXPIRE
           
GIFT_SUCC
           
GIFT_TIMEOUT
           
GIFTING
           
NORMAL
           
UNAVAILABLE
           
 
Method Summary
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.
 
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

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


Copyright © 2014–2017. All rights reserved.