Log in
Interface

CouponResourceInterface

Magento\SalesRule\Model\Spi\CouponResourceInterface

What it does

This interface defines the contract for managing coupon resource operations in Magento 2's sales rule system.

Developers use implementations of this interface to perform database operations (save, load, delete) on coupon objects, providing a standardized way to persist coupon data used in promotional pricing rules and discount campaigns.

Public Methods

  • save()
  • load()
  • delete()