Package com.adyen.model.management
Enum UpdateMerchantWebhookRequest.EncryptionProtocolEnum
- java.lang.Object
-
- java.lang.Enum<UpdateMerchantWebhookRequest.EncryptionProtocolEnum>
-
- com.adyen.model.management.UpdateMerchantWebhookRequest.EncryptionProtocolEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UpdateMerchantWebhookRequest.EncryptionProtocolEnum>
- Enclosing class:
- UpdateMerchantWebhookRequest
public static enum UpdateMerchantWebhookRequest.EncryptionProtocolEnum extends Enum<UpdateMerchantWebhookRequest.EncryptionProtocolEnum>
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**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMerchantWebhookRequest.EncryptionProtocolEnumfromValue(String value)StringgetValue()StringtoString()static UpdateMerchantWebhookRequest.EncryptionProtocolEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UpdateMerchantWebhookRequest.EncryptionProtocolEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final UpdateMerchantWebhookRequest.EncryptionProtocolEnum HTTP
-
TLSV1_2
public static final UpdateMerchantWebhookRequest.EncryptionProtocolEnum TLSV1_2
-
TLSV1_3
public static final UpdateMerchantWebhookRequest.EncryptionProtocolEnum TLSV1_3
-
-
Method Detail
-
values
public static UpdateMerchantWebhookRequest.EncryptionProtocolEnum[] 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 (UpdateMerchantWebhookRequest.EncryptionProtocolEnum c : UpdateMerchantWebhookRequest.EncryptionProtocolEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateMerchantWebhookRequest.EncryptionProtocolEnum 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<UpdateMerchantWebhookRequest.EncryptionProtocolEnum>
-
fromValue
public static UpdateMerchantWebhookRequest.EncryptionProtocolEnum fromValue(String value)
-
-