public enum ProductType extends Enum<ProductType>
Java class for ProductType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProductType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DFP"/>
<enumeration value="OFFLINE"/>
<enumeration value="NON_DFP"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DFP
For line items that are booked and managed in DFP.
|
NON_DFP
For campaigns that are booked and managed by a third party outside of DFP.
|
OFFLINE
Offline charges indicate services you render for a client which are also outside of the DFP
system, such as consulting or creative services.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProductType |
fromValue(String v) |
String |
value() |
static ProductType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductType DFP
public static final ProductType OFFLINE
public static final ProductType NON_DFP
public static final ProductType UNKNOWN
public static ProductType[] values()
for (ProductType c : ProductType.values()) System.out.println(c);
public static ProductType 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 ProductType fromValue(String v)
Copyright © 2018. All Rights Reserved.