Class RSCMCalculatorUtils

java.lang.Object
ru.bitel.bgbilling.modules.rscm.server.bean.RSCMCalculatorUtils

public class RSCMCalculatorUtils extends Object
  • 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

      public static LocalDate getInstallmentPaymentNextDate(LocalDate date, String paymentMode)