compensationId
fun compensationId(execution: ExecutionId, receiptCommandId: String, ref: AggregateRef, commandType: Class<*>, occurrence: Int = 0): String
The id, and request id, of the occurrence-th command (from 0) to ref of commandType derived by execution for the receipt of receiptCommandId: a name-based UUID of the execution, the receipt's command, the target, the command type and the occurrence, stable for that receipt.
fun compensationId(execution: ExecutionId, receiptCommandId: String, ref: AggregateRef, commandType: Class<*>, requestId: String): String
The id, and request id, of the command to ref of commandType derived by execution for the receipt of receiptCommandId from a request whose business key is requestId (CommandRequest.requestId).