Rev 22653 | Rev 23019 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.scheme;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CreateSchemeRequest;import com.spice.profitmandi.dao.entity.catalog.Scheme;@Servicepublic interface SchemeService {public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;public void expireSchemeById(int schemeId) throws ProfitMandiBusinessException;public float processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;public float processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;}