ProductFrontendActionInterface
Magento\Catalog\Api\Data\ProductFrontendActionInterface
What it does
This interface defines a data contract for tracking customer and visitor interactions with products on the storefront, such as product views or comparisons.
Developers use this interface when implementing features that need to record or retrieve product engagement data, including who performed the action (visitor or customer), which product was involved, and when it occurred.
It's commonly used in analytics, personalization, and recently viewed product features.
Public Methods
- getActionId()
- setActionId()
- getVisitorId()
- setVisitorId()
- getCustomerId()
- setCustomerId()
- getProductId()
- setProductId()
- getTypeId()
- setTypeId()
- getAddedAt()
- setAddedAt()