Class RSCMCalculatorUtils
java.lang.Object
ru.bitel.bgbilling.modules.rscm.server.bean.RSCMCalculatorUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
doCalc
(ru.bitel.bgbilling.modules.rscm.server.tariff.RscmTariffContext rscmTariffContext, List<Integer> contractIds, PeriodicErrorManager errorManager, org.apache.logging.log4j.Logger log) static LocalDate
getInstallmentPaymentNextDate
(LocalDate date, String paymentMode) static RSCMTariffRequestResult
processTariffRequest
(ServiceCostCache costCache, int domainId, int contractId, int serviceId, int amount, int amountUp, int amountDown, boolean last, LocalDate serviceDate, ru.bitel.bgbilling.modules.rscm.server.tariff.RscmTariffContext rscmTariffContext, org.apache.logging.log4j.Logger log)
-
Constructor Details
-
RSCMCalculatorUtils
public RSCMCalculatorUtils()
-
-
Method Details
-
doCalc
public static void doCalc(ru.bitel.bgbilling.modules.rscm.server.tariff.RscmTariffContext rscmTariffContext, List<Integer> contractIds, PeriodicErrorManager errorManager, org.apache.logging.log4j.Logger log) throws Exception - Throws:
Exception
-
processTariffRequest
public static RSCMTariffRequestResult processTariffRequest(ServiceCostCache costCache, int domainId, int contractId, int serviceId, int amount, int amountUp, int amountDown, boolean last, LocalDate serviceDate, ru.bitel.bgbilling.modules.rscm.server.tariff.RscmTariffContext rscmTariffContext, org.apache.logging.log4j.Logger log) -
getInstallmentPaymentNextDate
-