public enum PaymentRequestStatus extends java.lang.Enum<PaymentRequestStatus>
| Enum Constant and Description |
|---|
CANCELED
The payment request was canceled by the sender before being processed
|
DENIED
The payment request was denied
|
EXPIRED
The payment request has expired without being accepted or denied
|
OPEN
The payment request was sent, but not accepted yet
|
PROCESSED
The payment request was accepted and processed (the transaction was generated)
|
SCHEDULED
The payment request was accepted and scheduled for a future date
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentRequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentRequestStatus OPEN
public static final PaymentRequestStatus SCHEDULED
public static final PaymentRequestStatus PROCESSED
public static final PaymentRequestStatus DENIED
public static final PaymentRequestStatus CANCELED
public static final PaymentRequestStatus EXPIRED
public static PaymentRequestStatus[] values()
for (PaymentRequestStatus c : PaymentRequestStatus.values()) System.out.println(c);
public static PaymentRequestStatus 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 null