public enum StockType extends Enum<StockType>
| Enum Constant and Description |
|---|
DISCOUNT
折扣券批次
|
EXCHANGE
换购券批次
|
NORMAL
固定面额满减券批次
|
| Modifier and Type | Method and Description |
|---|---|
static StockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StockType NORMAL
public static final StockType DISCOUNT
public static final StockType EXCHANGE
public static StockType[] values()
for (StockType c : StockType.values()) System.out.println(c);
public static StockType 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.