Package com.bank.payment.repository
Interface KnownPixRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<KnownPixModel,
,Long> org.springframework.data.jpa.repository.JpaRepository<KnownPixModel,
,Long> org.springframework.data.repository.ListCrudRepository<KnownPixModel,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<KnownPixModel,
,Long> org.springframework.data.repository.PagingAndSortingRepository<KnownPixModel,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<KnownPixModel>
,org.springframework.data.repository.Repository<KnownPixModel,
Long>
public interface KnownPixRepository
extends org.springframework.data.jpa.repository.JpaRepository<KnownPixModel,Long>
Repository interface for
KnownPixModel
entities.
Provides methods for accessing known Pix keys associated with accounts.- Since:
- 1.0.0
- Version:
- 1.0.0, 06/26/2025
- Author:
- Fernando Cruz Cavina
-
Method Summary
Modifier and TypeMethodDescriptionfindByIdAccountAndPixKey
(Long idAccount, String pixKey) Finds a known Pix key by account ID and Pix key.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
-
findByIdAccountAndPixKey
Finds a known Pix key by account ID and Pix key.- Parameters:
idAccount
- the account IDpixKey
- the Pix key- Returns:
- an Optional containing the found KnownPixModel, or empty if not found
-