public static enum Coupon.RedemptionResource extends Enum<Coupon.RedemptionResource>
| Enum Constant and Description |
|---|
account |
subscription |
| Modifier and Type | Method and Description |
|---|---|
static Coupon.RedemptionResource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Coupon.RedemptionResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coupon.RedemptionResource account
public static final Coupon.RedemptionResource subscription
public static Coupon.RedemptionResource[] values()
for (Coupon.RedemptionResource c : Coupon.RedemptionResource.values()) System.out.println(c);
public static Coupon.RedemptionResource 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 © 2012-2020. All Rights Reserved.