public enum OfferType extends java.lang.Enum<OfferType>
DfeApi.requestDetails(String)) for digital
goods contain one or more offertypes that specify the conditions under which
the item may be checked out.| Enum Constant and Description |
|---|
BUNDLED |
GROUP_LICENSE |
LICENSE |
NONE |
PREORDER |
PURCHASE |
PURCHASE_HIGH_DEF |
RENTAL |
RENTAL_HIGH_DEF |
REWARD |
SAMPLE |
SUBSCRIPTION |
SUBSCRIPTION_CONTENT |
UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static OfferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OfferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfferType UNKNOWN
public static final OfferType PURCHASE
public static final OfferType SAMPLE
public static final OfferType RENTAL
public static final OfferType RENTAL_HIGH_DEF
public static final OfferType PREORDER
public static final OfferType PURCHASE_HIGH_DEF
public static final OfferType BUNDLED
public static final OfferType GROUP_LICENSE
public static final OfferType LICENSE
public static final OfferType SUBSCRIPTION_CONTENT
public static final OfferType SUBSCRIPTION
public static final OfferType REWARD
public static final OfferType NONE
public static OfferType[] values()
for (OfferType c : OfferType.values()) System.out.println(c);
public static OfferType 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 null