public enum InstallmentStatus extends java.lang.Enum<InstallmentStatus> implements HasMessageKey
| Enum Constant and Description |
|---|
BLOCKED
The installment is blocked to prevent automatic processing
|
CANCELED
The payer has canceled the scheduled payment
|
FAILED
The installment couldn't be processed (i.e: not enough credits)
|
PROCESSED
The installment has been successfully processed
|
SCHEDULED
The installment is scheduled for future processing
|
SETTLED
The receiver has marked the installment as settled
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
getMessageKey() |
boolean |
isTerminal()
Returns whether this status is a terminal status - that means - cannot be changed.
|
static InstallmentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstallmentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallmentStatus SCHEDULED
public static final InstallmentStatus PROCESSED
public static final InstallmentStatus CANCELED
public static final InstallmentStatus SETTLED
public static final InstallmentStatus FAILED
public static final InstallmentStatus BLOCKED
public static InstallmentStatus[] values()
for (InstallmentStatus c : InstallmentStatus.values()) System.out.println(c);
public static InstallmentStatus 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 HasMessageKeypublic boolean isTerminal()