Class TransactionManager
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.server.bean.AbstractTransactionManager
ru.bitel.bgbilling.modules.yoomoney.server.bean.TransactionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancelAutopayment(int contractId) protected voidcheckAutopayment(int contractId, org.json.JSONObject resultJsonObject) voiddoCheckRequest(String objectId) doPaymentRequest(String data, String idempotenceKey) voiddoTransaction(String yoomoneyId, String status, BigDecimal sum, org.json.JSONObject resultJsonObject) protected <T extends BGAbstractTransaction>
StringgetPaymentData(T transaction) org.json.JSONObjectgetPaymentRequestJSON(BigDecimal sum, int contractId, String contractTitle, String autoId, YoomoneyPaymentType paymentType) protected voidsetConnectionTimeout(HttpsURLConnection connection) Methods inherited from class ru.bitel.bgbilling.server.bean.AbstractTransactionManager
doConnection, doConnection, getConnection, getModuleId, getModuleSetup, getParameter, getParamString, getParamString, getParamString, getSetup, setParameterMethods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError, warn
-
Constructor Details
-
TransactionManager
-
-
Method Details
-
setConnectionTimeout
- Overrides:
setConnectionTimeoutin classAbstractTransactionManager
-
getPaymentRequestJSON
public org.json.JSONObject getPaymentRequestJSON(BigDecimal sum, int contractId, String contractTitle, String autoId, YoomoneyPaymentType paymentType) throws Exception - Throws:
Exception
-
doPaymentRequest
-
doCheckRequest
-
doTransaction
public void doTransaction(String yoomoneyId, String status, BigDecimal sum, org.json.JSONObject resultJsonObject) -
checkAutopayment
protected void checkAutopayment(int contractId, org.json.JSONObject resultJsonObject) throws Exception - Throws:
Exception
-
cancelAutopayment
- Throws:
Exception
-
getPaymentData
- Overrides:
getPaymentDatain classAbstractTransactionManager
-