Enum PostTransferBankModel.ExpectedErrorEnum
- java.lang.Object
-
- java.lang.Enum<PostTransferBankModel.ExpectedErrorEnum>
-
- app.cybrid.cybrid_api_bank.client.model.PostTransferBankModel.ExpectedErrorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PostTransferBankModel.ExpectedErrorEnum>
- Enclosing class:
- PostTransferBankModel
public static enum PostTransferBankModel.ExpectedErrorEnum extends Enum<PostTransferBankModel.ExpectedErrorEnum>
The optional expected error to simulate transfer failure.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCOMPLETEDFAILEDIN_PROGRESSMANUAL_INTERVENTIONPENDINGREVERSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostTransferBankModel.ExpectedErrorEnumfromValue(String value)StringgetValue()StringtoString()static PostTransferBankModel.ExpectedErrorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PostTransferBankModel.ExpectedErrorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final PostTransferBankModel.ExpectedErrorEnum PENDING
-
IN_PROGRESS
public static final PostTransferBankModel.ExpectedErrorEnum IN_PROGRESS
-
COMPLETED
public static final PostTransferBankModel.ExpectedErrorEnum COMPLETED
-
FAILED
public static final PostTransferBankModel.ExpectedErrorEnum FAILED
-
CANCELLED
public static final PostTransferBankModel.ExpectedErrorEnum CANCELLED
-
MANUAL_INTERVENTION
public static final PostTransferBankModel.ExpectedErrorEnum MANUAL_INTERVENTION
-
REVERSED
public static final PostTransferBankModel.ExpectedErrorEnum REVERSED
-
-
Method Detail
-
values
public static PostTransferBankModel.ExpectedErrorEnum[] 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 (PostTransferBankModel.ExpectedErrorEnum c : PostTransferBankModel.ExpectedErrorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostTransferBankModel.ExpectedErrorEnum 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<PostTransferBankModel.ExpectedErrorEnum>
-
fromValue
public static PostTransferBankModel.ExpectedErrorEnum fromValue(String value)
-
-