Interface TppConnector

All Known Implementing Classes:
TppConnectorImpl

public interface TppConnector

Abstraction for retrieving Third Party Provider (TPP) data.

  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<List<TppDTO>>
    Retrieves TPPs with recipientId on the whitelist and enabled TPPs from a list of TPP identifiers.
    reactor.core.publisher.Mono<TppDTO>
    get(String tppId)
    Retrieves the TPP associated with the provided identifier.
  • Method Details

    • get

      reactor.core.publisher.Mono<TppDTO> get(String tppId)

      Retrieves the TPP associated with the provided identifier.

      Parameters:
      tppId - technical or functional identifier of the TPP
      Returns:
      Mono<TppDTO> emitting the found DTO or Mono.empty() if missing
    • filterEnabledList

      reactor.core.publisher.Mono<List<TppDTO>> filterEnabledList(TppIdList tppIdList)

      Retrieves TPPs with recipientId on the whitelist and enabled TPPs from a list of TPP identifiers.

      Delegates to the emd-tpp service filtering endpoint.

      Parameters:
      tppIdList - the list of TPP IDs to filter and the recipientId for whitelist filtering
      Returns:
      Mono<List<TppDTO>> list of enabled TPPs matching the provided IDs