public static enum Payment.Result extends Enum<Payment.Result>
| Enum Constant and Description |
|---|
fail
This will signal the user that the transaction has failed.
|
success
This will signal the user that the transaction has completed successfully.
|
unkown
This will signal the user that the transaction status is unkown.
|
| Modifier and Type | Method and Description |
|---|---|
static Payment.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.Result success
public static final Payment.Result fail
public static final Payment.Result unkown
public static Payment.Result[] values()
for (Payment.Result c : Payment.Result.values()) System.out.println(c);
public static Payment.Result 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 © 2020 XDEV Software Corp.. All rights reserved.