3 declare(strict_types=1);
22 use DateTimeImmutable;
46 private $quantityOnStock;
52 private $restockableInDays;
58 private $expectedDelivery;
64 private $supplyChannel;
102 return $this->quantityOnStock;
113 return $this->restockableInDays;
124 return $this->expectedDelivery;
146 return $this->custom instanceof
CustomBuilder ? $this->custom->
build() : $this->custom;
177 $this->quantityOnStock = $quantityOnStock;
188 $this->restockableInDays = $restockableInDays;
199 $this->expectedDelivery = $expectedDelivery;
210 $this->supplyChannel = $supplyChannel;
221 $this->custom = $custom;
232 $this->supplyChannel = $supplyChannel;
243 $this->custom = $custom;
253 $this->quantityOnStock,
254 $this->restockableInDays,
255 $this->expectedDelivery,