Package com.adyen.model.management
Enum CreateMerchantWebhookRequest.EncryptionProtocolEnum
- java.lang.Object
-
- java.lang.Enum<CreateMerchantWebhookRequest.EncryptionProtocolEnum>
-
- com.adyen.model.management.CreateMerchantWebhookRequest.EncryptionProtocolEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CreateMerchantWebhookRequest.EncryptionProtocolEnum>
- Enclosing class:
- CreateMerchantWebhookRequest
public static enum CreateMerchantWebhookRequest.EncryptionProtocolEnum extends Enum<CreateMerchantWebhookRequest.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 CreateMerchantWebhookRequest.EncryptionProtocolEnumfromValue(String value)StringgetValue()StringtoString()static CreateMerchantWebhookRequest.EncryptionProtocolEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CreateMerchantWebhookRequest.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 CreateMerchantWebhookRequest.EncryptionProtocolEnum HTTP
-
TLSV1_2
public static final CreateMerchantWebhookRequest.EncryptionProtocolEnum TLSV1_2
-
TLSV1_3
public static final CreateMerchantWebhookRequest.EncryptionProtocolEnum TLSV1_3
-
-
Method Detail
-
values
public static CreateMerchantWebhookRequest.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 (CreateMerchantWebhookRequest.EncryptionProtocolEnum c : CreateMerchantWebhookRequest.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 CreateMerchantWebhookRequest.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<CreateMerchantWebhookRequest.EncryptionProtocolEnum>
-
fromValue
public static CreateMerchantWebhookRequest.EncryptionProtocolEnum fromValue(String value)
-
-