Interface ContractCardService


@MTOM public interface ContractCardService
Карточки (документы) договора
  • Method Details

    • contractCardList

      List<ContractCard> contractCardList(int contractId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardExport

      ru.bitel.bgbilling.common.dto.FileDto contractCardExport(int contractId, String contractCardId) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardXml

      String contractCardXml(int contractId, String contractCardKey, String contentType) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardXsl

      String contractCardXsl(String type) throws ru.bitel.bgbilling.common.BGException
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardFoGet

      String contractCardFoGet(int contractId, String contractCardKey) throws ru.bitel.bgbilling.common.BGException
      FO-документ карточки договора - для предварительного просмотра.
      Parameters:
      contractId - ID договора.
      contractCardKey - ключ карточки (номер настройки contractcard.N), если null - полная карта.
      Returns:
      FO-документ в виде xml.
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardPdfGet

      ru.bitel.bgbilling.common.dto.FileDto contractCardPdfGet(int contractId, String contractCardKey) throws ru.bitel.bgbilling.common.BGException
      Карточка договора в формате pdf.
      Parameters:
      contractId - ID договора.
      contractCardKey - ключ карточки (номер настройки contractcard.N).
      Returns:
      файл pdf с карточкой договора.
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardSend

      void contractCardSend(int contractId, String contractCardKey, String mailDest) throws ru.bitel.bgbilling.common.BGException
      Отправка карточки договора на email - вложением в формате pdf.
      Parameters:
      contractId - ID договора.
      contractCardKey - ключ карточки (номер настройки contractcard.N).
      mailDest - список получателей.
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardHtmlGet

      String contractCardHtmlGet(int contractId) throws ru.bitel.bgbilling.common.BGException
      Полная карта договора в виде html.
      Parameters:
      contractId - ID договора.
      Returns:
      html полной карты договора.
      Throws:
      ru.bitel.bgbilling.common.BGException
    • contractCardHtmlSend

      void contractCardHtmlSend(int contractId, String email, String subject) throws ru.bitel.bgbilling.common.BGException
      Отправка полной карты договора на email.
      Parameters:
      contractId - ID договора.
      email - список получателей.
      subject - тема письма.
      Throws:
      ru.bitel.bgbilling.common.BGException