@@ -33,7 +33,7 @@ interface AccountManagementInterface
3333 * @param string $password
3434 * @param string $redirectUrl
3535 * @return \Magento\Customer\Api\Data\CustomerInterface
36- * @throws LocalizedException
36+ * @throws \Magento\Framework\Exception\ LocalizedException
3737 */
3838 public function createAccount (
3939 \Magento \Customer \Api \Data \CustomerInterface $ customer ,
@@ -51,7 +51,7 @@ public function createAccount(
5151 * @return \Magento\Customer\Api\Data\CustomerInterface
5252 * @throws \Magento\Framework\Exception\InputException If bad input is provided
5353 * @throws \Magento\Framework\Exception\State\InputMismatchException If the provided email is already used
54- * @throws LocalizedException
54+ * @throws \Magento\Framework\Exception\ LocalizedException
5555 */
5656 public function createAccountWithPasswordHash (
5757 \Magento \Customer \Api \Data \CustomerInterface $ customer ,
@@ -64,7 +64,7 @@ public function createAccountWithPasswordHash(
6464 *
6565 * @param \Magento\Customer\Api\Data\CustomerInterface $customer
6666 * @return \Magento\Customer\Api\Data\ValidationResultsInterface
67- * @throws LocalizedException
67+ * @throws \Magento\Framework\Exception\ LocalizedException
6868 */
6969 public function validate (\Magento \Customer \Api \Data \CustomerInterface $ customer );
7070
@@ -74,7 +74,7 @@ public function validate(\Magento\Customer\Api\Data\CustomerInterface $customer)
7474 * @param int $customerId
7575 * @return bool
7676 * @throws \Magento\Framework\Exception\NoSuchEntityException If group is not found
77- * @throws LocalizedException
77+ * @throws \Magento\Framework\Exception\ LocalizedException
7878 */
7979 public function isReadonly ($ customerId );
8080
@@ -84,7 +84,7 @@ public function isReadonly($customerId);
8484 * @param string $email
8585 * @param string $confirmationKey
8686 * @return \Magento\Customer\Api\Data\CustomerInterface
87- * @throws LocalizedException
87+ * @throws \Magento\Framework\Exception\ LocalizedException
8888 */
8989 public function activate ($ email , $ confirmationKey );
9090
@@ -94,7 +94,7 @@ public function activate($email, $confirmationKey);
9494 * @param int $customerId
9595 * @param string $confirmationKey
9696 * @return \Magento\Customer\Api\Data\CustomerInterface
97- * @throws LocalizedException
97+ * @throws \Magento\Framework\Exception\ LocalizedException
9898 */
9999 public function activateById ($ customerId , $ confirmationKey );
100100
@@ -104,7 +104,7 @@ public function activateById($customerId, $confirmationKey);
104104 * @param string $email
105105 * @param string $password
106106 * @return \Magento\Customer\Api\Data\CustomerInterface
107- * @throws LocalizedException
107+ * @throws \Magento\Framework\Exception\ LocalizedException
108108 */
109109 public function authenticate ($ email , $ password );
110110
@@ -115,7 +115,7 @@ public function authenticate($email, $password);
115115 * @param string $currentPassword
116116 * @param string $newPassword
117117 * @return bool true on success
118- * @throws LocalizedException
118+ * @throws \Magento\Framework\Exception\ LocalizedException
119119 */
120120 public function changePassword ($ email , $ currentPassword , $ newPassword );
121121
@@ -126,7 +126,7 @@ public function changePassword($email, $currentPassword, $newPassword);
126126 * @param string $currentPassword
127127 * @param string $newPassword
128128 * @return bool true on success
129- * @throws LocalizedException
129+ * @throws \Magento\Framework\Exception\ LocalizedException
130130 */
131131 public function changePasswordById ($ customerId , $ currentPassword , $ newPassword );
132132
@@ -137,7 +137,7 @@ public function changePasswordById($customerId, $currentPassword, $newPassword);
137137 * @param string $template
138138 * @param int $websiteId
139139 * @return bool true on success
140- * @throws LocalizedException
140+ * @throws \Magento\Framework\Exception\ LocalizedException
141141 */
142142 public function initiatePasswordReset ($ email , $ template , $ websiteId = null );
143143
@@ -150,7 +150,7 @@ public function initiatePasswordReset($email, $template, $websiteId = null);
150150 * @param string $newPassword
151151 *
152152 * @return bool true on success
153- * @throws LocalizedException
153+ * @throws \Magento\Framework\Exception\ LocalizedException
154154 * @throws InputException
155155 */
156156 public function resetPassword ($ email , $ resetToken , $ newPassword );
@@ -167,7 +167,7 @@ public function resetPassword($email, $resetToken, $newPassword);
167167 * @throws \Magento\Framework\Exception\State\ExpiredException If token is expired
168168 * @throws \Magento\Framework\Exception\InputException If token or customer id is invalid
169169 * @throws \Magento\Framework\Exception\NoSuchEntityException If customer doesn't exist
170- * @throws LocalizedException
170+ * @throws \Magento\Framework\Exception\ LocalizedException
171171 */
172172 public function validateResetPasswordLinkToken ($ customerId , $ resetPasswordLinkToken );
173173
@@ -176,7 +176,7 @@ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkTo
176176 *
177177 * @param int $customerId
178178 * @return string
179- * @throws LocalizedException
179+ * @throws \Magento\Framework\Exception\ LocalizedException
180180 */
181181 public function getConfirmationStatus ($ customerId );
182182
@@ -187,7 +187,7 @@ public function getConfirmationStatus($customerId);
187187 * @param int $websiteId
188188 * @param string $redirectUrl
189189 * @return bool true on success
190- * @throws LocalizedException
190+ * @throws \Magento\Framework\Exception\ LocalizedException
191191 */
192192 public function resendConfirmation ($ email , $ websiteId , $ redirectUrl = '' );
193193
@@ -207,7 +207,7 @@ public function isEmailAvailable(string $customerEmail, int $websiteId = null):
207207 * @param int $customerWebsiteId
208208 * @param int $storeId
209209 * @return bool
210- * @throws LocalizedException
210+ * @throws \Magento\Framework\Exception\ LocalizedException
211211 */
212212 public function isCustomerInStore ($ customerWebsiteId , $ storeId );
213213
@@ -217,7 +217,7 @@ public function isCustomerInStore($customerWebsiteId, $storeId);
217217 * @param int $customerId
218218 * @return \Magento\Customer\Api\Data\AddressInterface
219219 * @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid
220- * @throws LocalizedException
220+ * @throws \Magento\Framework\Exception\ LocalizedException
221221 */
222222 public function getDefaultBillingAddress ($ customerId );
223223
@@ -227,7 +227,7 @@ public function getDefaultBillingAddress($customerId);
227227 * @param int $customerId
228228 * @return \Magento\Customer\Api\Data\AddressInterface
229229 * @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid
230- * @throws LocalizedException
230+ * @throws \Magento\Framework\Exception\ LocalizedException
231231 */
232232 public function getDefaultShippingAddress ($ customerId );
233233
0 commit comments