Log in

Downloadable Module

DomainManager

Model

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

Model

This class represents downloadable product options in Magento 2, specifically managing which downloadable links are selected for a product. Developers...

File\Content

Model

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

Model

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

Model

This validator class ensures that downloadable product file content is properly formatted and secure before being saved. Developers use it when creati...

Link

Model

This model represents a downloadable link for downloadable products in Magento 2. Developers use this class to manage downloadable product links, incl...

LinkRepository

Model

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

Model

This builder class constructs and configures downloadable link models for downloadable products in Magento 2. Developers use it when programmatically...

Link\ContentValidator

Model

This validator ensures downloadable product links and their samples have valid data before saving. Developers use it when creating or updating downloa...

Link\CreateHandler

Model

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

Model

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

Model

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

Model

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

Model

This read handler is responsible for loading and attaching downloadable links to a downloadable product entity. It's automatically invoked during prod...

Link\UpdateHandler

Model

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

Model

This class converts downloadable product options between different formats during the cart and order processing workflow. It transforms downloadable l...

Product\CopyConstructor\Downloadable

Model

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

Model

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

Model

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

Model

This abstract class provides a foundation for handling downloadable product components (links and samples) in Magento 2. Developers extend this class...

Product\TypeHandler\Link

Model

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

Model

This class handles the creation, modification, and deletion of downloadable product samples in Magento 2. Developers use this when programmatically ma...

Product\TypeHandler\TypeHandler

Model

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

Model

This processor handles the conversion and processing of downloadable product options in shopping cart items. Developers use this class to ensure downl...

RelatedProductRetriever

Model

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

Model

This class handles price indexing specifically for downloadable products in Magento 2. It calculates and updates price index tables by considering dow...

ResourceModel\Link

Model

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

Model

This resource model handles database operations for purchased downloadable product links in Magento 2. Developers use this class when working with cus...

ResourceModel\Sample

Model

This resource model manages database operations for downloadable product samples in Magento 2. Developers use this class to save sample titles with st...

Sample

Model

This model represents a downloadable product sample in Magento 2, allowing customers to preview content before purchasing. Developers use this class t...

SampleRepository

Model

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

Model

This builder class constructs and configures Sample models for downloadable products in Magento 2. Developers use it when creating or updating product...

Sample\ContentValidator

Model

This validator class ensures downloadable product sample content meets Magento's requirements before being saved. Developers use it to validate sample...

Sample\CreateHandler

Model

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

Model

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

Model

This read handler loads downloadable sample data for downloadable products during entity retrieval operations. It automatically fetches and attaches s...

Sample\UpdateHandler

Model

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

Model

This class provides shareable configuration options for downloadable product links in Magento 2. Developers use this source model to populate dropdown...

Source\TypeUpload

Model

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

Model

This class validates domain URLs for downloadable products in Magento 2. Developers use it to ensure that file or sample URLs for downloadable product...