public enum CouponUseMethod extends java.lang.Enum<CouponUseMethod>
| Enum Constant and Description |
|---|
MINI_PROGRAMS |
OFF_LINE |
PAYMENT_CODE |
SELF_CONSUME |
| Modifier and Type | Method and Description |
|---|---|
static CouponUseMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CouponUseMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="OFF_LINE") public static final CouponUseMethod OFF_LINE
@SerializedName(value="MINI_PROGRAMS") public static final CouponUseMethod MINI_PROGRAMS
@SerializedName(value="SELF_CONSUME") public static final CouponUseMethod SELF_CONSUME
@SerializedName(value="PAYMENT_CODE") public static final CouponUseMethod PAYMENT_CODE
public static CouponUseMethod[] values()
for (CouponUseMethod c : CouponUseMethod.values()) System.out.println(c);
public static CouponUseMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null