Package com.dmasone.identity.payment.application
package com.dmasone.identity.payment.application
Payment use cases and event handling.
The application layer reacts to order placement events, invokes the simulated gateway, and persists payment attempts through the payment repository port. It deliberately keeps payment idempotent per order.
-
ClassDescriptionEvent listener that starts payment processing after an order transaction has committed.Read model returned by payment application services and optional API endpoints.Payment use-case service.Deterministic stand-in for an external payment provider.