Enum Class BalanceResultView.ProcessingStatus
java.lang.Object
java.lang.Enum<BalanceResultView.ProcessingStatus>
oracle.communication.brm.charging.ratedevent.custom.BalanceResultView.ProcessingStatus
- All Implemented Interfaces:
Serializable
,Comparable<BalanceResultView.ProcessingStatus>
,Constable
- Enclosing interface:
BalanceResultView
public static enum BalanceResultView.ProcessingStatus
extends Enum<BalanceResultView.ProcessingStatus>
Status values that the balance returns after executing the interface.
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.
- SUCCESS: operation was successful
- INSUFFICIENT_BALANCE: insufficient balance detected
- CREDIT_FLOOR_BREACH: operation went through, but the balance is crossing floor limit set in the credit profile
- CREDIT_CEILING_BREACH: operation went through, but the balance is crossing ceiling limit set in the credit profile
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BalanceResultView.ProcessingStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
-
CREDIT_FLOOR_BREACH
-
CREDIT_CEILING_BREACH
-
OFFER_PROFILE_THRESHOLD_CHANGE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-