copyWith

fun copyWith(commandId: String = this.commandId, commandType: String = this.commandType, ref: AggregateRef = this.ref, error: ErrorInfo = this.error, causation: Causation = this.causation, executionId: ExecutionId = this.executionId, operator: Operator? = this.operator, scope: Scope = this.scope, headers: Map<String, String> = this.headers, version: Int? = this.version): CommandReceipt.Rejected<C>

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