Log in
Interface

CouponSearchResultInterface

Magento\SalesRule\Api\Data\CouponSearchResultInterface

What it does

This interface defines the contract for search results when querying for sales rule coupons in Magento 2.

Developers use this when working with the Coupon repository to retrieve collections of coupon objects, typically after performing search operations with filters and criteria.

It extends SearchResultsInterface to provide standardized pagination and result handling for coupon data.

Public Methods

  • getItems()
  • setItems()