Package com.skava.oms.model
Enum Class Fraud.StatusEnum
- All Implemented Interfaces:
Serializable
,Comparable<Fraud.StatusEnum>
,Constable
- Enclosing class:
- Fraud
Indicates the fraud status of an order or an order item. This field should not be null or empty.
The possible values can be:
- ACCEPT OR 0 - Indicates the order is accepted and the fraud is removed from the order.
- REJECT OR 1 - Indicates the order is rejected as the order is identified as fraud.
- IN_REVIEW OR 2 - Indicates the order is still in review for fraud.
-
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 Fraud.StatusEnum
Returns the enum constant of this class with the specified name.static Fraud.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
-