OrderCustomerManagementInterface.php 475 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Api;
  7. /**
  8. * @api
  9. *
  10. * @since 100.0.2
  11. */
  12. interface OrderCustomerManagementInterface
  13. {
  14. /**
  15. * Create customer account for order
  16. *
  17. * @param int $orderId
  18. * @return \Magento\Customer\Api\Data\CustomerInterface
  19. * @throws \Magento\Framework\Exception\AlreadyExistsException
  20. */
  21. public function create($orderId);
  22. }