Class GuarantorDomainServiceImpl

java.lang.Object
org.apache.fineract.portfolio.loanaccount.guarantor.service.GuarantorDomainServiceImpl
All Implemented Interfaces:
GuarantorDomainService

@Service public class GuarantorDomainServiceImpl extends Object implements GuarantorDomainService
  • Constructor Details

    • GuarantorDomainServiceImpl

      public GuarantorDomainServiceImpl()
  • Method Details

    • addListeners

      @PostConstruct public void addListeners()
    • validateGuarantorBusinessRules

      public void validateGuarantorBusinessRules(org.apache.fineract.portfolio.loanaccount.domain.Loan loan)
      Specified by:
      validateGuarantorBusinessRules in interface GuarantorDomainService
    • assignGuarantor

      public void assignGuarantor(GuarantorFundingDetails guarantorFundingDetails, LocalDate transactionDate)
      Method assigns a guarantor to loan and blocks the funds on guarantor's account
      Specified by:
      assignGuarantor in interface GuarantorDomainService
    • releaseGuarantor

      public void releaseGuarantor(GuarantorFundingDetails guarantorFundingDetails, LocalDate transactionDate)
      Method releases(withdraw) a guarantor from loan and unblocks the funds on guarantor's account
      Specified by:
      releaseGuarantor in interface GuarantorDomainService
    • transferFundsFromGuarantor

      public void transferFundsFromGuarantor(org.apache.fineract.portfolio.loanaccount.domain.Loan loan)
      Method is to recover funds from guarantor's in case loan is unpaid. (Transfers guarantee amount from guarantor's account to loan account and releases guarantor)
      Specified by:
      transferFundsFromGuarantor in interface GuarantorDomainService