Downloadable Module
DomainManager
This class manages a whitelist of allowed domains for downloadable product files in Magento 2. Developers use it to add or remove trusted domains from...
DownloadableOption
This class represents downloadable product options in Magento 2, specifically managing which downloadable links are selected for a product. Developers...
File\Content
This class represents the file content data structure for downloadable products in Magento 2. Developers use it to handle file uploads for downloadabl...
File\ContentUploader
This class handles uploading downloadable product files (links and samples) through the API by decoding base64-encoded content and saving it to tempor...
File\ContentValidator
This validator class ensures that downloadable product file content is properly formatted and secure before being saved. Developers use it when creati...
Link
This model represents a downloadable link for downloadable products in Magento 2. Developers use this class to manage downloadable product links, incl...
LinkRepository
This repository class manages downloadable product links in Magento 2. Developers use it to create, read, update, and delete downloadable links for pr...
Link\Builder
This builder class constructs and configures downloadable link models for downloadable products in Magento 2. Developers use it when programmatically...
Link\ContentValidator
This validator ensures downloadable product links and their samples have valid data before saving. Developers use it when creating or updating downloa...
Link\CreateHandler
This handler is responsible for creating and persisting downloadable links when a new downloadable product is saved in Magento 2. It extracts download...
Link\DeleteHandler
This class handles the deletion of downloadable links when a downloadable product is being deleted from Magento. It's automatically invoked by Magento...
Link\Purchased
This model represents a purchased downloadable link record in Magento 2. Developers use this class to manage and track downloadable products that cust...
Link\Purchased\Item
This model represents a purchased downloadable link item in an order, tracking download permissions and usage. Developers use this class to manage cus...
Link\ReadHandler
This read handler is responsible for loading and attaching downloadable links to a downloadable product entity. It's automatically invoked during prod...
Link\UpdateHandler
This class manages the update operation for downloadable product links when a product is saved. It synchronizes the links in the database with those p...
ProductOptionProcessor
This class converts downloadable product options between different formats during the cart and order processing workflow. It transforms downloadable l...
Product\CopyConstructor\Downloadable
This class handles the duplication of downloadable product data when copying a downloadable product in Magento 2. It extracts all links and samples fr...
Product\Price
This class calculates the final price for downloadable products in Magento 2. It extends the standard product price model to include the cost of downl...
Product\Type
This class handles the downloadable product type in Magento 2, managing downloadable links and samples that customers can purchase and download. Devel...
Product\TypeHandler\AbstractTypeHandler
This abstract class provides a foundation for handling downloadable product components (links and samples) in Magento 2. Developers extend this class...
Product\TypeHandler\Link
This class handles the management of downloadable product links in Magento 2. It saves, updates, and deletes link data for downloadable products, incl...
Product\TypeHandler\Sample
This class handles the creation, modification, and deletion of downloadable product samples in Magento 2. Developers use this when programmatically ma...
Product\TypeHandler\TypeHandler
This class acts as a composite handler that manages multiple type-specific handlers for downloadable products. It delegates save operations and valida...
Quote\Item\CartItemProcessor
This processor handles the conversion and processing of downloadable product options in shopping cart items. Developers use this class to ensure downl...
RelatedProductRetriever
This class retrieves a parent product entity for downloadable products by its ID. Developers use this utility when they need to fetch a product using...
ResourceModel\Indexer\Price
This class handles price indexing specifically for downloadable products in Magento 2. It calculates and updates price index tables by considering dow...
ResourceModel\Link
This resource model manages database operations for downloadable product links in Magento 2. Developers use this class to save link titles and prices...
ResourceModel\Link\Purchased
This resource model handles database operations for purchased downloadable product links in Magento 2. Developers use this class when working with cus...
ResourceModel\Sample
This resource model manages database operations for downloadable product samples in Magento 2. Developers use this class to save sample titles with st...
Sample
This model represents a downloadable product sample in Magento 2, allowing customers to preview content before purchasing. Developers use this class t...
SampleRepository
This repository class manages downloadable product samples in Magento 2. Developers use it to retrieve, create, update, and delete sample files or URL...
Sample\Builder
This builder class constructs and configures Sample models for downloadable products in Magento 2. Developers use it when creating or updating product...
Sample\ContentValidator
This validator class ensures downloadable product sample content meets Magento's requirements before being saved. Developers use it to validate sample...
Sample\CreateHandler
This class handles the creation of downloadable product samples when a new downloadable product is saved. It processes and saves all sample files (lik...
Sample\DeleteHandler
This class handles the deletion of downloadable samples when a downloadable product is deleted or updated. It's automatically invoked by Magento's ent...
Sample\ReadHandler
This read handler loads downloadable sample data for downloadable products during entity retrieval operations. It automatically fetches and attaches s...
Sample\UpdateHandler
This class manages the update process for downloadable product samples in Magento 2. It synchronizes sample data by saving new or modified samples and...
Source\Shareable
This class provides shareable configuration options for downloadable product links in Magento 2. Developers use this source model to populate dropdown...
Source\TypeUpload
This class provides upload type options for downloadable product files and samples in Magento 2. Developers use this as a source model in admin forms...
Url\DomainValidator
This class validates domain URLs for downloadable products in Magento 2. Developers use it to ensure that file or sample URLs for downloadable product...