Package com.dmasone.identity.orders.domain


package com.dmasone.identity.orders.domain
Order domain model and order-specific business exceptions.

This package owns the order aggregate and placement invariants. It is independent from REST controllers, Spring infrastructure, catalog persistence, and payment implementation details.

  • Class
    Description
    Order aggregate for the placement use case.
    Raised when a client reuses an idempotency key for a different order request.
    Raised when an order command violates placement rules before persistence or downstream module interaction happens.
    Raised when an API caller asks for an order id that the orders module does not own.
    Persistence port for the order aggregate.
    Lifecycle state owned by the orders module.