Enum TransferFailureCodeBankModel
- java.lang.Object
-
- java.lang.Enum<TransferFailureCodeBankModel>
-
- app.cybrid.cybrid_api_bank.client.model.TransferFailureCodeBankModel
-
- All Implemented Interfaces:
Serializable,Comparable<TransferFailureCodeBankModel>
public enum TransferFailureCodeBankModel extends Enum<TransferFailureCodeBankModel>
Gets or Sets TransferFailureCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMOUNT_TOO_LOWCANCELLEDCOMPLIANCE_REJECTIONINTERNAL_ERRORINVALID_ADDRESSLIMIT_EXCEEDEDNETWORK_FEE_TOO_LOWNON_SUFFICIENT_FUNDSPARTY_NAME_INVALIDPAYMENT_RAIL_INVALIDREFRESH_REQUIREDREVERSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransferFailureCodeBankModelfromValue(String value)StringgetValue()StringtoString()static TransferFailureCodeBankModelvalueOf(String name)Returns the enum constant of this type with the specified name.static TransferFailureCodeBankModel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_SUFFICIENT_FUNDS
public static final TransferFailureCodeBankModel NON_SUFFICIENT_FUNDS
-
REFRESH_REQUIRED
public static final TransferFailureCodeBankModel REFRESH_REQUIRED
-
PARTY_NAME_INVALID
public static final TransferFailureCodeBankModel PARTY_NAME_INVALID
-
PAYMENT_RAIL_INVALID
public static final TransferFailureCodeBankModel PAYMENT_RAIL_INVALID
-
COMPLIANCE_REJECTION
public static final TransferFailureCodeBankModel COMPLIANCE_REJECTION
-
CANCELLED
public static final TransferFailureCodeBankModel CANCELLED
-
REVERSED
public static final TransferFailureCodeBankModel REVERSED
-
LIMIT_EXCEEDED
public static final TransferFailureCodeBankModel LIMIT_EXCEEDED
-
NETWORK_FEE_TOO_LOW
public static final TransferFailureCodeBankModel NETWORK_FEE_TOO_LOW
-
AMOUNT_TOO_LOW
public static final TransferFailureCodeBankModel AMOUNT_TOO_LOW
-
INTERNAL_ERROR
public static final TransferFailureCodeBankModel INTERNAL_ERROR
-
INVALID_ADDRESS
public static final TransferFailureCodeBankModel INVALID_ADDRESS
-
-
Method Detail
-
values
public static TransferFailureCodeBankModel[] 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 (TransferFailureCodeBankModel c : TransferFailureCodeBankModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransferFailureCodeBankModel 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<TransferFailureCodeBankModel>
-
fromValue
public static TransferFailureCodeBankModel fromValue(String value)
-
-