Class GuarantorDomainServiceImpl
java.lang.Object
org.apache.fineract.portfolio.loanaccount.guarantor.service.GuarantorDomainServiceImpl
- All Implemented Interfaces:
GuarantorDomainService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidassignGuarantor(GuarantorFundingDetails guarantorFundingDetails, LocalDate transactionDate) Method assigns a guarantor to loan and blocks the funds on guarantor's accountvoidreleaseGuarantor(GuarantorFundingDetails guarantorFundingDetails, LocalDate transactionDate) Method releases(withdraw) a guarantor from loan and unblocks the funds on guarantor's accountvoidtransferFundsFromGuarantor(org.apache.fineract.portfolio.loanaccount.domain.Loan loan) Method is to recover funds from guarantor's in case loan is unpaid.voidvalidateGuarantorBusinessRules(org.apache.fineract.portfolio.loanaccount.domain.Loan loan)
-
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:
validateGuarantorBusinessRulesin interfaceGuarantorDomainService
-
assignGuarantor
public void assignGuarantor(GuarantorFundingDetails guarantorFundingDetails, LocalDate transactionDate) Method assigns a guarantor to loan and blocks the funds on guarantor's account- Specified by:
assignGuarantorin interfaceGuarantorDomainService
-
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:
releaseGuarantorin interfaceGuarantorDomainService
-
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:
transferFundsFromGuarantorin interfaceGuarantorDomainService
-