Interface NPayService
public interface NPayService
-
Method Summary
Modifier and TypeMethodDescriptionList<ru.bitel.bgbilling.common.model.KeyValue>Параметры конфигурацииvoidconfigValueUpdate(List<ru.bitel.bgbilling.common.model.KeyValue> keyValues) Сохранение параметров конфигурацииgetAmountForUnlock(int contractId) Для заблокированных дебетовых договоров возвращает сумму платежа необходимого для разблокировки.precalculateAccount(int contractId, int serviceSet, Date dateFrom, Date dateTo) Вычисление будущей наработки для определения рекомендуемого платежа.voidserviceObjectDelete(int id) serviceObjectGet(int id) serviceObjectList(int contractId, int objectId, int entityModuleId, int entityId, boolean actualItemsOnly, Date actualItemsDate) voidserviceObjectUpdate(ServiceObject serviceObject) serviceSetGet(int parseInt) Boolean[][]serviceStatusMatrixGet(List<Integer> serviceIds, List<Integer> statusIds, boolean replaceDefaultToValue) void
-
Method Details
-
precalculateAccount
BigDecimal precalculateAccount(int contractId, int serviceSet, Date dateFrom, Date dateTo) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalAccessException Вычисление будущей наработки для определения рекомендуемого платежа.- Parameters:
contractId- ID договора.serviceSet- набор услуг модуля.dateFrom- дата начала активности договора (должна быть в одном месяце с dateTo).dateTo- дата окончания активности договора (должна быть в одном месяце с dateFrom).- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalAccessException
-
getAmountForUnlock
BigDecimal getAmountForUnlock(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException, ru.bitel.bgbilling.common.BGIllegalAccessException Для заблокированных дебетовых договоров возвращает сумму платежа необходимого для разблокировки.- Parameters:
contractId- ID договора.- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageExceptionru.bitel.bgbilling.common.BGIllegalAccessException
-
serviceObjectList
List<ServiceObject> serviceObjectList(int contractId, int objectId, int entityModuleId, int entityId, boolean actualItemsOnly, Date actualItemsDate) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceObjectGet
ServiceObject serviceObjectGet(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceObjectUpdate
void serviceObjectUpdate(ServiceObject serviceObject) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceObjectDelete
void serviceObjectDelete(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceStatusMatrixGet
Boolean[][] serviceStatusMatrixGet(List<Integer> serviceIds, List<Integer> statusIds, boolean replaceDefaultToValue) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceStatusMatrixUpdate
void serviceStatusMatrixUpdate(List<Integer> serviceIds, List<Integer> statusIds, Boolean[][] values) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceSetGet
Collection<String> serviceSetGet(int parseInt) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
serviceSetList
List<IdTitle> serviceSetList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
configValueList
List<ru.bitel.bgbilling.common.model.KeyValue> configValueList() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageExceptionПараметры конфигурации- Returns:
- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-
configValueUpdate
void configValueUpdate(List<ru.bitel.bgbilling.common.model.KeyValue> keyValues) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Сохранение параметров конфигурации- Parameters:
keyValues-- Throws:
ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
-