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...
Model\ActionFactory
This factory class creates instances of rule action objects in Magento 2's rule engine. Developers use this when building conditional business logic l...
Model\Action\ActionInterface
This is a marker interface used to identify classes that represent actions in Magento's rule engine system. Developers implement this interface when c...
Model\Action\Collection
This class manages a collection of rule actions in Magento 2's promotion and pricing rule system. Developers use it to group multiple actions together...
Model\ConditionFactory
This factory creates condition model instances for Magento's rule engine. It caches created condition objects and returns clones for performance optim...
Model\Condition\ConditionInterface
This interface defines the contract for rule conditions that need to interact with database queries in Magento 2. Developers implement this interface...
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...