|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CouponType>
com.foxinmy.weixin4j.type.mch.CouponType
public enum CouponType
代金券类型
| Enum Constant Summary | |
|---|---|
CASH
充值代金券 |
|
HAS_THRESHOLD
使用有门槛 |
|
NO_CASH
非充值代金券 |
|
NO_THRESHOLD
使用无门槛 |
|
THRESHOLD_PLUS
门槛叠加 |
|
| Method Summary | |
|---|---|
int |
getVal()
|
static CouponType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CouponType[] |
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 |
|---|
public static final CouponType NO_THRESHOLD
public static final CouponType HAS_THRESHOLD
public static final CouponType THRESHOLD_PLUS
public static final CouponType CASH
public static final CouponType NO_CASH
| Method Detail |
|---|
public static CouponType[] values()
for (CouponType c : CouponType.values()) System.out.println(c);
public static CouponType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getVal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||