Package ru.bgcrm.plugin.bgbilling
Class Utils
java.lang.Object
ru.bgcrm.plugin.bgbilling.Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IdTitlefindModule(int contractId, String billingId, String moduleTitle, User user) static StringformatSessionTime(int value) static intgetAddressParamId(String billingId) static intgetAgglomerationParamId(String billingId) static ParameterMapgetBillingConfig(String billingId) static intgetCityFromBilling(int contractId, String billingId, User user) static intgetInetModuleId(String billingId) static intgetModuleNpayId(String billingId) static intgetModuleVpnId(String billingId) static intgetObjectAddressParamId(String billingId)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
formatSessionTime
-
getBillingConfig
- Throws:
BGException
-
getInetModuleId
- Throws:
BGException
-
getAddressParamId
- Throws:
BGException
-
getObjectAddressParamId
- Throws:
BGException
-
getAgglomerationParamId
-
getModuleVpnId
- Throws:
BGException
-
getModuleNpayId
- Throws:
BGException
-
getCityFromBilling
public static int getCityFromBilling(int contractId, String billingId, User user) throws BGException - Throws:
BGException
-
findModule
public static IdTitle findModule(int contractId, String billingId, String moduleTitle, User user) throws BGException - Throws:
BGException
-