Package com.adyen.model.management
Enum CreateCompanyWebhookRequest.NetworkTypeEnum
- java.lang.Object
-
- java.lang.Enum<CreateCompanyWebhookRequest.NetworkTypeEnum>
-
- com.adyen.model.management.CreateCompanyWebhookRequest.NetworkTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CreateCompanyWebhookRequest.NetworkTypeEnum>
- Enclosing class:
- CreateCompanyWebhookRequest
public static enum CreateCompanyWebhookRequest.NetworkTypeEnum extends Enum<CreateCompanyWebhookRequest.NetworkTypeEnum>
Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCompanyWebhookRequest.NetworkTypeEnumfromValue(String value)StringgetValue()StringtoString()static CreateCompanyWebhookRequest.NetworkTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CreateCompanyWebhookRequest.NetworkTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final CreateCompanyWebhookRequest.NetworkTypeEnum LOCAL
-
PUBLIC
public static final CreateCompanyWebhookRequest.NetworkTypeEnum PUBLIC
-
-
Method Detail
-
values
public static CreateCompanyWebhookRequest.NetworkTypeEnum[] 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 (CreateCompanyWebhookRequest.NetworkTypeEnum c : CreateCompanyWebhookRequest.NetworkTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateCompanyWebhookRequest.NetworkTypeEnum 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<CreateCompanyWebhookRequest.NetworkTypeEnum>
-
fromValue
public static CreateCompanyWebhookRequest.NetworkTypeEnum fromValue(String value)
-
-