Model
Item
Magento\Downloadable\Model\Link\Purchased\Item
What it does
This model represents a purchased downloadable link item in an order, tracking download permissions and usage.
Developers use this class to manage customer access to downloadable products, including download counts, expiration status, and link details.
It ensures data integrity by validating that an order item ID exists before saving.
Public Methods
- beforeSave()