Log in
Interface

CouponMassDeleteResultInterface

Magento\SalesRule\Api\Data\CouponMassDeleteResultInterface

What it does

This interface defines the structure for results returned from mass coupon deletion operations in Magento 2.

Developers use this to handle and report which coupons failed to delete or were not found during bulk deletion operations, allowing for proper error handling and user feedback in the admin panel or API responses.

Public Methods

  • getFailedItems()
  • setFailedItems()
  • getMissingItems()
  • setMissingItems()