com.braintreegateway
public static enum SandboxValues.CreditCardNumber extends Enum<SandboxValues.CreditCardNumber>
| Enum Constant and Description |
|---|
FRAUD |
MASTER_CARD |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static SandboxValues.CreditCardNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SandboxValues.CreditCardNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SandboxValues.CreditCardNumber VISA
public static final SandboxValues.CreditCardNumber MASTER_CARD
public static final SandboxValues.CreditCardNumber FRAUD
public String number
public static SandboxValues.CreditCardNumber[] values()
for (SandboxValues.CreditCardNumber c : SandboxValues.CreditCardNumber.values()) System.out.println(c);
public static SandboxValues.CreditCardNumber 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 © 2013-2014. All Rights Reserved.