Enum Class PaynetErrorCode
java.lang.Object
java.lang.Enum<PaynetErrorCode>
ru.bitel.bgbilling.modules.mps.server.bean.ws.paynet.PaynetErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<PaynetErrorCode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
Получение кода ошибки/статусаПолучение строкового описания данного кода/статуса.toString()
static PaynetErrorCode
Returns the enum constant of this class with the specified name.static PaynetErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
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 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
-
getErrorMsg
Получение строкового описания данного кода/статуса.- Returns:
- сроковое описание кода
-
getErrorCode
public int getErrorCode()Получение кода ошибки/статуса- Returns:
- the errorCode
-
toString
- Overrides:
toString
in classEnum<PaynetErrorCode>
-