Package com.hyperwallet.clientsdk.model
Enum HyperwalletPrepaidCard.Brand
- java.lang.Object
-
- java.lang.Enum<HyperwalletPrepaidCard.Brand>
-
- com.hyperwallet.clientsdk.model.HyperwalletPrepaidCard.Brand
-
- All Implemented Interfaces:
Serializable,Comparable<HyperwalletPrepaidCard.Brand>
- Enclosing class:
- HyperwalletPrepaidCard
public static enum HyperwalletPrepaidCard.Brand extends Enum<HyperwalletPrepaidCard.Brand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MASTERCARDVISA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HyperwalletPrepaidCard.BrandvalueOf(String name)Returns the enum constant of this type with the specified name.static HyperwalletPrepaidCard.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 HyperwalletPrepaidCard.Brand VISA
-
MASTERCARD
public static final HyperwalletPrepaidCard.Brand MASTERCARD
-
-
Method Detail
-
values
public static HyperwalletPrepaidCard.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 (HyperwalletPrepaidCard.Brand c : HyperwalletPrepaidCard.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 HyperwalletPrepaidCard.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
-
-