public static enum Payment.PaymentStatus extends Enum<Payment.PaymentStatus>
| Enum Constant and Description |
|---|
AUTHORIZED |
CAPTURED |
FAILED |
PENDING |
REJECTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayString() |
static Payment.PaymentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.PaymentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.PaymentStatus PENDING
public static final Payment.PaymentStatus AUTHORIZED
public static final Payment.PaymentStatus CAPTURED
public static final Payment.PaymentStatus REJECTED
public static final Payment.PaymentStatus FAILED
public static Payment.PaymentStatus[] values()
for (Payment.PaymentStatus c : Payment.PaymentStatus.values()) System.out.println(c);
public static Payment.PaymentStatus 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 getDisplayString()
Copyright © 2014. All rights reserved.