Class PlaceOrderService

java.lang.Object
com.dmasone.identity.orders.application.PlaceOrderService

@Service public class PlaceOrderService extends Object
Primary order placement use case. It coordinates module boundaries by asking catalog to reserve stock through an application service, saving the order, and then publishing an internal event for payment. When clients provide an idempotency key, retries return the original order without reserving stock or publishing payment-triggering events again.