Rule Module
AbstractModel
AbstractModel serves as the base class for all rule-based functionality in Magento 2 (shopping cart price rules, catalog price rules, etc.). Developer...
Action\AbstractAction
This abstract class serves as the base for all rule actions in Magento 2's rule engine system. Developers extend this class when creating custom actio...
Condition\AbstractCondition
This abstract class provides the foundation for creating rule conditions in Magento 2's rule engine, used in shopping cart price rules, catalog price...
Condition\Combine
This class manages combinations of multiple rule conditions in Magento 2's rule system, allowing conditions to be grouped with 'ALL' or 'ANY' logic op...
Condition\Context
This is a deprecated context class that bundles common dependencies (asset repository, timezone, layout, condition factory, and logger) for Rule condi...
Condition\Product\AbstractProduct
This abstract class serves as the foundation for product-related conditions in Magento 2 promotional rules (cart price rules, catalog price rules). De...
Condition\Sql\Builder
This class converts Magento rule conditions into SQL WHERE clauses and applies them to product collections. Developers use it when implementing custom...
Condition\Sql\Expression
This class represents a SQL expression wrapper used in Magento's rule conditions system. It extends Zend_Db_Expr to automatically wrap SQL expressions...
Renderer\Actions
This renderer class generates HTML output for rule actions in the Magento admin form interface. Developers use this when building admin forms that nee...
Renderer\Conditions
This renderer class is used to display rule conditions in the Magento admin panel as HTML. It retrieves conditions from a rule object and recursively...
ResourceModel\AbstractResource
This abstract resource model provides base functionality for managing rule entities and their associations with other entities (websites, customer gro...