public static enum Constants.State extends Enum<Constants.State>
| Enum Constant and Description |
|---|
authorized |
cancelled |
captured |
charged_back |
expired |
failed |
new_ |
refunded |
reserved |
settled |
| Modifier and Type | Method and Description |
|---|---|
static Constants.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.State new_
public static final Constants.State authorized
public static final Constants.State reserved
public static final Constants.State captured
public static final Constants.State settled
public static final Constants.State cancelled
public static final Constants.State refunded
public static final Constants.State charged_back
public static final Constants.State failed
public static final Constants.State expired
public static Constants.State[] values()
for (Constants.State c : Constants.State.values()) System.out.println(c);
public static Constants.State 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 © 2014. All Rights Reserved.