Interface CustomerService
public interface CustomerService
-
Method Summary
Modifier and TypeMethodDescriptioncustomerAccountAdd(int customerId, long account) voidcustomerAccountDelete(int customerId, long account) customerAccounts(int customerId) voidcustomerAccountSet(int customerId, int contractId, long account) customerBankUpdate(int customerId, String text) customerByAccount(long account) customerContactUpdate(int customerId, CustomerContactType contactType, String text) customerContracts(int customerId, LocalDateTime onTime) voidcustomerDelete(int customerId) customerEmails(int customerId, int contractId) customerEmployeeDelete(int customerId, String customerEmployeeUUID) customerEmployeeList(int customerId) customerEmployeeUpdate(int customerId, CustomerEmployee customerEmployee) voidcustomerLinkSet(int contractId, int сustomerId) intcustomerNewSet(int contractId) customerParameterGet(int contractId) customerParameterHistory(int customerId, String fieldKey, int lastRecordCount) customerParameterUpdate(int customerId, String fieldValue, String text) customerPropertyParams(int customerId) customerSearch(Customer.CustomerType customerType, String text) Поиск клиентовbooleancustomerUnlinkContract(int contractId, LocalDateTime unlinkTime) searchCustomerList(Customer.CustomerType customerType, List<ru.bitel.bgbilling.common.model.KeyValue> filters, Page page, String[] sort)
-
Method Details
-
customerEmployeeList
List<CustomerEmployee> customerEmployeeList(int customerId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerEmployeeUpdate
String customerEmployeeUpdate(int customerId, CustomerEmployee customerEmployee) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerEmployeeDelete
String customerEmployeeDelete(int customerId, String customerEmployeeUUID) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerByAccount
- Throws:
ru.bitel.bgbilling.common.BGException
-
searchCustomerList
SearchResult<Customer> searchCustomerList(Customer.CustomerType customerType, List<ru.bitel.bgbilling.common.model.KeyValue> filters, Page page, String[] sort) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerAccounts
- Throws:
ru.bitel.bgbilling.common.BGException
-
customerAccountAdd
CustomerAccount customerAccountAdd(int customerId, long account) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerAccountSet
void customerAccountSet(int customerId, int contractId, long account) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerAccountDelete
void customerAccountDelete(int customerId, long account) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerParameterGet
- Throws:
ru.bitel.bgbilling.common.BGException
-
customerParameterUpdate
String customerParameterUpdate(int customerId, String fieldValue, String text) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerContactUpdate
String customerContactUpdate(int customerId, CustomerContactType contactType, String text) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerBankUpdate
- Throws:
ru.bitel.bgbilling.common.BGException
-
customerNewSet
int customerNewSet(int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerDelete
void customerDelete(int customerId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerSearch
String customerSearch(Customer.CustomerType customerType, String text) throws ru.bitel.bgbilling.common.BGException Поиск клиентов- Parameters:
customerType-true - ищем юр. лицfalse - ищем физ. лицtext-строка поиска, в зависимости от содержимого строки и значения параметра uPerson ищет по ИНН, серии и номеру паспорта, огрн, названию, дате рождения и дате выдачи паспорта- Returns:
- json array
- Throws:
Exceptionru.bitel.bgbilling.common.BGException
-
customerLinkSet
void customerLinkSet(int contractId, int сustomerId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerContracts
List<CustomerContract> customerContracts(int customerId, LocalDateTime onTime) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerUnlinkContract
boolean customerUnlinkContract(int contractId, LocalDateTime unlinkTime) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerParameterHistory
String customerParameterHistory(int customerId, String fieldKey, int lastRecordCount) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerEmails
List<String> customerEmails(int customerId, int contractId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
customerPropertyParams
List<CustomerPropertyParam> customerPropertyParams(int customerId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-