ProductLinkTypeInterface
Magento\Catalog\Api\Data\ProductLinkTypeInterface
What it does
This interface defines the contract for product link types in Magento 2, representing the different ways products can be related (e.g., related products, up-sells, cross-sells).
Developers use this when working with product relationships to access or modify link type information, including the type code and name.
It's commonly used in catalog operations that involve managing product associations.
Public Methods
- getCode()
- setCode()
- getName()
- setName()
- getExtensionAttributes()
- setExtensionAttributes()