Interface ForpostAccountService
public interface ForpostAccountService
-
Method Summary
Modifier and TypeMethodDescriptionint
addForpostAccount
(int contractId, ForpostAccount forpostAccount) void
deleteForpostAccount
(int id) void
doSync()
getDefaultForpostAccount
(int contractId) getForpostAccount
(int forpostAccountId) void
linkForpostAccount
(int id, int contractId) searchForpostAccounts
(int contractId, String accountName, String[] sort, Page page) void
unlinkForpostAccount
(int id) void
updateForpostAccountParam
(int forpostAccountId, String name, String value)
-
Method Details
-
searchForpostAccounts
SearchResult<ForpostAccount> searchForpostAccounts(int contractId, String accountName, String[] sort, Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
doSync
void doSync() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
getDefaultForpostAccount
ForpostAccount getDefaultForpostAccount(int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
addForpostAccount
int addForpostAccount(int contractId, ForpostAccount forpostAccount) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
updateForpostAccountParam
void updateForpostAccountParam(int forpostAccountId, String name, String value) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
deleteForpostAccount
void deleteForpostAccount(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
getForpostAccount
ForpostAccount getForpostAccount(int forpostAccountId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
unlinkForpostAccount
void unlinkForpostAccount(int id) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-
linkForpostAccount
void linkForpostAccount(int id, int contractId) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
-