Enum AGRErrorCode

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

public enum AGRErrorCode
extends java.lang.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 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 AGRErrorCode 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
    • getCode

      public int getCode()