Interface TicketService
public interface TicketService
-
Method Summary
Modifier and TypeMethodDescriptionvoidagentDelete(int id) Удаление агента модуля.agentGet(int id) Агент модуля.Список агентов модуля.agentTicketList(int agentId, Date dateFrom, Date dateTo, int id, int transId, String pin, Page page) Список чеков (платежей) агентов за период.agentTitleList(String title) Список агентов модуля (id и название).voidagentUpdate(AgentData agent) Добавление или обновление агента модуля.
-
Method Details
-
agentList
Список агентов модуля.- Parameters:
title- - фильтр по названию; null или пустая строка - все агенты- Throws:
ru.bitel.bgbilling.common.BGException
-
agentTitleList
Список агентов модуля (id и название).- Parameters:
title- - фильтр по названию; null или пустая строка - все агенты- Throws:
ru.bitel.bgbilling.common.BGException
-
agentGet
Агент модуля.- Parameters:
id- - id агента- Throws:
ru.bitel.bgbilling.common.BGException
-
agentUpdate
Добавление или обновление агента модуля.- Parameters:
agent- - агент; id invalid input: '<'= 0 - добавление; пустой пароль у существующего агента - не менять- Throws:
ru.bitel.bgbilling.common.BGException
-
agentDelete
void agentDelete(int id) throws ru.bitel.bgbilling.common.BGException Удаление агента модуля.- Parameters:
id- - id агента- Throws:
ru.bitel.bgbilling.common.BGException
-
agentTicketList
SearchResult<Ticket> agentTicketList(int agentId, Date dateFrom, Date dateTo, int id, int transId, String pin, Page page) throws ru.bitel.bgbilling.common.BGException Список чеков (платежей) агентов за период.- Parameters:
agentId- - id агента; 0 - все агентыdateFrom- - начало периодаdateTo- - конец периода; null - без ограниченияid- - id чека; 0 - всеtransId- - внешний номер транзакции; 0 - всеpin- - PIN чека; null или пустая строка - всеpage- - параметры постраничного вывода- Throws:
ru.bitel.bgbilling.common.BGException
-