Package com.adyen.model.balanceplatform
Enum CardInfo.FormFactorEnum
- java.lang.Object
-
- java.lang.Enum<CardInfo.FormFactorEnum>
-
- com.adyen.model.balanceplatform.CardInfo.FormFactorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CardInfo.FormFactorEnum>
- Enclosing class:
- CardInfo
public static enum CardInfo.FormFactorEnum extends Enum<CardInfo.FormFactorEnum>
The form factor of the card. Possible values: **virtual**, **physical**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardInfo.FormFactorEnumfromValue(String value)StringgetValue()StringtoString()static CardInfo.FormFactorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CardInfo.FormFactorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHYSICAL
public static final CardInfo.FormFactorEnum PHYSICAL
-
UNKNOWN
public static final CardInfo.FormFactorEnum UNKNOWN
-
VIRTUAL
public static final CardInfo.FormFactorEnum VIRTUAL
-
-
Method Detail
-
values
public static CardInfo.FormFactorEnum[] 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 (CardInfo.FormFactorEnum c : CardInfo.FormFactorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardInfo.FormFactorEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CardInfo.FormFactorEnum>
-
fromValue
public static CardInfo.FormFactorEnum fromValue(String value)
-
-