public enum TicketStatus extends java.lang.Enum<TicketStatus> implements TransactionStatus, HasMessageKey
| Enum Constant and Description |
|---|
APPROVED
The ticket was approved by the logged user (i.e the payer) and it has a defined success URL.
|
CANCELED
The ticket was canceled by the receiver before being approved by the payer.
|
EXPIRED
The ticket has expired without being approved or canceled.
|
OPEN
The ticket was created by the receiver but not approved / accepted yet.
|
PROCESSED
The ticket was approved by the payer and there is not success URL defined for it or an approved ticket was
processed by the receiver.
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
static TicketStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TicketStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TicketStatus OPEN
public static final TicketStatus APPROVED
public static final TicketStatus PROCESSED
public static final TicketStatus CANCELED
public static final TicketStatus EXPIRED
public static TicketStatus[] values()
for (TicketStatus c : TicketStatus.values()) System.out.println(c);
public static TicketStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MessageKey getMessageKey()
getMessageKey in interface HasMessageKey