12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- declare(strict_types=1);
- namespace Magento\InventoryIndexer\Indexer\SourceItem;
- /**
- * Represents relation between stock and sku list
- */
- class SkuListInStock
- {
- /**
- * @var int
- */
- private $stockId;
- /**
- * @var array
- */
- private $skuList;
- /**
- * @return int
- */
- public function getStockId(): int
- {
- return $this->stockId;
- }
- /**
- * @param int $stockId
- * @return void
- */
- public function setStockId(int $stockId)
- {
- $this->stockId = $stockId;
- }
- /**
- * @return array
- */
- public function getSkuList(): array
- {
- return $this->skuList;
- }
- /**
- * @param array $skuList
- * @return void
- */
- public function setSkuList(array $skuList)
- {
- $this->skuList = $skuList;
- }
- }
|