Package com.adyen.model.balancecontrol
Enum BalanceTransferResponse.StatusEnum
- java.lang.Object
-
- java.lang.Enum<BalanceTransferResponse.StatusEnum>
-
- com.adyen.model.balancecontrol.BalanceTransferResponse.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<BalanceTransferResponse.StatusEnum>
- Enclosing class:
- BalanceTransferResponse
public static enum BalanceTransferResponse.StatusEnum extends Enum<BalanceTransferResponse.StatusEnum>
The status of the balance transfer. Possible values: **transferred**, **failed**, **error**, and **notEnoughBalance**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORFAILEDNOTENOUGHBALANCETRANSFERRED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BalanceTransferResponse.StatusEnumfromValue(String value)StringgetValue()StringtoString()static BalanceTransferResponse.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static BalanceTransferResponse.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final BalanceTransferResponse.StatusEnum ERROR
-
FAILED
public static final BalanceTransferResponse.StatusEnum FAILED
-
NOTENOUGHBALANCE
public static final BalanceTransferResponse.StatusEnum NOTENOUGHBALANCE
-
TRANSFERRED
public static final BalanceTransferResponse.StatusEnum TRANSFERRED
-
-
Method Detail
-
values
public static BalanceTransferResponse.StatusEnum[] 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 (BalanceTransferResponse.StatusEnum c : BalanceTransferResponse.StatusEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BalanceTransferResponse.StatusEnum 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<BalanceTransferResponse.StatusEnum>
-
fromValue
public static BalanceTransferResponse.StatusEnum fromValue(String value)
-
-