Extension attributes for \Magento\Catalog\Api\Data\ProductInterface

Context: How does \Magento\Catalog\Model\Product.php::getExtensionAttributes() work?

\Magento\Catalog\Api\Data\ProductInterface

bundle_product_options: \Magento\Bundle\Api\Data\OptionInterface

configurable_product_links: int

configurable_product_options: \Magento\ConfigurableProduct\Api\Data\OptionInterface

downloadable_product_links: \Magento\ConfigurableProduct\Api\Data\OptionInterface

downloadable_product_samples: int

stock_item: \Magento\CatalogInventory\Api\Data\StockItemInterface

See also: