OrderSummary
data class OrderSummary(val tenantId: String, val orderId: String, val buyerId: String?, val status: OrderStatus, val totalAmount: BigDecimal, val units: Int, val updatedAt: Long)
One line of a buyer's order history: an order as its buyer lists them, by the time it last changed. The OrderSummaryProjection writes it from the order's commits; the history page reads it from the store the OrderSummaries are kept in, which holds no event and no state of the aggregate.
Constructors
Link copied to clipboard
constructor(tenantId: String, orderId: String, buyerId: String?, status: OrderStatus, totalAmount: BigDecimal, units: Int, updatedAt: Long)