public enum CouponCodeMode extends java.lang.Enum<CouponCodeMode>
| Enum Constant and Description |
|---|
MERCHANT_API |
MERCHANT_UPLOAD |
WECHATPAY_MODE |
| Modifier and Type | Method and Description |
|---|---|
static CouponCodeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CouponCodeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="WECHATPAY_MODE") public static final CouponCodeMode WECHATPAY_MODE
@SerializedName(value="MERCHANT_API") public static final CouponCodeMode MERCHANT_API
@SerializedName(value="MERCHANT_UPLOAD") public static final CouponCodeMode MERCHANT_UPLOAD
public static CouponCodeMode[] values()
for (CouponCodeMode c : CouponCodeMode.values()) System.out.println(c);
public static CouponCodeMode 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