PHP Class Smalot\Magento\CatalogInventory\StockItem

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Afficher le fichier Open project: smalot/magento-client

Méthodes publiques

Méthode 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 méthode

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

update() public méthode

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