| 26785 |
amit.gupta |
1 |
package com.spice.profitmandi.service;
|
|
|
2 |
|
|
|
3 |
import org.springframework.stereotype.Service;
|
|
|
4 |
|
|
|
5 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
6 |
import com.spice.profitmandi.dao.entity.fofo.Customer;
|
|
|
7 |
|
|
|
8 |
@Service
|
|
|
9 |
public interface CustomerService {
|
|
|
10 |
boolean authenticate(String mobile, String passowrd);
|
|
|
11 |
|
|
|
12 |
void resetPassword(String mobile) throws ProfitMandiBusinessException;
|
|
|
13 |
|
|
|
14 |
void addCustomer(Customer customer) throws ProfitMandiBusinessException;
|
|
|
15 |
|
|
|
16 |
void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)
|
|
|
17 |
throws ProfitMandiBusinessException;
|
|
|
18 |
|
|
|
19 |
}
|