Package com.adyen.model.management
Enum ShopperStatement.TypeEnum
- java.lang.Object
-
- java.lang.Enum<ShopperStatement.TypeEnum>
-
- com.adyen.model.management.ShopperStatement.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ShopperStatement.TypeEnum>
- Enclosing class:
- ShopperStatement
public static enum ShopperStatement.TypeEnum extends Enum<ShopperStatement.TypeEnum>
The type of shopperstatement you want to use: fixed, append or dynamic
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShopperStatement.TypeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShopperStatement.TypeEnumfromValue(String value)StringgetValue()StringtoString()static ShopperStatement.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ShopperStatement.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPEND
public static final ShopperStatement.TypeEnum APPEND
-
DYNAMIC
public static final ShopperStatement.TypeEnum DYNAMIC
-
FIXED
public static final ShopperStatement.TypeEnum FIXED
-
-
Method Detail
-
values
public static ShopperStatement.TypeEnum[] 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 (ShopperStatement.TypeEnum c : ShopperStatement.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShopperStatement.TypeEnum 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<ShopperStatement.TypeEnum>
-
fromValue
public static ShopperStatement.TypeEnum fromValue(String value)
-
-