copyWith

fun copyWith(id: String = this.id, requestId: String = this.requestId, ref: AggregateRef = this.ref, body: C = this.body, expectedVersion: Int? = this.expectedVersion, scope: Scope = this.scope, headers: Map<String, String> = this.headers, causation: Causation? = this.causation, operator: Operator? = this.operator, wait: WaitPlan = this.wait, caller: Caller? = this.caller): Command<C>

This Command with the given fields replaced: Wow's own copy, left out of the ABI.