Class TicketManager
java.lang.Object
ru.bitel.bgbilling.modules.ticket.server.bean.TicketManager
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTicketForStatus
(Agent agent, Contract contract, String pin, int transId, Date date) getTicketList
(int cid, int yy, int mm) getTicketList
(int cid, Date date1, Date date2) bitel.billing.server.util.PagedList<Ticket>
getTicketList
(int agentId, Date date1, Date date2, int id, int transId, String pin, Page page) ticketBill
(Setup setup, Agent agent, int transId, Contract contract, float summ, String comment, String descr, int daysValid) Выписка счета, делает агентticketBillCheck
(int id, int cid, Calendar date) Пришедший счет переводим в состояние чек, т.е теперь система может окончить транзакциюvoid
ticketCancel
(int id, int cid, Calendar date) void
ticketCancelTask
(Calendar now) ticketCheck
(Setup setup, Contract contract, float sum, int daysValid) Выписка "чека"ticketCheckDraft
(Agent agent, Contract contract, String pin, int transId, float summ, String comment, Map<?, ?> requestParams) Проведение выписанного чека
-
Field Details
-
STATUS_BILL
public static final int STATUS_BILL- See Also:
-
STATUS_BILL_CHECK
public static final int STATUS_BILL_CHECK- See Also:
-
STATUS_CHECK
public static final int STATUS_CHECK- See Also:
-
STATUS_OK
public static final int STATUS_OK- See Also:
-
STATUS_CANCELED
public static final int STATUS_CANCELED- See Also:
-
STATUS_OVERDUE
public static final int STATUS_OVERDUE- See Also:
-
-
Constructor Details
-
TicketManager
-
-
Method Details
-
getTicket
-
getTicketForStatus
public Ticket getTicketForStatus(Agent agent, Contract contract, String pin, int transId, Date date) throws TicketException - Throws:
TicketException
-
ticketBill
public Ticket ticketBill(Setup setup, Agent agent, int transId, Contract contract, float summ, String comment, String descr, int daysValid) throws TicketException Выписка счета, делает агент- Parameters:
agent
-contract
-summ
-comment
-- Returns:
- Throws:
TicketException
-
ticketBillCheck
Пришедший счет переводим в состояние чек, т.е теперь система может окончить транзакцию- Parameters:
cid
-id
-- Returns:
- Throws:
TicketException
-
ticketCheck
public Ticket ticketCheck(Setup setup, Contract contract, float sum, int daysValid) throws TicketException Выписка "чека"- Parameters:
setup
-contract
-sum
-daysValid
-- Returns:
- Throws:
TicketException
-
ticketCheckDraft
public Ticket ticketCheckDraft(Agent agent, Contract contract, String pin, int transId, float summ, String comment, Map<?, ?> requestParams) throws TicketException, ru.bitel.bgbilling.common.BGExceptionПроведение выписанного чека- Parameters:
agent
-contract
-pin
-comment
-- Returns:
- Throws:
TicketException
ru.bitel.bgbilling.common.BGException
-
ticketCancelTask
-
ticketCancel
- Throws:
TicketException
-
getTicketList
-
getTicketList
-
getTicketList
-