com.foxinmy.weixin4j.type.card
Enum FieldNameType

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

public enum FieldNameType
extends Enum<FieldNameType>

会员信息类目半自定义名称


Enum Constant Summary
FIELD_NAME_TYPE_ACHIEVEMEN
          成就
FIELD_NAME_TYPE_COUPON
          优惠券
FIELD_NAME_TYPE_DISCOUNT
          折扣
FIELD_NAME_TYPE_LEVEL
          等级
FIELD_NAME_TYPE_MILEAGE
          里程
FIELD_NAME_TYPE_SET_POINTS
          集点
FIELD_NAME_TYPE_STAMP
          印花
FIELD_NAME_TYPE_TIMS
          次数
 
Method Summary
static FieldNameType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FieldNameType[] 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

FIELD_NAME_TYPE_LEVEL

public static final FieldNameType FIELD_NAME_TYPE_LEVEL
等级


FIELD_NAME_TYPE_COUPON

public static final FieldNameType FIELD_NAME_TYPE_COUPON
优惠券


FIELD_NAME_TYPE_STAMP

public static final FieldNameType FIELD_NAME_TYPE_STAMP
印花


FIELD_NAME_TYPE_DISCOUNT

public static final FieldNameType FIELD_NAME_TYPE_DISCOUNT
折扣


FIELD_NAME_TYPE_ACHIEVEMEN

public static final FieldNameType FIELD_NAME_TYPE_ACHIEVEMEN
成就


FIELD_NAME_TYPE_MILEAGE

public static final FieldNameType FIELD_NAME_TYPE_MILEAGE
里程


FIELD_NAME_TYPE_SET_POINTS

public static final FieldNameType FIELD_NAME_TYPE_SET_POINTS
集点


FIELD_NAME_TYPE_TIMS

public static final FieldNameType FIELD_NAME_TYPE_TIMS
次数

Method Detail

values

public static FieldNameType[] 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 (FieldNameType c : FieldNameType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FieldNameType 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.