3 declare(strict_types=1);
20 use DateTimeImmutable;
44 private $supplyChannel;
50 private $quantityOnStock;
56 private $restockableInDays;
62 private $expectedDelivery;
112 return $this->quantityOnStock;
123 return $this->restockableInDays;
134 return $this->expectedDelivery;
176 $this->supplyChannel = $supplyChannel;
187 $this->quantityOnStock = $quantityOnStock;
198 $this->restockableInDays = $restockableInDays;
209 $this->expectedDelivery = $expectedDelivery;
220 $this->custom = $custom;
231 $this->supplyChannel = $supplyChannel;
242 $this->custom = $custom;
253 $this->quantityOnStock,
254 $this->restockableInDays,
255 $this->expectedDelivery,
withSupplyChannel(?ChannelResourceIdentifier $supplyChannel)
withExpectedDelivery(?DateTimeImmutable $expectedDelivery)
withRestockableInDays(?int $restockableInDays)
withSupplyChannelBuilder(?ChannelResourceIdentifierBuilder $supplyChannel)
withCustom(?CustomFieldsDraft $custom)
withQuantityOnStock(?int $quantityOnStock)
withCustomBuilder(?CustomFieldsDraftBuilder $custom)