Subversion Repositories SmartDukaan

Rev

Rev 22653 | Rev 23019 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22608 ashik.ali 1
package com.spice.profitmandi.service.scheme;
2
 
3
import org.springframework.stereotype.Service;
4
 
22653 ashik.ali 5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
22859 ashik.ali 6
import com.spice.profitmandi.common.model.CreateSchemeRequest;
22653 ashik.ali 7
import com.spice.profitmandi.dao.entity.catalog.Scheme;
8
 
22608 ashik.ali 9
@Service
10
public interface SchemeService {
22859 ashik.ali 11
	public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
12
	public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
22653 ashik.ali 13
	public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
14
	public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;
22859 ashik.ali 15
	public float processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
16
	public float processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
22608 ashik.ali 17
}