Log in
Interface

ProductStockIndexDataInterface

Magento\InventoryExportStockApi\Api\Data\ProductStockIndexDataInterface

What it does

This interface defines the data structure for exporting product stock index information in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to retrieve or set product inventory data including SKU, quantity, and salability status, typically for external integrations, reporting, or inventory synchronization processes.

Public Methods

  • getSku()
  • getQty()
  • getIsSalable()
  • setSku()
  • setQty()
  • setIsSalable()