public static enum RestOffer.OfferRewardType extends Enum<RestOffer.OfferRewardType>
| Modifier and Type | Method and Description |
|---|---|
static RestOffer.OfferRewardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestOffer.OfferRewardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestOffer.OfferRewardType FIXED
public static final RestOffer.OfferRewardType PERCENT
public static RestOffer.OfferRewardType[] values()
for (RestOffer.OfferRewardType c : RestOffer.OfferRewardType.values()) System.out.println(c);
public static RestOffer.OfferRewardType 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 nullCopyright © 2018 Empyr, Inc.. All rights reserved.