3 declare(strict_types=1);
26 use DateTimeImmutable;
56 private $lastModifiedAt;
62 private $lastModifiedBy;
86 private $supplyChannel;
92 private $quantityOnStock;
98 private $availableQuantity;
104 private $restockableInDays;
110 private $expectedDelivery;
137 return $this->version;
148 return $this->createdAt;
159 return $this->lastModifiedAt;
225 return $this->quantityOnStock;
236 return $this->availableQuantity;
247 return $this->restockableInDays;
258 return $this->expectedDelivery;
289 $this->version = $version;
300 $this->createdAt = $createdAt;
311 $this->lastModifiedAt = $lastModifiedAt;
322 $this->lastModifiedBy = $lastModifiedBy;
333 $this->createdBy = $createdBy;
366 $this->supplyChannel = $supplyChannel;
377 $this->quantityOnStock = $quantityOnStock;
388 $this->availableQuantity = $availableQuantity;
399 $this->restockableInDays = $restockableInDays;
410 $this->expectedDelivery = $expectedDelivery;
421 $this->custom = $custom;
432 $this->lastModifiedBy = $lastModifiedBy;
443 $this->createdBy = $createdBy;
454 $this->supplyChannel = $supplyChannel;
465 $this->custom = $custom;
476 $this->lastModifiedAt,
482 $this->quantityOnStock,
483 $this->availableQuantity,
484 $this->restockableInDays,
485 $this->expectedDelivery,
withLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
withSupplyChannel(?ChannelReference $supplyChannel)
withExpectedDelivery(?DateTimeImmutable $expectedDelivery)
withCustom(?CustomFields $custom)
withCustomBuilder(?CustomFieldsBuilder $custom)
withCreatedAt(?DateTimeImmutable $createdAt)
withCreatedBy(?CreatedBy $createdBy)
withRestockableInDays(?int $restockableInDays)
withSupplyChannelBuilder(?ChannelReferenceBuilder $supplyChannel)
withVersion(?int $version)
withLastModifiedBy(?LastModifiedBy $lastModifiedBy)
withCreatedByBuilder(?CreatedByBuilder $createdBy)
withLastModifiedByBuilder(?LastModifiedByBuilder $lastModifiedBy)
withQuantityOnStock(?int $quantityOnStock)
withAvailableQuantity(?int $availableQuantity)