Enum ElecsnetAbstractTransactionManager.AnswerCode
java.lang.Object
java.lang.Enum<ElecsnetAbstractTransactionManager.AnswerCode>
ru.bitel.bgbilling.modules.mps.server.bean.protocol.ElecsnetAbstractTransactionManager.AnswerCode
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ElecsnetAbstractTransactionManager.AnswerCode>,java.lang.constant.Constable
- Enclosing class:
- ElecsnetAbstractTransactionManager
protected static enum ElecsnetAbstractTransactionManager.AnswerCode extends java.lang.Enum<ElecsnetAbstractTransactionManager.AnswerCode>
Коды ошибок протокола Елекснет.
-
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
Enum Constants Enum Constant Description ACCEPT_PAYMENTВ не финансовом запросе платеж разрешен В финансовом запросе платеж принятERROR_ACCOUNT_NUMBERНеверный номер счета (абонент не найден), в случае идентификации по номеру счетаERROR_AUTH_CODEВ финансовом запросе платёж с таким auth_code уже зарегистрированERROR_CONTRACT_NUMBERНеверный номер договора (абонент не найден), в случае идентификации по номеру договораERROR_DATEВ финансовом запросе учётная дата отличается от текущей более, чем на 24 часа.ERROR_HASHневерная подписьERROR_SERVICE_ADMINcервис временно недоступен по административным причинамERROR_SERVICE_TECHNСервис временно недоступен по техническим причинамERROR_SYSTEMСистемная ошибка (неверные форматы данных и пр.) -
Method Summary
Modifier and Type Method Description intgetCode()Получение кода ошибкиjava.lang.StringtoString()static ElecsnetAbstractTransactionManager.AnswerCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ElecsnetAbstractTransactionManager.AnswerCode[]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, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
ACCEPT_PAYMENT
В не финансовом запросе платеж разрешен В финансовом запросе платеж принят -
ERROR_AUTH_CODE
В финансовом запросе платёж с таким auth_code уже зарегистрирован -
ERROR_DATE
В финансовом запросе учётная дата отличается от текущей более, чем на 24 часа. Платёж не может быть зарегистрирован. -
ERROR_HASH
неверная подпись -
ERROR_SERVICE_ADMIN
cервис временно недоступен по административным причинам -
ERROR_ACCOUNT_NUMBER
Неверный номер счета (абонент не найден), в случае идентификации по номеру счета -
ERROR_SERVICE_TECHN
Сервис временно недоступен по техническим причинам -
ERROR_CONTRACT_NUMBER
Неверный номер договора (абонент не найден), в случае идентификации по номеру договора -
ERROR_SYSTEM
Системная ошибка (неверные форматы данных и пр.)
-
-
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
-
getCode
public int getCode()Получение кода ошибки- Returns:
- the errorCode
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Enum<ElecsnetAbstractTransactionManager.AnswerCode>
-