public enum BillType extends Enum<BillType>
| Enum Constant and Description |
|---|
ALL
所有订单信息
|
REFUND
退款订单
|
SUCCESS
成功支付的订单
|
| Modifier and Type | Method and Description |
|---|---|
static BillType |
from(String t) |
String |
type() |
static BillType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BillType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillType ALL
public static final BillType SUCCESS
public static final BillType REFUND
public static BillType[] values()
for (BillType c : BillType.values()) System.out.println(c);
public static BillType 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 String type()
Copyright © 2016. All rights reserved.