public enum FriendOfferType extends Enum<FriendOfferType>
| Enum Constant and Description |
|---|
_UNKNOWN |
COUPON |
COUPON_CODE |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static FriendOfferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FriendOfferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FriendOfferType NONE
public static final FriendOfferType COUPON
public static final FriendOfferType COUPON_CODE
public static final FriendOfferType _UNKNOWN
public static FriendOfferType[] values()
for (FriendOfferType c : FriendOfferType.values()) System.out.println(c);
public static FriendOfferType 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 © 2023 ChargeBee. All rights reserved.