Package com.adyen.model.transfers
Enum Transaction.StatusEnum
- java.lang.Object
-
- java.lang.Enum<Transaction.StatusEnum>
-
- com.adyen.model.transfers.Transaction.StatusEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Transaction.StatusEnum>
- Enclosing class:
- Transaction
public static enum Transaction.StatusEnum extends Enum<Transaction.StatusEnum>
The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transaction.StatusEnumfromValue(String value)StringgetValue()StringtoString()static Transaction.StatusEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Transaction.StatusEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOKED
public static final Transaction.StatusEnum BOOKED
-
PENDING
public static final Transaction.StatusEnum PENDING
-
-
Method Detail
-
values
public static Transaction.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 (Transaction.StatusEnum c : Transaction.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 Transaction.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<Transaction.StatusEnum>
-
fromValue
public static Transaction.StatusEnum fromValue(String value)
-
-