OrderCustomerDelegateInterface.php 575 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\Sales\Api;
  8. use Magento\Framework\Controller\Result\Redirect;
  9. /**
  10. * Delegate related to orders customers operations to Customer module.
  11. */
  12. interface OrderCustomerDelegateInterface
  13. {
  14. /**
  15. * Redirect to Customer module new-account page to finish creating customer based on order data.
  16. *
  17. * @param int $orderId
  18. *
  19. * @return Redirect
  20. */
  21. public function delegateNew(int $orderId): Redirect;
  22. }