Package com.braintreegateway
Enum CreditCard.DebitNetwork
- java.lang.Object
-
- java.lang.Enum<CreditCard.DebitNetwork>
-
- com.braintreegateway.CreditCard.DebitNetwork
-
- All Implemented Interfaces:
Serializable,Comparable<CreditCard.DebitNetwork>
- Enclosing class:
- CreditCard
public static enum CreditCard.DebitNetwork extends Enum<CreditCard.DebitNetwork>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateDebitNetwork()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreditCard.DebitNetworkvalueOf(String name)Returns the enum constant of this type with the specified name.static CreditCard.DebitNetwork[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEL
public static final CreditCard.DebitNetwork ACCEL
-
MAESTRO
public static final CreditCard.DebitNetwork MAESTRO
-
NYCE
public static final CreditCard.DebitNetwork NYCE
-
PULSE
public static final CreditCard.DebitNetwork PULSE
-
STAR
public static final CreditCard.DebitNetwork STAR
-
STAR_ACCESS
public static final CreditCard.DebitNetwork STAR_ACCESS
-
-
Method Detail
-
values
public static CreditCard.DebitNetwork[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreditCard.DebitNetwork c : CreditCard.DebitNetwork.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreditCard.DebitNetwork valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-