Order

@AggregateRoot(retiredEvents = ["OrderPayDuplicated", "OrderOverPaid"])
class Order(state: OrderState)

The 9.x order's decisions. A payment beyond what remains, or of an order no longer created, is rejected, where 9.x recorded OrderOverPaid and OrderPayDuplicated for its payment service to refund: this port retires those two events, so the 9.x history that holds them still loads.

Constructors

Link copied to clipboard
constructor(state: OrderState)

Types

Link copied to clipboard
object Rejections

Functions

Link copied to clipboard

Any order may be tagged again, as 9.x's lifecycle command tagged it.