Interface FundTransferRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FundTransfer,,Long> org.springframework.data.jpa.repository.JpaRepository<FundTransfer,,Long> org.springframework.data.repository.PagingAndSortingRepository<FundTransfer,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<FundTransfer>,org.springframework.data.repository.Repository<FundTransfer,Long>
public interface FundTransferRepository
extends org.springframework.data.jpa.repository.JpaRepository<FundTransfer,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindFundTransferByFromAccount(String accountId) Retrieves a list of FundTransfer objects based on the provided from account ID.findFundTransferByTransactionReference(String referenceId) Finds a fund transfer by transaction reference.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findFundTransferByTransactionReference
Finds a fund transfer by transaction reference.- Parameters:
referenceId- the transaction reference ID- Returns:
- an optional fund transfer object
-
findFundTransferByFromAccount
Retrieves a list of FundTransfer objects based on the provided from account ID.- Parameters:
accountId- The ID of the from account.- Returns:
- A list of FundTransfer objects.
-