public enum CouponBgColor extends Enum<CouponBgColor>
详见优惠券背景色参考
| Enum Constant and Description |
|---|
COLOR010
Color 010 coupon bg color.
|
COLOR020
COLOR 020 coupon bg color.
|
COLOR030
COLOR 030 coupon bg color.
|
COLOR040
COLOR 040 coupon bg color.
|
COLOR050
COLOR 050 coupon bg color.
|
COLOR060
COLOR 060 coupon bg color.
|
COLOR070
COLOR 070 coupon bg color.
|
COLOR080
COLOR 080 coupon bg color.
|
COLOR081
COLOR 090 coupon bg color.
|
COLOR082
Color 082 card bg color.
|
COLOR090
Color 090 card bg color.
|
COLOR100
COLOR 100 coupon bg color.
|
COLOR101
Color 101 card bg color.
|
COLOR102
Color 102 card bg color.
|
| Modifier and Type | Field and Description |
|---|---|
private String |
color |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static CouponBgColor |
deserialize(String color)
Deserialize card bg color.
|
String |
getValue()
Gets value.
|
static CouponBgColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouponBgColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouponBgColor COLOR010
public static final CouponBgColor COLOR020
public static final CouponBgColor COLOR030
public static final CouponBgColor COLOR040
public static final CouponBgColor COLOR050
public static final CouponBgColor COLOR060
public static final CouponBgColor COLOR070
public static final CouponBgColor COLOR080
public static final CouponBgColor COLOR081
public static final CouponBgColor COLOR082
public static final CouponBgColor COLOR090
public static final CouponBgColor COLOR100
public static final CouponBgColor COLOR101
public static final CouponBgColor COLOR102
public static CouponBgColor[] values()
for (CouponBgColor c : CouponBgColor.values()) System.out.println(c);
public static CouponBgColor 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 nullpublic static CouponBgColor deserialize(String color)
color - the colorpublic String getValue()
Copyright © 2023. All rights reserved.