Class LoanChargeWritePlatformServiceImpl

java.lang.Object
org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformServiceImpl
All Implemented Interfaces:
org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService

public class LoanChargeWritePlatformServiceImpl extends Object implements org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    addLoanCharge(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    adjustmentForLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    void
    applyOverdueChargesForLoan(Long loanId, Collection<org.apache.fineract.portfolio.loanaccount.loanschedule.data.OverdueLoanScheduleData> overdueLoanScheduleDataList)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    deactivateOverdueLoanCharge(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    deleteLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    loanChargeRefund(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    payLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command, boolean isChargeIdIncludedInJson)
     
    org.apache.fineract.portfolio.loanaccount.domain.Loan
    runScheduleRecalculation(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, LocalDate recalculateFrom)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    undoWaiveLoanCharge(org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    updateLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.infrastructure.core.data.CommandProcessingResult
    waiveLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
     
    org.apache.fineract.portfolio.loanaccount.domain.LoanTransaction
    waiveLoanCharge(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, org.apache.fineract.portfolio.loanaccount.domain.LoanCharge loanCharge, Map<String,Object> changes, Integer loanInstallmentNumber, org.apache.fineract.portfolio.loanaccount.data.ScheduleGeneratorDTO scheduleGeneratorDTO, org.apache.fineract.organisation.monetary.domain.Money accruedCharge, org.apache.fineract.infrastructure.core.domain.ExternalId externalId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoanChargeWritePlatformServiceImpl

      public LoanChargeWritePlatformServiceImpl()
  • Method Details

    • addLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult addLoanCharge(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      addLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • loanChargeRefund

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult loanChargeRefund(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      loanChargeRefund in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • undoWaiveLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult undoWaiveLoanCharge(org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      undoWaiveLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • updateLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      updateLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • waiveLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult waiveLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      waiveLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • deleteLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deleteLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      deleteLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • payLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult payLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command, boolean isChargeIdIncludedInJson)
      Specified by:
      payLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • adjustmentForLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult adjustmentForLoanCharge(Long loanId, Long loanChargeId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      adjustmentForLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • deactivateOverdueLoanCharge

      @Transactional public org.apache.fineract.infrastructure.core.data.CommandProcessingResult deactivateOverdueLoanCharge(Long loanId, org.apache.fineract.infrastructure.core.api.JsonCommand command)
      Specified by:
      deactivateOverdueLoanCharge in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • applyOverdueChargesForLoan

      @Transactional public void applyOverdueChargesForLoan(Long loanId, Collection<org.apache.fineract.portfolio.loanaccount.loanschedule.data.OverdueLoanScheduleData> overdueLoanScheduleDataList)
      Specified by:
      applyOverdueChargesForLoan in interface org.apache.fineract.portfolio.loanaccount.service.LoanChargeWritePlatformService
    • runScheduleRecalculation

      public org.apache.fineract.portfolio.loanaccount.domain.Loan runScheduleRecalculation(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, LocalDate recalculateFrom)
    • waiveLoanCharge

      public org.apache.fineract.portfolio.loanaccount.domain.LoanTransaction waiveLoanCharge(org.apache.fineract.portfolio.loanaccount.domain.Loan loan, org.apache.fineract.portfolio.loanaccount.domain.LoanCharge loanCharge, Map<String,Object> changes, Integer loanInstallmentNumber, org.apache.fineract.portfolio.loanaccount.data.ScheduleGeneratorDTO scheduleGeneratorDTO, org.apache.fineract.organisation.monetary.domain.Money accruedCharge, org.apache.fineract.infrastructure.core.domain.ExternalId externalId)