Interface ForpostAccountService
public interface ForpostAccountService
-
Method Summary
Modifier and Type Method Description int
addForpostAccount(int contractId, ForpostAccount forpostAccount)
void
deleteForpostAccount(int id)
void
doSync()
ForpostAccount
getDefaultForpostAccount(int contractId)
ForpostAccount
getForpostAccount(int forpostAccountId)
void
linkForpostAccount(int id, int contractId)
SearchResult<ForpostAccount>
searchForpostAccounts(int contractId, java.lang.String accountName, java.lang.String[] sort, Page page)
void
unlinkForpostAccount(int id)
void
updateForpostAccountParam(int forpostAccountId, java.lang.String name, java.lang.String value)
-
Method Details
-
searchForpostAccounts
SearchResult<ForpostAccount> searchForpostAccounts(int contractId, java.lang.String accountName, java.lang.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, java.lang.String name, java.lang.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
-