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