Package com.foxinmy.weixin4j.type.card
Enum FieldNameType
- java.lang.Object
-
- java.lang.Enum<FieldNameType>
-
- com.foxinmy.weixin4j.type.card.FieldNameType
-
- All Implemented Interfaces:
Serializable
,Comparable<FieldNameType>
public enum FieldNameType extends Enum<FieldNameType>
会员信息类目半自定义名称
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-