Interface NotificationStore
public interface NotificationStore
Outbound persistence port for recorded notification intents.
-
Method Summary
Modifier and TypeMethodDescriptionLists recent notification records.voidsave(UUID sourceId, NotificationDraft draft) Persists at most one ready notification intent per source and notification type.
-
Method Details
-
save
Persists at most one ready notification intent per source and notification type.- Parameters:
sourceId- order or payment identifier that caused the notificationdraft- validated notification draft
-
findRecent
List<NotificationSummary> findRecent()Lists recent notification records.- Returns:
- recent notifications in reverse creation order
-