Package com.bhn.csp.pricing.common.enums
Enum DigitalMethod
- java.lang.Object
-
- java.lang.Enum<DigitalMethod>
-
- com.bhn.csp.pricing.common.enums.DigitalMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DigitalMethod>
public enum DigitalMethod extends java.lang.Enum<DigitalMethod>
DigitalMethod class.
- Version:
- $Id: $Id
- Author:
- pvela00
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DigitalMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DigitalMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMAIL
public static final DigitalMethod EMAIL
-
SMS
public static final DigitalMethod SMS
-
WHATSAPP
public static final DigitalMethod WHATSAPP
-
NA
public static final DigitalMethod NA
-
-
Method Detail
-
values
public static DigitalMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DigitalMethod c : DigitalMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigitalMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-