Package com.adyen.model.management
Enum Webhook.SslVersionEnum
- java.lang.Object
-
- java.lang.Enum<Webhook.SslVersionEnum>
-
- com.adyen.model.management.Webhook.SslVersionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Webhook.SslVersionEnum>
- Enclosing class:
- Webhook
public static enum Webhook.SslVersionEnum extends Enum<Webhook.SslVersionEnum>
SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhook.SslVersionEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTPSSLSSL_INSECURE_CIPHERSSSLV3TLSTLSV1TLSV1_1TLSV1_2TLSV1_3TLSV1_INSECURE_CIPHERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Webhook.SslVersionEnumfromValue(String value)StringgetValue()StringtoString()static Webhook.SslVersionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Webhook.SslVersionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final Webhook.SslVersionEnum HTTP
-
SSL
public static final Webhook.SslVersionEnum SSL
-
SSLV3
public static final Webhook.SslVersionEnum SSLV3
-
SSL_INSECURE_CIPHERS
public static final Webhook.SslVersionEnum SSL_INSECURE_CIPHERS
-
TLS
public static final Webhook.SslVersionEnum TLS
-
TLSV1
public static final Webhook.SslVersionEnum TLSV1
-
TLSV1_1
public static final Webhook.SslVersionEnum TLSV1_1
-
TLSV1_2
public static final Webhook.SslVersionEnum TLSV1_2
-
TLSV1_3
public static final Webhook.SslVersionEnum TLSV1_3
-
TLSV1_INSECURE_CIPHERS
public static final Webhook.SslVersionEnum TLSV1_INSECURE_CIPHERS
-
-
Method Detail
-
values
public static Webhook.SslVersionEnum[] 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 (Webhook.SslVersionEnum c : Webhook.SslVersionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Webhook.SslVersionEnum 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<Webhook.SslVersionEnum>
-
fromValue
public static Webhook.SslVersionEnum fromValue(String value)
-
-