Interface EDOBillService
@MTOM(enabled=true)
public interface EDOBillService
Действия над эдо, связанные с модулем bill.
-
Method Summary
Modifier and TypeMethodDescriptionru.bitel.bgbilling.common.dto.FileDtosaveEdoFile(int billModuleId, int documentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId) Выгрузка одного файла для эдо.ru.bitel.bgbilling.common.dto.FileDtosaveFile(String formatId, int billModuleId, List<Integer> billListIds, List<Integer> invoiceListIds) !!sendEdo(int billModuleId, int documentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId) Отправка одного документа в эдо.
-
Method Details
-
saveFile
ru.bitel.bgbilling.common.dto.FileDto saveFile(String formatId, int billModuleId, List<Integer> billListIds, List<Integer> invoiceListIds) throws Exception ! В данный момент не используется, лишено смысла. Выгрузка одного или нескольких (в виде zip) файлов для эдо. Формат с двумя списками ид по аналогии с другими местами где обрабатываются массово документы обоих видов (хотя в данное время в большинстве мест только один из списков может быть заполнен, при использовании юзером в клиенте)- Parameters:
formatId- ид формата (строковом виде док_подписант как возвращает formatsList)billModuleId- mid модуля bill который вызывает сервис и к которому относятся ids документов нижеbillListIds- список ид счетовinvoiceListIds- список ид с.ф.- Returns:
- файл
- Throws:
Exception
-
send
List<ExtDocument> send(String formatId, int billModuleId, List<Integer> billListIds, List<Integer> invoiceListIds) throws Exception ! В данный момент не используется, лишено смысла. Отправка одного или нескольких документов в эдо. См. описание saveFile. Возвращает сгенерённые документы в виду листа ExtDocument.- Throws:
Exception
-
saveEdoFile
ru.bitel.bgbilling.common.dto.FileDto saveEdoFile(int billModuleId, int documentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId) throws Exception Выгрузка одного файла для эдо.- Parameters:
billModuleId- mid модуля bill который вызывает сервис и к которому относятся ids документов нижеdocumentTypeId- ид типа документаsignatoryId- ид подписантаcontragentInfos- инфа о контрагенте, актуальная, после поиска на клиентеbillDocType- тип документа billbillDocId- ид документа bill- Returns:
- файл
- Throws:
Exception
-
sendEdo
ExtDocument sendEdo(int billModuleId, int documentTypeId, int signatoryId, ContragentInfos contragentInfos, DocumentType billDocType, Integer billDocId) throws Exception Отправка одного документа в эдо. См. описание saveEdoFile. Возвращает сгенерённый документ ExtDocument.- Throws:
Exception
-