public class QuickPayTransactionManager extends MPSTransactionManager
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.regex.Pattern |
TRANSACTION_PATTERN |
ACTION_CANCEL, ACTION_CHANGE, ACTION_CHECK, ACTION_PAY, ACTION_PAY_ON_CHECK, ACTION_STATUS, documentBuilder, ERROR_MPS_CONTRACT_NOTFOUND, ERROR_MPS_DATA, ERROR_MPS_DATE, ERROR_MPS_DATE_FIELD, ERROR_MPS_EDIT_NOT_SUPPORTED, ERROR_MPS_HASH, ERROR_MPS_ISOFF, ERROR_MPS_NUMBER_PATTERN, ERROR_MPS_OUT_OF_MONEY, ERROR_MPS_PAY_EXIST, ERROR_MPS_PAY_NOTEXIST, ERROR_MPS_REQUEST, ERROR_MPS_SERVER, ERROR_MPS_SUM_BIG, ERROR_MPS_SUM_SMALL, ERROR_MPS_SUM_TOOSMALLORBIG, ERROR_MPS_TRANSACTION_ID_FIELD, ERROR_MPS_TYPE, log, MPS_CYBERPLAT, MPS_FROMGATEWAY, MPS_OSMP, p1, p2, p3, pNumber, REQUEST_ATTRIBUTE_PARAMETERS, REQUEST_ATTRIBUTE_PATH_INFO| Constructor and Description |
|---|
QuickPayTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValid(Conf.MPSSystem system,
MPSRequest mpsRequest,
java.sql.Connection con)
Проверка на валидность запроса
|
protected byte[] |
getResponse(java.sql.Connection con,
Conf.MPSSystem system,
MPSResponse response) |
protected java.util.List<Transaction> |
getTransactionListFromFile(Conf.MPSSystem system,
java.lang.String file) |
protected MPSRequest |
parseRequest(java.sql.Connection con,
int mid,
int mpsId,
Conf.MPSSystem system,
javax.servlet.http.HttpServletRequest request)
Парсинг запроса от системы
|
protected void |
processError(MPSException ex,
MPSResponse response)
Обработка ошибки
|
protected byte[] |
processRequest(java.sql.Connection con,
int moduleId,
int mpsId,
Conf conf,
Conf.MPSSystem system,
javax.servlet.http.HttpServletRequest httpRequest)
Обработка запроса от системы
|
actionCheck, addTransaction, addTransaction, addTransaction, cancelPreparedTransaction, cancelTransaction, checkTime, clearCanceledTransaction, executePreparedTransaction, executePreparedTransaction, executePreparedTransaction, findContract, getComment, getComment, getContractTitle, getEncoding, getInstance, getResponseAttributes, getTable, getTransactionByTransId, getTransactionByTransId, getTransactionByTransId, getTransactionFromRS, getTransactionList, getTransactionList, getTransactionList, getTransactionList, getTransactionListForDay, getTransactionListFromFileByConfig, getTransactionListFromFileByPattern, getUserLogin, getUserLoginFormatted, init, onPayment, parseBigInteger, prepareTransaction, prepareTransaction, prepareTransaction, preProcess, processRegister, processRegister, processRequest, reviseAddTransactions, reviseCancelTransactions, reviseRestoreTransactions, searchTransactionList, setUserLogin, systemAccountAdd, systemAccountDeleteprotected byte[] processRequest(java.sql.Connection con,
int moduleId,
int mpsId,
Conf conf,
Conf.MPSSystem system,
javax.servlet.http.HttpServletRequest httpRequest)
MPSTransactionManagerprocessRequest in class MPSTransactionManagerprotected MPSRequest parseRequest(java.sql.Connection con, int mid, int mpsId, Conf.MPSSystem system, javax.servlet.http.HttpServletRequest request) throws MPSException
MPSTransactionManagerparseRequest in class MPSTransactionManagerMPSExceptionprotected void processError(MPSException ex, MPSResponse response)
MPSTransactionManagerprocessError in class MPSTransactionManagerprotected java.util.List<Transaction> getTransactionListFromFile(Conf.MPSSystem system, java.lang.String file)
getTransactionListFromFile in class MPSTransactionManagerprotected byte[] getResponse(java.sql.Connection con,
Conf.MPSSystem system,
MPSResponse response)
getResponse in class MPSTransactionManagerprotected void checkValid(Conf.MPSSystem system, MPSRequest mpsRequest, java.sql.Connection con) throws MPSException
MPSTransactionManagercheckValid in class MPSTransactionManagerMPSException