public static enum ExchangeDtoV1.ExchangeStatusEnum extends Enum<ExchangeDtoV1.ExchangeStatusEnum>
Enum Constant and Description |
---|
CANCEL |
PROGRESS |
RECEIPT |
REJECT |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ExchangeDtoV1.ExchangeStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeDtoV1.ExchangeStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeDtoV1.ExchangeStatusEnum RECEIPT
public static final ExchangeDtoV1.ExchangeStatusEnum PROGRESS
public static final ExchangeDtoV1.ExchangeStatusEnum SUCCESS
public static final ExchangeDtoV1.ExchangeStatusEnum REJECT
public static final ExchangeDtoV1.ExchangeStatusEnum CANCEL
public static ExchangeDtoV1.ExchangeStatusEnum[] values()
for (ExchangeDtoV1.ExchangeStatusEnum c : ExchangeDtoV1.ExchangeStatusEnum.values()) System.out.println(c);
public static ExchangeDtoV1.ExchangeStatusEnum 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 toString()
toString
in class Enum<ExchangeDtoV1.ExchangeStatusEnum>
Copyright © 2022. All rights reserved.