3 declare(strict_types=1);
41 private $previousVersion;
71 private $previousLabel;
95 private $businessUnit;
101 private $withoutChanges;
112 return $this->version;
123 return $this->previousVersion;
157 return $this->modifiedAt;
168 return $this->label instanceof
LabelBuilder ? $this->label->
build() : $this->label;
179 return $this->previousLabel instanceof
LabelBuilder ? $this->previousLabel->
build() : $this->previousLabel;
191 return $this->changes;
213 return $this->stores;
236 return $this->withoutChanges;
245 $this->version = $version;
256 $this->previousVersion = $previousVersion;
278 $this->modifiedBy = $modifiedBy;
289 $this->modifiedAt = $modifiedAt;
300 $this->label = $label;
311 $this->previousLabel = $previousLabel;
322 $this->changes = $changes;
333 $this->resource = $resource;
344 $this->stores = $stores;
355 $this->businessUnit = $businessUnit;
366 $this->withoutChanges = $withoutChanges;
377 $this->modifiedBy = $modifiedBy;
388 $this->label = $label;
399 $this->previousLabel = $previousLabel;
410 $this->resource = $resource;
421 $this->businessUnit = $businessUnit;
430 $this->previousVersion,
435 $this->previousLabel instanceof
LabelBuilder ? $this->previousLabel->
build() : $this->previousLabel,
440 $this->withoutChanges
withPreviousLabel(?Label $previousLabel)
withStores(?KeyReferenceCollection $stores)
withModifiedBy(?ModifiedBy $modifiedBy)
withVersion(?int $version)
withModifiedByBuilder(?ModifiedByBuilder $modifiedBy)
withChanges(?ChangeCollection $changes)
withBusinessUnit(?KeyReference $businessUnit)
withPreviousLabelBuilder(?LabelBuilder $previousLabel)
withLabelBuilder(?LabelBuilder $label)
withResource(?ResourceIdentifier $resource)
withWithoutChanges(?bool $withoutChanges)
withModifiedAt(?string $modifiedAt)
withResourceBuilder(?ResourceIdentifierBuilder $resource)
withPreviousVersion(?int $previousVersion)
withBusinessUnitBuilder(?KeyReferenceBuilder $businessUnit)