Subversion Repositories SmartDukaan

Rev

Rev 23509 | Rev 23880 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.service.user;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.common.model.CustomRetailer;
import com.spice.profitmandi.common.model.MapWrapper;
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
import com.spice.profitmandi.dao.entity.fofo.FofoStore;

@Service
public interface RetailerService {
        public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
        public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
        public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName) throws ProfitMandiBusinessException;
        public List<DistrictMaster> getAllDistrictMaster(String stateName);
        public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
        public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
        public List<MapWrapper<Integer, String>> getFofoRetailerIdEmailIdMap();
}