Interface PaymentRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Payment,UUID>, org.springframework.data.jpa.repository.JpaRepository<Payment,UUID>, org.springframework.data.repository.ListCrudRepository<Payment,UUID>, org.springframework.data.repository.ListPagingAndSortingRepository<Payment,UUID>, org.springframework.data.repository.PagingAndSortingRepository<Payment,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<Payment>, org.springframework.data.repository.Repository<Payment,UUID>

@Repository public interface PaymentRepository extends org.springframework.data.jpa.repository.JpaRepository<Payment,UUID>
Repository interface for managing Payment entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds all Payment records associated with a specific creditor ID.

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findAllByCreditorId

      List<Payment> findAllByCreditorId(UUID creditorId)
      Finds all Payment records associated with a specific creditor ID.
      Parameters:
      creditorId - the UUID of the creditor
      Returns:
      a list of Payment records