Enum Class TransferExceptionCode
java.lang.Object
java.lang.Enum<TransferExceptionCode>
es.kukenan.smartfi.microservice.transfer.exceptions.enums.TransferExceptionCode
- All Implemented Interfaces:
Serializable,Comparable<TransferExceptionCode>,Constable
Move money exception codes enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransfer required fields.Transfer limits exceeded.Transfer already favorite.International transfer.Wrong IBAN/CCC.IBAN don't correspond BIC.Currency must be EUR.Phone must be national.Transfer already cancelled.Invalid currency.International transfer as SEPA.Invalid currency for international transfer.Amount greater than the balance of the account.Invalid origin.Invalid beneficiary.Invalid amount.Invalid date.Invalid frequency type.Invalid reason.Invalid email format.Invalid transfer mode.Invalid favorite alias.Invalid BIC.Can't do the transfer.Can't sign.Already signed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TransferExceptionCodeReturns the enum constant of this class with the specified name.static TransferExceptionCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
C400000301
Transfer required fields. -
C400000302
Transfer limits exceeded. -
C400000303
Transfer already favorite. -
C400000304
International transfer. -
C400000305
Wrong IBAN/CCC. -
C400000306
IBAN don't correspond BIC. -
C400000307
Currency must be EUR. -
C400000308
Phone must be national. -
C400000309
Transfer already cancelled. -
C400000310
Invalid currency. -
C400000311
International transfer as SEPA. -
C400000312
Invalid currency for international transfer. -
C400000313
Amount greater than the balance of the account. -
C400000314
Invalid origin. -
C400000315
Invalid beneficiary. -
C400000316
Invalid amount. -
C400000317
Invalid date. -
C400000318
Invalid frequency type. -
C400000319
Invalid reason. -
C400000320
Invalid email format. -
C400000321
Invalid transfer mode. -
C400000322
Invalid favorite alias. -
C400000323
Invalid BIC. -
C503000301
Can't do the transfer. -
C503000302
Can't sign. -
C503000303
Already signed.
-
-
Constructor Details
-
TransferExceptionCode
private TransferExceptionCode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-