public static enum BusiFavorCreateParams.CouponCodeMode extends Enum<BusiFavorCreateParams.CouponCodeMode>
| Enum Constant and Description |
|---|
MERCHANT_API
商户发放时接口指定券code。
|
MERCHANT_UPLOAD
商户上传自定义code,发券时系统随机选取上传的券code。
|
WECHATPAY_MODE
系统分配券code。(固定22位纯数字)
|
| Modifier and Type | Method and Description |
|---|---|
static BusiFavorCreateParams.CouponCodeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusiFavorCreateParams.CouponCodeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusiFavorCreateParams.CouponCodeMode WECHATPAY_MODE
public static final BusiFavorCreateParams.CouponCodeMode MERCHANT_API
public static final BusiFavorCreateParams.CouponCodeMode MERCHANT_UPLOAD
public static BusiFavorCreateParams.CouponCodeMode[] values()
for (BusiFavorCreateParams.CouponCodeMode c : BusiFavorCreateParams.CouponCodeMode.values()) System.out.println(c);
public static BusiFavorCreateParams.CouponCodeMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.