Downloadable Module
Api\Data\DownloadableOptionInterface
This interface defines the contract for managing downloadable links associated with a product option in Magento's Downloadable module. Developers use...
Api\Data\File\ContentInterface
This interface defines the data structure for representing file content in Magento's Downloadable product module. Developers use it when working with...
Api\Data\File\ContentUploaderInterface
This interface defines a contract for uploading downloadable file content in Magento 2's Downloadable module. Developers implement this interface to h...
Api\Data\LinkInterface
This interface defines the contract for downloadable product links in Magento 2. Developers use it to create, read, and manipulate downloadable file l...
Api\Data\ProductAttributeInterface
This interface defines the attribute code constant for identifying downloadable products in Magento 2. Developers use this when working with downloada...
Api\Data\SampleInterface
This interface defines the contract for downloadable product samples in Magento 2. Developers use it to create, retrieve, and manipulate sample files...
Api\DomainManagerInterface
This interface defines methods for managing a whitelist of domains that are allowed to host downloadable product files in Magento 2. Developers use th...
Api\LinkRepositoryInterface
This repository interface manages downloadable product links in Magento 2. Developers use it to retrieve, create, update, or delete downloadable links...
Api\SampleRepositoryInterface
This interface defines the contract for managing downloadable product samples in Magento 2. Developers use this repository to retrieve, create, update...
Catalog\Product\Configuration
This helper class manages the display and retrieval of downloadable product configuration options, particularly for cart and order items. Developers u...
Data
This helper class provides utility methods for working with downloadable products in Magento 2. Developers use it primarily to determine if a download...
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...
Download
This helper class handles the downloading of digital product files in Magento's Downloadable module. Developers use it to manage file output, retrieve...
DownloadableOption
This class represents downloadable product options in Magento 2, specifically managing which downloadable links are selected for a product. Developers...
File
This helper class manages file operations for downloadable products in Magento 2, including uploading files from temporary directories, moving files b...
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...
Model\ComponentInterface
This interface defines the contract for downloadable product components (links and samples) in Magento 2. Developers implement this interface when cre...
Model\Product\TypeHandler\TypeHandlerInterface
This interface defines the contract for handling specific types of downloadable product data (like links or samples) during product save operations. D...
Model\ResourceModel\Link\Collection
This collection class retrieves and manages downloadable product links in Magento 2. Developers use it to load downloadable links for specific product...
Model\ResourceModel\Sample\Collection
This collection class manages downloadable product samples in Magento 2. Developers use it to retrieve and filter sample data for downloadable product...
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...