You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Krishna Mewara (Jira)" <ji...@apache.org> on 2026/06/12 12:32:00 UTC

[jira] [Created] (FINERACT-2640) Extend FeignLoanHelper loan charge management and remaining disbursal methods

Krishna Mewara created FINERACT-2640:
----------------------------------------

             Summary: Extend FeignLoanHelper loan charge management and remaining disbursal methods
                 Key: FINERACT-2640
                 URL: https://issues.apache.org/jira/browse/FINERACT-2640
             Project: Apache Fineract
          Issue Type: Improvement
          Components: Test
            Reporter: Krishna Mewara
            Assignee: Krishna Mewara


Extend {{FeignLoanHelper}} to cover the full loan charge lifecycle and remaining loan state transitions, completing the Feign test helper surface area for loans.

*Scope:*

*1. Loan Charge Management (11 methods)*
 * Full CRUD: {{{}addLoanCharge{}}}, {{{}getLoanCharges{}}}, {{{}getLoanCharge{}}}, {{{}updateLoanCharge{}}}, {{{}deleteLoanCharge{}}}, {{getLoanChargeTemplate}}
 * Charge operations: {{{}waiveLoanCharge{}}}, {{{}payLoanCharge{}}}, {{adjustLoanCharge}}
 * Convenience: {{{}addSpecifiedDueDateCharge{}}}, {{addDisbursementCharge}}

*2. Remaining State Transitions (9 methods)*
 * {{{}disburseToSavings{}}}, {{{}rejectLoan{}}}, {{{}withdrawLoan{}}}, {{{}closeLoan{}}}, {{closeAsRescheduled}}
 * {{{}forecloseLoan{}}}, {{{}assignLoanOfficer{}}}, {{{}unassignLoanOfficer{}}}, {{recoverGuarantee}}

*3. Disbursement Details (3 methods)*
 * {{{}addAndDeleteDisbursementDetail{}}}, {{{}getDisbursementDetail{}}}, {{updateDisbursementDate}}

*4. Request Builders (11 methods)*
 * State transition builders: {{{}rejectLoan{}}}, {{{}withdrawLoan{}}}, {{{}closeLoan{}}}, {{{}forecloseLoan{}}}, {{{}assignLoanOfficer{}}}, {{unassignLoanOfficer}}
 * Charge request builders: {{addLoanCharge}} (×2), {{{}waiveLoanCharge{}}}, {{{}payLoanCharge{}}}, {{adjustLoanCharge}}

*5. FeignLoanTestBase delegates (13 methods + chargesHelper field)*

*Files changed:* {{{}FeignLoanHelper.java{}}}, {{{}LoanRequestBuilders.java{}}}, {{FeignLoanTestBase.java}} *~47 new methods across 3 files. No new files.*

*Out of scope:* External-ID variants (deferred to future PR).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)