public static enum Payment.Status extends java.lang.Enum<Payment.Status>
Enum Constant and Description |
---|
CANCELLED |
CHARGED_BACK |
CONFIRMED |
CUSTOMER_APPROVAL_DENIED |
FAILED |
PAID_OUT |
PENDING_CUSTOMER_APPROVAL |
PENDING_SUBMISSION |
SUBMITTED |
Modifier and Type | Method and Description |
---|---|
static Payment.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Payment.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="pending_customer_approval") public static final Payment.Status PENDING_CUSTOMER_APPROVAL
@SerializedName(value="pending_submission") public static final Payment.Status PENDING_SUBMISSION
@SerializedName(value="submitted") public static final Payment.Status SUBMITTED
@SerializedName(value="confirmed") public static final Payment.Status CONFIRMED
@SerializedName(value="paid_out") public static final Payment.Status PAID_OUT
@SerializedName(value="cancelled") public static final Payment.Status CANCELLED
@SerializedName(value="customer_approval_denied") public static final Payment.Status CUSTOMER_APPROVAL_DENIED
@SerializedName(value="failed") public static final Payment.Status FAILED
@SerializedName(value="charged_back") public static final Payment.Status CHARGED_BACK
public static Payment.Status[] values()
for (Payment.Status c : Payment.Status.values()) System.out.println(c);
public static Payment.Status 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