Interface FundTransferService
- All Known Implementing Classes:
FundTransferServiceImpl
public interface FundTransferService
-
Method Summary
Modifier and TypeMethodDescriptionfundTransfer(FundTransferRequest fundTransferRequest) Transfers funds from one account to another.getAllTransfersByAccountId(String accountId) Retrieves all fund transfers associated with the given account ID.getTransferDetailsFromReferenceId(String referenceId) Retrieve transfer details based on the provided reference ID.
-
Method Details
-
fundTransfer
Transfers funds from one account to another.- Parameters:
fundTransferRequest- The request object containing the details of the fund transfer.- Returns:
- The response object containing the result of the fund transfer.
-
getTransferDetailsFromReferenceId
Retrieve transfer details based on the provided reference ID.- Parameters:
referenceId- The reference ID of the transfer.- Returns:
- The transfer details as a FundTransferDto object.
-
getAllTransfersByAccountId
Retrieves all fund transfers associated with the given account ID.- Parameters:
accountId- the ID of the account- Returns:
- a list of FundTransferDto objects representing the fund transfers
-