Model
Type
Magento\Catalog\Model\ProductLink\Type
What it does
This class represents a product link type in Magento 2's catalog system.
It stores information about different types of product relationships like related products, up-sells, and cross-sells.
Developers use this class when working with the Product Links API to retrieve or define the types of associations between products.
Public Methods
- getCode()
- getName()
- setCode()
- setName()
- getExtensionAttributes()
- setExtensionAttributes()