InMemoryOrderSummaries

The order summaries in the service's memory, newest version first. The shop has no order history page, so the summaries are not served; a deployment that has one binds OrderSummaries to the store that page reads (a table written with ... WHERE version < :version, say), as this one keeps the newest version of each order.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun save(summary: OrderSummary, version: Int)
Link copied to clipboard
fun summaryOf(tenantId: String, orderId: String): OrderSummary?

The summary of the order orderId in tenantId, or null when none was saved.