BulkStatusInterface.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\AsynchronousOperations\Api;
  8. /**
  9. * Interface BulkStatusInterface.
  10. *
  11. * Bulk summary data with list of operations items short data.
  12. *
  13. * @api
  14. * @since 100.2.3
  15. */
  16. interface BulkStatusInterface extends \Magento\Framework\Bulk\BulkStatusInterface
  17. {
  18. /**
  19. * Get Bulk summary data with list of operations items full data.
  20. *
  21. * @param string $bulkUuid
  22. * @return \Magento\AsynchronousOperations\Api\Data\DetailedBulkOperationsStatusInterface
  23. * @throws \Magento\Framework\Exception\NoSuchEntityException
  24. * @since 100.2.3
  25. */
  26. public function getBulkDetailedStatus($bulkUuid);
  27. /**
  28. * Get Bulk summary data with list of operations items short data.
  29. *
  30. * @param string $bulkUuid
  31. * @return \Magento\AsynchronousOperations\Api\Data\BulkOperationsStatusInterface
  32. * @throws \Magento\Framework\Exception\NoSuchEntityException
  33. * @since 100.2.3
  34. */
  35. public function getBulkShortStatus($bulkUuid);
  36. }