Package com.adyen.model.balanceplatform
Enum Target.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Target.TypeEnum>
-
- com.adyen.model.balanceplatform.Target.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Target.TypeEnum>
- Enclosing class:
- Target
public static enum Target.TypeEnum extends Enum<Target.TypeEnum>
The resource for which you want to receive notifications. Possible values: * **balancePlatform**: receive notifications about balance changes in your entire balance platform. * **accountHolder**: receive notifications about balance changes of a specific user. * **balanceAccount**: receive notifications about balance changes in a specific balance account.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTHOLDERBALANCEACCOUNTBALANCEPLATFORM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Target.TypeEnumfromValue(String value)StringgetValue()StringtoString()static Target.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Target.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BALANCEACCOUNT
public static final Target.TypeEnum BALANCEACCOUNT
-
ACCOUNTHOLDER
public static final Target.TypeEnum ACCOUNTHOLDER
-
BALANCEPLATFORM
public static final Target.TypeEnum BALANCEPLATFORM
-
-
Method Detail
-
values
public static Target.TypeEnum[] 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 (Target.TypeEnum c : Target.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Target.TypeEnum 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<Target.TypeEnum>
-
fromValue
public static Target.TypeEnum fromValue(String value)
-
-