Log in
Model

CouponSearchResult

Magento\SalesRule\Model\CouponSearchResult

What it does

This class represents the search results container for coupon entities in Magento 2's sales rule system.

Developers use this when working with the Coupon repository's getList() method to retrieve multiple coupon records with their metadata like total count and search criteria.

It extends the framework's SearchResults class to provide type-specific results for coupon operations.

Public Methods

  • setItems()