Package com.adyen.model.balanceplatform
Enum Condition.ConditionTypeEnum
- java.lang.Object
-
- java.lang.Enum<Condition.ConditionTypeEnum>
-
- com.adyen.model.balanceplatform.Condition.ConditionTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Condition.ConditionTypeEnum>
- Enclosing class:
- Condition
public static enum Condition.ConditionTypeEnum extends Enum<Condition.ConditionTypeEnum>
Define when you want to get notified about a balance change. Possible values: * **greaterThan**: the balance in the account(s) exceeds the specified `value`. * **greaterThanOrEqual**: the balance in the account(s) reaches or exceeds the specified `value`. * **lessThan**: the balance in the account(s) drops below the specified `value`. * **lessThanOrEqual**: the balance in the account(s) reaches to drops below the specified `value`.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREATERTHANGREATERTHANOREQUALLESSTHANLESSTHANOREQUAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Condition.ConditionTypeEnumfromValue(String value)StringgetValue()StringtoString()static Condition.ConditionTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Condition.ConditionTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GREATERTHAN
public static final Condition.ConditionTypeEnum GREATERTHAN
-
GREATERTHANOREQUAL
public static final Condition.ConditionTypeEnum GREATERTHANOREQUAL
-
LESSTHAN
public static final Condition.ConditionTypeEnum LESSTHAN
-
LESSTHANOREQUAL
public static final Condition.ConditionTypeEnum LESSTHANOREQUAL
-
-
Method Detail
-
values
public static Condition.ConditionTypeEnum[] 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 (Condition.ConditionTypeEnum c : Condition.ConditionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Condition.ConditionTypeEnum 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<Condition.ConditionTypeEnum>
-
fromValue
public static Condition.ConditionTypeEnum fromValue(String value)
-
-