Log in
Model

Type

Magento\Downloadable\Model\Product\Type

What it does

This class handles the downloadable product type in Magento 2, managing downloadable links and samples that customers can purchase and download.

Developers use this class when working with digital products, validating purchase requirements, checking if links are required, and preparing downloadable products for checkout and order processing.

Public Methods

  • getLinks()
  • hasLinks()
  • hasOptions()
  • hasRequiredOptions()
  • getLinkSelectionRequired()
  • getSamples()
  • hasSamples()
  • checkProductBuyState()
  • getOrderOptions()
  • getSearchableData()
  • isSalable()
  • processBuyRequest()
  • canConfigure()
  • hasWeight()
  • deleteTypeSpecificData()