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, setPage
public 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
BGException
public SmartyDAOImpl(User user, DBInfo dbInfo) throws BGException
BGException
public SmartyCustomer getCustomerInfo(java.lang.String contractTitle) throws BGException
getCustomerInfo
in interface SmartyDAO
BGException
public SmartyCommonResponse syncAccounts(int contractId) throws BGException
syncAccounts
in interface SmartyDAO
BGException
public SmartyCommonResponse deleteAccountDevice(java.lang.String deviceUid) throws BGException
deleteAccountDevice
in interface SmartyDAO
BGException
public SmartyCommonResponse deactivateProduct(java.lang.String contractTitle, int productSpecId)
deactivateProduct
in interface SmartyDAO
protected RequestJsonRpc getRequestJsonRpc(java.lang.String methodName)
protected <T> T parseResponseData(JsonNode response, java.lang.Class<T> clazz)