public enum RedeemedOfferType extends java.lang.Enum<RedeemedOfferType>
Java class for RedeemedOfferType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RedeemedOfferType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="MERCHANT_COUPON"/> <enumeration value="LOYALTY_CARD"/> <enumeration value="MANUFACTURER_COUPON"/> <enumeration value="RESERVED"/> </restriction> </simpleType>
Enum Constant and Description |
---|
LOYALTY_CARD |
MANUFACTURER_COUPON |
MERCHANT_COUPON |
RESERVED |
Modifier and Type | Method and Description |
---|---|
static RedeemedOfferType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static RedeemedOfferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedeemedOfferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedeemedOfferType MERCHANT_COUPON
public static final RedeemedOfferType LOYALTY_CARD
public static final RedeemedOfferType MANUFACTURER_COUPON
public static final RedeemedOfferType RESERVED
public static RedeemedOfferType[] values()
for (RedeemedOfferType c : RedeemedOfferType.values()) System.out.println(c);
public static RedeemedOfferType 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 java.lang.String value()
public static RedeemedOfferType fromValue(java.lang.String v)
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.