save

abstract fun save(summary: OrderSummary, version: Int)

Saves summary as the order's summary at version, unless the store already holds one of that version or a later one: a commit may be handled more than once (a retry, a replay, a lease handover), and an older commit must never overwrite a newer one.