@@ -33,7 +33,7 @@ interface AccountManagementInterface
33
33
* @param string $password
34
34
* @param string $redirectUrl
35
35
* @return \Magento\Customer\Api\Data\CustomerInterface
36
- * @throws LocalizedException
36
+ * @throws \Magento\Framework\Exception\ LocalizedException
37
37
*/
38
38
public function createAccount (
39
39
\Magento \Customer \Api \Data \CustomerInterface $ customer ,
@@ -51,7 +51,7 @@ public function createAccount(
51
51
* @return \Magento\Customer\Api\Data\CustomerInterface
52
52
* @throws \Magento\Framework\Exception\InputException If bad input is provided
53
53
* @throws \Magento\Framework\Exception\State\InputMismatchException If the provided email is already used
54
- * @throws LocalizedException
54
+ * @throws \Magento\Framework\Exception\ LocalizedException
55
55
*/
56
56
public function createAccountWithPasswordHash (
57
57
\Magento \Customer \Api \Data \CustomerInterface $ customer ,
@@ -64,7 +64,7 @@ public function createAccountWithPasswordHash(
64
64
*
65
65
* @param \Magento\Customer\Api\Data\CustomerInterface $customer
66
66
* @return \Magento\Customer\Api\Data\ValidationResultsInterface
67
- * @throws LocalizedException
67
+ * @throws \Magento\Framework\Exception\ LocalizedException
68
68
*/
69
69
public function validate (\Magento \Customer \Api \Data \CustomerInterface $ customer );
70
70
@@ -74,7 +74,7 @@ public function validate(\Magento\Customer\Api\Data\CustomerInterface $customer)
74
74
* @param int $customerId
75
75
* @return bool
76
76
* @throws \Magento\Framework\Exception\NoSuchEntityException If group is not found
77
- * @throws LocalizedException
77
+ * @throws \Magento\Framework\Exception\ LocalizedException
78
78
*/
79
79
public function isReadonly ($ customerId );
80
80
@@ -84,7 +84,7 @@ public function isReadonly($customerId);
84
84
* @param string $email
85
85
* @param string $confirmationKey
86
86
* @return \Magento\Customer\Api\Data\CustomerInterface
87
- * @throws LocalizedException
87
+ * @throws \Magento\Framework\Exception\ LocalizedException
88
88
*/
89
89
public function activate ($ email , $ confirmationKey );
90
90
@@ -94,7 +94,7 @@ public function activate($email, $confirmationKey);
94
94
* @param int $customerId
95
95
* @param string $confirmationKey
96
96
* @return \Magento\Customer\Api\Data\CustomerInterface
97
- * @throws LocalizedException
97
+ * @throws \Magento\Framework\Exception\ LocalizedException
98
98
*/
99
99
public function activateById ($ customerId , $ confirmationKey );
100
100
@@ -104,7 +104,7 @@ public function activateById($customerId, $confirmationKey);
104
104
* @param string $email
105
105
* @param string $password
106
106
* @return \Magento\Customer\Api\Data\CustomerInterface
107
- * @throws LocalizedException
107
+ * @throws \Magento\Framework\Exception\ LocalizedException
108
108
*/
109
109
public function authenticate ($ email , $ password );
110
110
@@ -115,7 +115,7 @@ public function authenticate($email, $password);
115
115
* @param string $currentPassword
116
116
* @param string $newPassword
117
117
* @return bool true on success
118
- * @throws LocalizedException
118
+ * @throws \Magento\Framework\Exception\ LocalizedException
119
119
*/
120
120
public function changePassword ($ email , $ currentPassword , $ newPassword );
121
121
@@ -126,7 +126,7 @@ public function changePassword($email, $currentPassword, $newPassword);
126
126
* @param string $currentPassword
127
127
* @param string $newPassword
128
128
* @return bool true on success
129
- * @throws LocalizedException
129
+ * @throws \Magento\Framework\Exception\ LocalizedException
130
130
*/
131
131
public function changePasswordById ($ customerId , $ currentPassword , $ newPassword );
132
132
@@ -137,7 +137,7 @@ public function changePasswordById($customerId, $currentPassword, $newPassword);
137
137
* @param string $template
138
138
* @param int $websiteId
139
139
* @return bool true on success
140
- * @throws LocalizedException
140
+ * @throws \Magento\Framework\Exception\ LocalizedException
141
141
*/
142
142
public function initiatePasswordReset ($ email , $ template , $ websiteId = null );
143
143
@@ -150,7 +150,7 @@ public function initiatePasswordReset($email, $template, $websiteId = null);
150
150
* @param string $newPassword
151
151
*
152
152
* @return bool true on success
153
- * @throws LocalizedException
153
+ * @throws \Magento\Framework\Exception\ LocalizedException
154
154
* @throws InputException
155
155
*/
156
156
public function resetPassword ($ email , $ resetToken , $ newPassword );
@@ -167,7 +167,7 @@ public function resetPassword($email, $resetToken, $newPassword);
167
167
* @throws \Magento\Framework\Exception\State\ExpiredException If token is expired
168
168
* @throws \Magento\Framework\Exception\InputException If token or customer id is invalid
169
169
* @throws \Magento\Framework\Exception\NoSuchEntityException If customer doesn't exist
170
- * @throws LocalizedException
170
+ * @throws \Magento\Framework\Exception\ LocalizedException
171
171
*/
172
172
public function validateResetPasswordLinkToken ($ customerId , $ resetPasswordLinkToken );
173
173
@@ -176,7 +176,7 @@ public function validateResetPasswordLinkToken($customerId, $resetPasswordLinkTo
176
176
*
177
177
* @param int $customerId
178
178
* @return string
179
- * @throws LocalizedException
179
+ * @throws \Magento\Framework\Exception\ LocalizedException
180
180
*/
181
181
public function getConfirmationStatus ($ customerId );
182
182
@@ -187,7 +187,7 @@ public function getConfirmationStatus($customerId);
187
187
* @param int $websiteId
188
188
* @param string $redirectUrl
189
189
* @return bool true on success
190
- * @throws LocalizedException
190
+ * @throws \Magento\Framework\Exception\ LocalizedException
191
191
*/
192
192
public function resendConfirmation ($ email , $ websiteId , $ redirectUrl = '' );
193
193
@@ -207,7 +207,7 @@ public function isEmailAvailable(string $customerEmail, int $websiteId = null):
207
207
* @param int $customerWebsiteId
208
208
* @param int $storeId
209
209
* @return bool
210
- * @throws LocalizedException
210
+ * @throws \Magento\Framework\Exception\ LocalizedException
211
211
*/
212
212
public function isCustomerInStore ($ customerWebsiteId , $ storeId );
213
213
@@ -217,7 +217,7 @@ public function isCustomerInStore($customerWebsiteId, $storeId);
217
217
* @param int $customerId
218
218
* @return \Magento\Customer\Api\Data\AddressInterface
219
219
* @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid
220
- * @throws LocalizedException
220
+ * @throws \Magento\Framework\Exception\ LocalizedException
221
221
*/
222
222
public function getDefaultBillingAddress ($ customerId );
223
223
@@ -227,7 +227,7 @@ public function getDefaultBillingAddress($customerId);
227
227
* @param int $customerId
228
228
* @return \Magento\Customer\Api\Data\AddressInterface
229
229
* @throws \Magento\Framework\Exception\NoSuchEntityException If the customer Id is invalid
230
- * @throws LocalizedException
230
+ * @throws \Magento\Framework\Exception\ LocalizedException
231
231
*/
232
232
public function getDefaultShippingAddress ($ customerId );
233
233
0 commit comments