Log in
Model

ProductStockIndexDataMapper

Magento\InventoryExportStock\Model\ProductStockIndexDataMapper

What it does

This mapper class transforms raw product stock index data arrays into structured ProductStockIndexData objects.

Developers use this when exporting or processing inventory stock data to ensure consistent data formatting, particularly when converting database results into API data transfer objects with proper SKU, salability status, and quantity information.

Public Methods

  • execute()