public enum RefundPromotionType extends Enum<RefundPromotionType>
| Enum Constant and Description |
|---|
COUPON
代金券,需要走结算资金的充值型代金券
|
DISCOUNT
优惠券,不走结算资金的免充值型优惠券
|
| Modifier and Type | Method and Description |
|---|---|
static RefundPromotionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefundPromotionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundPromotionType COUPON
public static final RefundPromotionType DISCOUNT
public static RefundPromotionType[] values()
for (RefundPromotionType c : RefundPromotionType.values()) System.out.println(c);
public static RefundPromotionType 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 © 2023. All rights reserved.