Created
November 5, 2017 22:19
-
-
Save likemusic/aee6e3d45ead23f5113b0e83b70f3e3a to your computer and use it in GitHub Desktop.
Find the service data object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
/** | |
* Create customer account. Perform necessary business operations like sending email. | |
* | |
* @api | |
* @param \Magento\Customer\Api\Data\CustomerInterface $customer | |
* @param string $password | |
* @param string $redirectUrl | |
* @return \Magento\Customer\Api\Data\CustomerInterface | |
* @throws \Magento\Framework\Exception\LocalizedException | |
*/ | |
public function createAccount( | |
\Magento\Customer\Api\Data\CustomerInterface $customer, | |
$password = null, | |
$redirectUrl = '' | |
); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment