public static enum Payment.SessionState extends Enum<Payment.SessionState>
| Enum Constant and Description |
|---|
AUTHORIZED |
CANCELED |
CREATED |
PAID |
PARTIALLY_REFUNDED |
PAYMENT_METHOD_CHOSEN |
REFUNDED |
TIMEOUTED |
| Modifier and Type | Method and Description |
|---|---|
static Payment.SessionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.SessionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.SessionState CREATED
public static final Payment.SessionState PAYMENT_METHOD_CHOSEN
public static final Payment.SessionState PAID
public static final Payment.SessionState AUTHORIZED
public static final Payment.SessionState CANCELED
public static final Payment.SessionState TIMEOUTED
public static final Payment.SessionState REFUNDED
public static final Payment.SessionState PARTIALLY_REFUNDED
public static Payment.SessionState[] values()
for (Payment.SessionState c : Payment.SessionState.values()) System.out.println(c);
public static Payment.SessionState 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 © 2017. All rights reserved.