Interface PayOnlineService
- All Superinterfaces:
PaymentServiceProvider
public interface PayOnlineService extends PaymentServiceProvider
-
Method Summary
Modifier and Type Method Description void
addTransactions(java.lang.String transactions)
void
deleteContractRebillTransaction(int rebillTransactionId)
void
deleteTransactions(java.util.List<java.lang.Integer> transactionIds)
void
doManualAutopayment(int contractId, java.math.BigDecimal sum)
Ручной автоплатежAutopayment
getAutopaymentCurrentMode(int contractId)
Возвращает текущий режим автоплатежаRebill
getContractRebillTransaction(int contractId)
java.util.List<IdTitle>
getContractTitles(java.util.List<java.lang.Integer> contractIds)
SearchResult<Autopayment>
searchAutopaymentList(int contractId, Period period, java.lang.String[] sort, Page page)
Возращает историю изменения автоплатежей на договореSearchResult<RebillTransaction>
searchRebillTransactions(java.lang.String result, Period period, java.lang.String[] sort, Page page)
SearchResult<Transaction>
searchTransactions(int contractId, java.lang.String contractTitle, java.lang.String transactionStatus, Period period, java.lang.String[] sort, Page page)
Methods inherited from interface ru.bitel.bgbilling.common.service.PaymentServiceProvider
autopaymentDeactivate, autopaymentGet, beginAutopaymentTransaction, beginTransaction, endTransaction
-
Method Details
-
searchTransactions
SearchResult<Transaction> searchTransactions(int contractId, java.lang.String contractTitle, java.lang.String transactionStatus, Period period, java.lang.String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
addTransactions
void addTransactions(java.lang.String transactions) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteTransactions
void deleteTransactions(java.util.List<java.lang.Integer> transactionIds) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getContractTitles
java.util.List<IdTitle> getContractTitles(java.util.List<java.lang.Integer> contractIds) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getContractRebillTransaction
- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteContractRebillTransaction
void deleteContractRebillTransaction(int rebillTransactionId) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
searchRebillTransactions
SearchResult<RebillTransaction> searchRebillTransactions(java.lang.String result, Period period, java.lang.String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException- Throws:
ru.bitel.bgbilling.common.BGException
-
getAutopaymentCurrentMode
Возвращает текущий режим автоплатежа- Parameters:
contractId
- код договора- Returns:
- Объект с параметрами текущего режима автоплатежа или null
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchAutopaymentList
SearchResult<Autopayment> searchAutopaymentList(int contractId, Period period, java.lang.String[] sort, Page page) throws ru.bitel.bgbilling.common.BGExceptionВозращает историю изменения автоплатежей на договоре- Parameters:
contractId
-period
-sort
-page
-- Returns:
- Throws:
ru.bitel.bgbilling.common.BGException
-
doManualAutopayment
void doManualAutopayment(int contractId, java.math.BigDecimal sum) throws ru.bitel.bgbilling.common.BGExceptionРучной автоплатеж- Parameters:
contractId
-sum
-- Throws:
ru.bitel.bgbilling.common.BGException
-