Enum TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum
- java.lang.Object
-
- java.lang.Enum<TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum>
-
- com.adyen.model.tokenizationwebhooks.TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum>
- Enclosing class:
- TokenizationCreatedDetailsNotificationRequest
public static enum TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum extends Enum<TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum>
The environment from which the webhook originated. Possible values: **test**, **live**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnumfromValue(String value)StringgetValue()StringtoString()static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEST
public static final TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum TEST
-
LIVE
public static final TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum LIVE
-
-
Method Detail
-
values
public static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum[] 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 (TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum c : TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum 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<TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum>
-
fromValue
public static TokenizationCreatedDetailsNotificationRequest.EnvironmentEnum fromValue(String value)
-
-