public class SmartyDAOImpl extends BillingDAO implements SmartyDAO
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TARIFF_API_MODULE_ID |
static java.lang.String |
TARIFF_API_SERVICE_NAME |
dbInfo, jsonMapper, jsonTypeFactory, transferData, user| Constructor and Description |
|---|
SmartyDAOImpl(User user,
DBInfo dbInfo) |
SmartyDAOImpl(User user,
java.lang.String billingId) |
| Modifier and Type | Method and Description |
|---|---|
SmartyCommonResponse |
deactivateProduct(java.lang.String contractTitle,
int productSpecId) |
SmartyCommonResponse |
deleteAccountDevice(java.lang.String deviceUid) |
SmartyCustomer |
getCustomerInfo(java.lang.String contractTitle) |
protected RequestJsonRpc |
getRequestJsonRpc(java.lang.String methodName) |
protected <T> T |
parseResponseData(JsonNode response,
java.lang.Class<T> clazz) |
SmartyCommonResponse |
syncAccounts(int contractId) |
doRequest, getDbInfo, getDeletedContractsFromBgOnSConnectCancel, getPage, getParameterId, getWebService, getWebService, getWS, getWSClient, isSupported, linesToString, processWebServiceException, readJsonValue, setPagepublic static final java.lang.String TARIFF_API_SERVICE_NAME
public static final java.lang.String TARIFF_API_MODULE_ID
public SmartyDAOImpl(User user, java.lang.String billingId) throws BGException
BGExceptionpublic SmartyDAOImpl(User user, DBInfo dbInfo) throws BGException
BGExceptionpublic SmartyCustomer getCustomerInfo(java.lang.String contractTitle) throws BGException
getCustomerInfo in interface SmartyDAOBGExceptionpublic SmartyCommonResponse syncAccounts(int contractId) throws BGException
syncAccounts in interface SmartyDAOBGExceptionpublic SmartyCommonResponse deleteAccountDevice(java.lang.String deviceUid) throws BGException
deleteAccountDevice in interface SmartyDAOBGExceptionpublic SmartyCommonResponse deactivateProduct(java.lang.String contractTitle, int productSpecId)
deactivateProduct in interface SmartyDAOprotected RequestJsonRpc getRequestJsonRpc(java.lang.String methodName)
protected <T> T parseResponseData(JsonNode response,
java.lang.Class<T> clazz)