public enum OptInLevel extends java.lang.Enum<OptInLevel>
| Enum Constant and Description |
|---|
CREATE_AND_SEND_COMMERCIAL_OPTED_IN |
CREATE_AND_SEND_TRANSACTIONAL_OPTED_IN |
EMAIL_COMMERCIAL_OPTED_IN |
EMAIL_COMMERCIAL_OPTED_OUT |
EMAIL_TRANSACTIONAL_OPTED_IN |
EMAIL_TRANSACTIONAL_OPTED_OUT |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<OptInLevel> |
find(java.lang.String identifier) |
java.lang.String |
getIdentifier() |
static OptInLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptInLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptInLevel EMAIL_COMMERCIAL_OPTED_IN
public static final OptInLevel EMAIL_COMMERCIAL_OPTED_OUT
public static final OptInLevel EMAIL_TRANSACTIONAL_OPTED_IN
public static final OptInLevel EMAIL_TRANSACTIONAL_OPTED_OUT
public static final OptInLevel CREATE_AND_SEND_COMMERCIAL_OPTED_IN
public static final OptInLevel CREATE_AND_SEND_TRANSACTIONAL_OPTED_IN
public static final OptInLevel NONE
public static OptInLevel[] values()
for (OptInLevel c : OptInLevel.values()) System.out.println(c);
public static OptInLevel 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 nullpublic static java.util.Optional<OptInLevel> find(java.lang.String identifier)
public java.lang.String getIdentifier()