Interface PixService

All Known Implementing Classes:
PixServiceImpl

public interface PixService
Interface for Pix Service that defines methods for handling Pix operations. It includes methods for saving a PixModel and finding a PixModel by its key.
Since:
1.0.0
Version:
1.0.0, 06/26/2025
Author:
Fernando Cruz Cavina
See Also:
  • Method Details

    • save

      PixModel save(PixModel pixModel)
      Saves a PixModel to the database.
      Parameters:
      pixModel - the PixModel to be saved
      Returns:
      the saved PixModel
    • findByKey

      Optional<PixModel> findByKey(String key)
      Finds a PixModel by its key.
      Parameters:
      key - the Pix key to search for
      Returns:
      an Optional containing the PixModel if found, or empty if not found