3declare(strict_types=1);
44 private $supplyChannel;
50 private $quantityOnStock;
56 private $minCartQuantity;
62 private $maxCartQuantity;
68 private $restockableInDays;
74 private $expectedDelivery;
80 private $reservationExpirationInMinutes;
136 return $this->quantityOnStock;
147 return $this->minCartQuantity;
158 return $this->maxCartQuantity;
169 return $this->restockableInDays;
180 return $this->expectedDelivery;
195 return $this->reservationExpirationInMinutes;
248 $this->supplyChannel = $supplyChannel;
259 $this->quantityOnStock = $quantityOnStock;
270 $this->minCartQuantity = $minCartQuantity;
281 $this->maxCartQuantity = $maxCartQuantity;
292 $this->restockableInDays = $restockableInDays;
303 $this->expectedDelivery = $expectedDelivery;
314 $this->reservationExpirationInMinutes = $reservationExpirationInMinutes;
325 $this->stockLevels = $stockLevels;
336 $this->custom = $custom;
347 $this->supplyChannel = $supplyChannel;
358 $this->stockLevels = $stockLevels;
369 $this->custom = $custom;
380 $this->quantityOnStock,
381 $this->minCartQuantity,
382 $this->maxCartQuantity,
383 $this->restockableInDays,
384 $this->expectedDelivery,
385 $this->reservationExpirationInMinutes,
withMinCartQuantity(?int $minCartQuantity)
withSupplyChannel(?ChannelResourceIdentifier $supplyChannel)
withExpectedDelivery(?DateTimeImmutable $expectedDelivery)
withRestockableInDays(?int $restockableInDays)
withSupplyChannelBuilder(?ChannelResourceIdentifierBuilder $supplyChannel)
withCustom(?CustomFieldsDraft $custom)
withReservationExpirationInMinutes(?int $reservationExpirationInMinutes)
withQuantityOnStock(?int $quantityOnStock)
withMaxCartQuantity(?int $maxCartQuantity)
withStockLevels(?InventoryEntryStockLevels $stockLevels)
getReservationExpirationInMinutes()
withStockLevelsBuilder(?InventoryEntryStockLevelsBuilder $stockLevels)
withCustomBuilder(?CustomFieldsDraftBuilder $custom)