Enum PaynetErrorCode
java.lang.Object
java.lang.Enum<PaynetErrorCode>
ru.bitel.bgbilling.modules.mps.server.bean.ws.paynet.PaynetErrorCode
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PaynetErrorCode>
,java.lang.constant.Constable
public enum PaynetErrorCode extends java.lang.Enum<PaynetErrorCode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description int
getErrorCode()
Получение кода ошибки/статусаjava.lang.String
getErrorMsg()
Получение строкового описания данного кода/статуса.java.lang.String
toString()
static PaynetErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaynetErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
SUCCESS
-
NOT_SUPPORTED
-
REACHED_QUOTA
-
SYSTEM_ERROR
-
UNKNOWN_ERROR
-
TRANSACTION_ALREADY_EXIST
-
TRANSACTION_ALREADY_CANCELLED
-
CARD_ALREADY_REGISTERED
-
NUMBER_IS_NOT_EXIST
-
CLIENT_IS_NOT_FOUND
-
ORDER_IS_NOT_EXIST
-
PRODUCT_IS_NOT_FOUND
-
SERVICE_IS_NOT_FOUND
-
VALIDATION_ERROR_1
-
VALIDATION_ERROR_2
-
VALIDATION_ERROR_3
-
VALIDATION_ERROR_4
-
VALIDATION_ERROR_5
-
VALIDATION_ERROR_6
-
VALIDATION_ERROR_7
-
VALIDATION_ERROR_8
-
VALIDATION_ERROR_9
-
VALIDATION_ERROR_10
-
REQUIRED_PARAMETER_NOT_SPECIFIED
-
INVALID_LOGIN
-
INVALID_SUM
-
INVALID_DATE_FORMAT
-
DENIED_FOR_JURIDICAL
-
CLIENT_OUT_OF_SERVICE
-
ACCESS_DENIED
-
TIME_SINCHRONIZATION_ERROR
-
INVALID_COMMAND_CODE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getErrorMsg
public java.lang.String getErrorMsg()Получение строкового описания данного кода/статуса.- Returns:
- сроковое описание кода
-
getErrorCode
public int getErrorCode()Получение кода ошибки/статуса- Returns:
- the errorCode
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<PaynetErrorCode>
-