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>
  • Enum Constant Details

    • SUCCESS

      public static final PaynetErrorCode SUCCESS
    • NOT_SUPPORTED

      public static final PaynetErrorCode NOT_SUPPORTED
    • REACHED_QUOTA

      public static final PaynetErrorCode REACHED_QUOTA
    • SYSTEM_ERROR

      public static final PaynetErrorCode SYSTEM_ERROR
    • UNKNOWN_ERROR

      public static final PaynetErrorCode UNKNOWN_ERROR
    • TRANSACTION_ALREADY_EXIST

      public static final PaynetErrorCode TRANSACTION_ALREADY_EXIST
    • TRANSACTION_ALREADY_CANCELLED

      public static final PaynetErrorCode TRANSACTION_ALREADY_CANCELLED
    • CARD_ALREADY_REGISTERED

      public static final PaynetErrorCode CARD_ALREADY_REGISTERED
    • NUMBER_IS_NOT_EXIST

      public static final PaynetErrorCode NUMBER_IS_NOT_EXIST
    • CLIENT_IS_NOT_FOUND

      public static final PaynetErrorCode CLIENT_IS_NOT_FOUND
    • ORDER_IS_NOT_EXIST

      public static final PaynetErrorCode ORDER_IS_NOT_EXIST
    • PRODUCT_IS_NOT_FOUND

      public static final PaynetErrorCode PRODUCT_IS_NOT_FOUND
    • SERVICE_IS_NOT_FOUND

      public static final PaynetErrorCode SERVICE_IS_NOT_FOUND
    • VALIDATION_ERROR_1

      public static final PaynetErrorCode VALIDATION_ERROR_1
    • VALIDATION_ERROR_2

      public static final PaynetErrorCode VALIDATION_ERROR_2
    • VALIDATION_ERROR_3

      public static final PaynetErrorCode VALIDATION_ERROR_3
    • VALIDATION_ERROR_4

      public static final PaynetErrorCode VALIDATION_ERROR_4
    • VALIDATION_ERROR_5

      public static final PaynetErrorCode VALIDATION_ERROR_5
    • VALIDATION_ERROR_6

      public static final PaynetErrorCode VALIDATION_ERROR_6
    • VALIDATION_ERROR_7

      public static final PaynetErrorCode VALIDATION_ERROR_7
    • VALIDATION_ERROR_8

      public static final PaynetErrorCode VALIDATION_ERROR_8
    • VALIDATION_ERROR_9

      public static final PaynetErrorCode VALIDATION_ERROR_9
    • VALIDATION_ERROR_10

      public static final PaynetErrorCode VALIDATION_ERROR_10
    • REQUIRED_PARAMETER_NOT_SPECIFIED

      public static final PaynetErrorCode REQUIRED_PARAMETER_NOT_SPECIFIED
    • INVALID_LOGIN

      public static final PaynetErrorCode INVALID_LOGIN
    • INVALID_SUM

      public static final PaynetErrorCode INVALID_SUM
    • INVALID_DATE_FORMAT

      public static final PaynetErrorCode INVALID_DATE_FORMAT
    • DENIED_FOR_JURIDICAL

      public static final PaynetErrorCode DENIED_FOR_JURIDICAL
    • CLIENT_OUT_OF_SERVICE

      public static final PaynetErrorCode CLIENT_OUT_OF_SERVICE
    • ACCESS_DENIED

      public static final PaynetErrorCode ACCESS_DENIED
    • TIME_SINCHRONIZATION_ERROR

      public static final PaynetErrorCode TIME_SINCHRONIZATION_ERROR
    • INVALID_COMMAND_CODE

      public static final PaynetErrorCode INVALID_COMMAND_CODE
  • Method Details

    • values

      public static PaynetErrorCode[] 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

      public static PaynetErrorCode valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.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 class java.lang.Enum<PaynetErrorCode>