public static enum BalanceResultView.ProcessingStatus extends java.lang.Enum<BalanceResultView.ProcessingStatus>
In this iteration, the status returned by Balance is checked by the caller and appropriate action is taken based on the strategy/flow. An exception is thrown to return all other abnormal (potentially to disrupt transaction) statuses.
Enum Constant and Description |
---|
CREDIT_CEILING_BREACH |
CREDIT_FLOOR_BREACH |
OFFER_PROFILE_THRESHOLD_CHANGE |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static BalanceResultView.ProcessingStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BalanceResultView.ProcessingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalanceResultView.ProcessingStatus SUCCESS
public static final BalanceResultView.ProcessingStatus CREDIT_FLOOR_BREACH
public static final BalanceResultView.ProcessingStatus CREDIT_CEILING_BREACH
public static final BalanceResultView.ProcessingStatus OFFER_PROFILE_THRESHOLD_CHANGE
public static BalanceResultView.ProcessingStatus[] values()
for (BalanceResultView.ProcessingStatus c : BalanceResultView.ProcessingStatus.values()) System.out.println(c);
public static BalanceResultView.ProcessingStatus 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