ShipmentProviderInterface.php 419 B

12345678910111213141516171819202122232425
  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\Shipping\Model;
  8. /**
  9. * Provide shipment items data.
  10. *
  11. * @api
  12. * @since 100.3.0
  13. */
  14. interface ShipmentProviderInterface
  15. {
  16. /**
  17. * Retrieve shipment items.
  18. *
  19. * @return array
  20. * @since 100.3.0
  21. */
  22. public function getShipmentData(): array;
  23. }