public static enum PurchaseContext.PaymentType extends Enum<PurchaseContext.PaymentType>
Enum Constant and Description |
---|
AlreadyOwn |
Apple |
Simulator |
Web |
Modifier and Type | Method and Description |
---|---|
static PurchaseContext.PaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PurchaseContext.PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PurchaseContext.PaymentType AlreadyOwn
public static final PurchaseContext.PaymentType Apple
public static final PurchaseContext.PaymentType Simulator
public static final PurchaseContext.PaymentType Web
public static PurchaseContext.PaymentType[] values()
for (PurchaseContext.PaymentType c : PurchaseContext.PaymentType.values()) System.out.println(c);
public static PurchaseContext.PaymentType 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 © 2014 Equilibrium. All rights reserved.