public enum CompanionDeliveryOption extends Enum<CompanionDeliveryOption>
Java class for CompanionDeliveryOption.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CompanionDeliveryOption">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OPTIONAL"/>
<enumeration value="AT_LEAST_ONE"/>
<enumeration value="ALL"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL
All companions in the set must be served in order for the creative set to
be used.
|
AT_LEAST_ONE
At least one companion must be served in order for the creative set to be used.
|
OPTIONAL
Companions are not required to serve a creative set.
|
UNKNOWN
The delivery type is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static CompanionDeliveryOption |
fromValue(String v) |
String |
value() |
static CompanionDeliveryOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompanionDeliveryOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompanionDeliveryOption OPTIONAL
public static final CompanionDeliveryOption AT_LEAST_ONE
public static final CompanionDeliveryOption ALL
public static final CompanionDeliveryOption UNKNOWN
public static CompanionDeliveryOption[] values()
for (CompanionDeliveryOption c : CompanionDeliveryOption.values()) System.out.println(c);
public static CompanionDeliveryOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static CompanionDeliveryOption fromValue(String v)
Copyright © 2018. All Rights Reserved.