Class TariffDetailUtils
java.lang.Object
bitel.billing.server.tariff.detail.TariffDetailUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final int
flushTariffDetail
(org.slf4j.Logger logger, String module, DefaultServerSetup setup, Preferences moduleSetup, Connection con, int mid, Calendar startMonth, Calendar endMonth, String workingContracts, long groups, Map<bitel.billing.server.tariff.detail.TariffDetailKey, bitel.billing.server.tariff.detail.TariffDetailValue> tariffDetailMap, Set<Integer> tariffDetailRangeTakeAllSet, int calcType) getCostTypeIdSet
(Preferences moduleSetup, int calcType) static final String
getCostTypeIdString
(Preferences moduleSetup, int calcType) getCostTypeRangeTakeAllIdSet
(Preferences moduleSetup) static final void
processRequest
(ru.bitel.bgbilling.kernel.tariff.server.tree.old.TariffRequest request, int cid, Integer serviceId, long takedAmount, float takedCost, long nodeAmount, float cost, long divisor) static final void
putTariffDetail
(Map<bitel.billing.server.tariff.detail.TariffDetailKey, bitel.billing.server.tariff.detail.TariffDetailValue> tariffDetailMap, ru.bitel.bgbilling.kernel.tariff.server.tree.old.TariffRequest calcReq, int contractId, int serviceId, double fullCost, long fullAmount)
-
Field Details
-
CALC_TYPE_COMMON
public static final int CALC_TYPE_COMMON- See Also:
-
CALC_TYPE_MAX
public static final int CALC_TYPE_MAX- See Also:
-
-
Constructor Details
-
TariffDetailUtils
public TariffDetailUtils()
-
-
Method Details
-
processRequest
public static final void processRequest(ru.bitel.bgbilling.kernel.tariff.server.tree.old.TariffRequest request, int cid, Integer serviceId, long takedAmount, float takedCost, long nodeAmount, float cost, long divisor) -
putTariffDetail
public static final void putTariffDetail(Map<bitel.billing.server.tariff.detail.TariffDetailKey, bitel.billing.server.tariff.detail.TariffDetailValue> tariffDetailMap, ru.bitel.bgbilling.kernel.tariff.server.tree.old.TariffRequest calcReq, int contractId, int serviceId, double fullCost, long fullAmount) -
flushTariffDetail
public static final int flushTariffDetail(org.slf4j.Logger logger, String module, DefaultServerSetup setup, Preferences moduleSetup, Connection con, int mid, Calendar startMonth, Calendar endMonth, String workingContracts, long groups, Map<bitel.billing.server.tariff.detail.TariffDetailKey, bitel.billing.server.tariff.detail.TariffDetailValue> tariffDetailMap, Set<Integer> tariffDetailRangeTakeAllSet, int calcType) throws SQLException- Throws:
SQLException
-
getCostTypeIdSet
-
getCostTypeIdString
-
getCostTypeRangeTakeAllIdSet
-