com.braintreegateway
public static enum CreditCard.Commercial extends Enum<CreditCard.Commercial>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CreditCard.Commercial |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditCard.Commercial[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCard.Commercial YES
public static final CreditCard.Commercial NO
public static final CreditCard.Commercial UNKNOWN
private final String value
public static CreditCard.Commercial[] values()
for (CreditCard.Commercial c : CreditCard.Commercial.values()) System.out.println(c);
public static CreditCard.Commercial 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 nullpublic String toString()
toString
in class Enum<CreditCard.Commercial>
Copyright © 2013-2014. All Rights Reserved.