Enum Class AGRErrorCode

java.lang.Object
java.lang.Enum<AGRErrorCode>
ru.bitel.bgbilling.modules.agr.server.bean.AGRErrorCode
All Implemented Interfaces:
Serializable, Comparable<AGRErrorCode>, Constable

public enum AGRErrorCode extends Enum<AGRErrorCode>
Список ошибок платежного модуля AGR
  • Enum Constant Details

    • SUCCESS

      public static final AGRErrorCode SUCCESS
    • SIGN_CHECK_FAILED

      public static final AGRErrorCode SIGN_CHECK_FAILED
    • INCORRECT_PARAMETER_AMOUNT

      public static final AGRErrorCode INCORRECT_PARAMETER_AMOUNT
    • ACTION_NOT_FOUND

      public static final AGRErrorCode ACTION_NOT_FOUND
    • ALREADY_PAID

      public static final AGRErrorCode ALREADY_PAID
    • USER_DOES_NOT_EXIST

      public static final AGRErrorCode USER_DOES_NOT_EXIST
    • TRANSACTION_DOES_NOT_EXIST

      public static final AGRErrorCode TRANSACTION_DOES_NOT_EXIST
    • FAILED_TO_UPDATE_USER

      public static final AGRErrorCode FAILED_TO_UPDATE_USER
    • ERROR_IN_REQUEST_FROM_AGR

      public static final AGRErrorCode ERROR_IN_REQUEST_FROM_AGR
    • TRANSACTION_CANCELLED

      public static final AGRErrorCode TRANSACTION_CANCELLED
    • VENDOR_IS_NOT_FOUND

      public static final AGRErrorCode VENDOR_IS_NOT_FOUND
    • SYSTEM_ERROR

      public static final AGRErrorCode SYSTEM_ERROR
  • Method Details

    • values

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

      public static AGRErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()