Model
Downloadable
Magento\Downloadable\Model\Product\CopyConstructor\Downloadable
What it does
This class handles the duplication of downloadable product data when copying a downloadable product in Magento 2.
It extracts all links and samples from the original product and prepares them to be saved with the duplicate product, ensuring that downloadable content, pricing, and file information are properly transferred during the copy operation.
Public Methods
- build()