PHP Class Smalot\Magento\CatalogInventory\StockItem

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Show file Open project: smalot/magento-client

Public Methods

Method Description
getList ( array $productIds ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of stock data by product IDs.
update ( string $productId, array $data ) : Smalot\Magento\ActionInterface Allows you to update the required product stock data.

Method Details

getList() public method

Allows you to retrieve the list of stock data by product IDs.
public getList ( array $productIds ) : Smalot\Magento\ActionInterface
$productIds array
return Smalot\Magento\ActionInterface

update() public method

Allows you to update the required product stock data.
public update ( string $productId, array $data ) : Smalot\Magento\ActionInterface
$productId string
$data array
return Smalot\Magento\ActionInterface