public static enum Payment.StatusEnum extends Enum<Payment.StatusEnum>
| Enum Constant and Description |
|---|
AUTHORISED |
DELETED |
| Modifier and Type | Method and Description |
|---|---|
static Payment.StatusEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Payment.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.StatusEnum AUTHORISED
public static final Payment.StatusEnum DELETED
public static Payment.StatusEnum[] values()
for (Payment.StatusEnum c : Payment.StatusEnum.values()) System.out.println(c);
public static Payment.StatusEnum 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 getValue()
public String toString()
toString in class Enum<Payment.StatusEnum>public static Payment.StatusEnum fromValue(String value)
Copyright © 2019. All rights reserved.