AnvayKharb opened a new pull request, #6219: URL: https://github.com/apache/fineract/pull/6219
## Description Adds optional Payment Detail support to Account Transfer Transactions while preserving backward compatibility. Transfer transactions can now reference the existing Fineract Payment Detail model when payment information is provided. Existing transfer requests without payment details continue to work without modification. ## Changes - Added optional `PaymentDetail` support to account transfer transactions. - Linked transfer transactions to `PaymentDetail` through a nullable database relationship. - Updated the transfer creation flow to persist and associate payment details when supplied. - Reused the existing Payment Detail infrastructure without introducing duplicate logic. - Extended transfer responses to include payment details when available. - Added a forward-only Liquibase migration. - Added and updated tests covering transfers with and without payment details. ## Backward Compatibility - Payment details remain optional. - Existing transfer requests continue to work unchanged. - Existing transfer records remain valid without migration of historical data. ## Related Issue FINERACT-2733 ## Checklist - [x] Payment details are optional. - [x] Existing transfer functionality remains unchanged. - [x] Backward compatibility is preserved. - [x] Database migration is forward-only. - [x] Tests added/updated for the new functionality. - [x] No unrelated changes included. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
