CouponMassDeleteResultInterface.php 825 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\SalesRule\Api\Data;
  7. /**
  8. * Coupon mass delete results interface.
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface CouponMassDeleteResultInterface
  14. {
  15. /**
  16. * Get list of failed items.
  17. *
  18. * @return string[]
  19. */
  20. public function getFailedItems();
  21. /**
  22. * Set list of failed items.
  23. *
  24. * @param string[] $items
  25. * @return $this
  26. */
  27. public function setFailedItems(array $items);
  28. /**
  29. * Get list of missing items.
  30. *
  31. * @return string[]
  32. */
  33. public function getMissingItems();
  34. /**
  35. * Set list of missing items.
  36. *
  37. * @param string[] $items
  38. * @return $this
  39. */
  40. public function setMissingItems(array $items);
  41. }