Package com.skava.oms.model
Enum Class FraudHistory.StatusEnum
- All Implemented Interfaces:
Serializable
,Comparable<FraudHistory.StatusEnum>
,Constable
- Enclosing class:
- FraudHistory
Indicates the existing fraud history status of an order or an order item.
The possible fraud statuses are:
- ACCEPT OR 0 - The fraud history in the order is being accepted as genuine and the order is moved to the submitted state.
- REJECT OR 1 - The fraud history in the order is rejected and the order is being deleted.
- IN_REVIEW OR 2 - The fraud history in the order is being reviewed. The order will be accepted or rejected from the IN_REVIEW state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FraudHistory.StatusEnum
Returns the enum constant of this class with the specified name.static FraudHistory.StatusEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPT
-
IN_REVIEW
-
REJECT
-
-
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
-