Package com.hyperwallet.clientsdk.model
Enum HyperwalletBankCard.Brand
- java.lang.Object
-
- java.lang.Enum<HyperwalletBankCard.Brand>
-
- com.hyperwallet.clientsdk.model.HyperwalletBankCard.Brand
-
- All Implemented Interfaces:
Serializable,Comparable<HyperwalletBankCard.Brand>
- Enclosing class:
- HyperwalletBankCard
public static enum HyperwalletBankCard.Brand extends Enum<HyperwalletBankCard.Brand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MASTERCARDVISA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HyperwalletBankCard.BrandvalueOf(String name)Returns the enum constant of this type with the specified name.static HyperwalletBankCard.Brand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISA
public static final HyperwalletBankCard.Brand VISA
-
MASTERCARD
public static final HyperwalletBankCard.Brand MASTERCARD
-
-
Method Detail
-
values
public static HyperwalletBankCard.Brand[] 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 (HyperwalletBankCard.Brand c : HyperwalletBankCard.Brand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HyperwalletBankCard.Brand 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
-
-