class TransactionListDownloadPathParamsValidatorImpl implements TransactionListDownloadPathParamsValidator {

    @Override
    public MessageError validate(Map<String, String> queryParameterMap, MessageError messageError) {
        String downloadId = queryParameterMap.get("download-id");

        if (isNonValid(downloadId)) {
            errorBuildingService.enrichMessageError(messageError, TppMessageInformation.of(FORMAT_ERROR_PATH_PARAMETER_INVALID));
        }

        return messageError;
    }

    public  TransactionListDownloadPathParamsValidatorImpl(ErrorBuildingService errorBuildingService);

}