Package com.adyen.model.balanceplatform
Enum Condition.BalanceTypeEnum
- java.lang.Object
-
- java.lang.Enum<Condition.BalanceTypeEnum>
-
- com.adyen.model.balanceplatform.Condition.BalanceTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Condition.BalanceTypeEnum>
- Enclosing class:
- Condition
public static enum Condition.BalanceTypeEnum extends Enum<Condition.BalanceTypeEnum>
Define the type of balance about which you want to get notified. Possible values: * **available**: the balance available for use. * **balance**: the sum of transactions that have already been settled. * **pending**: the sum of transactions that will be settled in the future. * **reserved**: the balance currently held in reserve.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Condition.BalanceTypeEnumfromValue(String value)StringgetValue()StringtoString()static Condition.BalanceTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Condition.BalanceTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BALANCE
public static final Condition.BalanceTypeEnum BALANCE
-
AVAILABLE
public static final Condition.BalanceTypeEnum AVAILABLE
-
PENDING
public static final Condition.BalanceTypeEnum PENDING
-
RESERVED
public static final Condition.BalanceTypeEnum RESERVED
-
-
Method Detail
-
values
public static Condition.BalanceTypeEnum[] 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.BalanceTypeEnum c : Condition.BalanceTypeEnum.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.BalanceTypeEnum 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.BalanceTypeEnum>
-
fromValue
public static Condition.BalanceTypeEnum fromValue(String value)
-
-