| Line 9... |
Line 9... |
| 9 |
|
9 |
|
| 10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 11 |
import com.spice.profitmandi.common.model.SchemeModel;
|
11 |
import com.spice.profitmandi.common.model.SchemeModel;
|
| 12 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
12 |
import com.spice.profitmandi.dao.entity.catalog.Scheme;
|
| 13 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
13 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| - |
|
14 |
import com.spice.profitmandi.dao.entity.fofo.PartnerType;
|
| 14 |
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
|
15 |
import com.spice.profitmandi.dao.enumuration.catalog.SchemeType;
|
| 15 |
import com.spice.profitmandi.dao.model.CreateSchemeRequest;
|
16 |
import com.spice.profitmandi.dao.model.CreateSchemeRequest;
|
| 16 |
|
17 |
|
| 17 |
@Service
|
18 |
@Service
|
| 18 |
public interface SchemeService {
|
19 |
public interface SchemeService {
|
| Line 25... |
Line 26... |
| 25 |
public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
|
26 |
public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
|
| 26 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
27 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
| 27 |
public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
|
28 |
public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason) throws Exception;
|
| 28 |
public Map<String, Object> getSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
29 |
public Map<String, Object> getSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
| 29 |
public List<Scheme> getPaginatedSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
30 |
public List<Scheme> getPaginatedSchemes(Set<Integer> roleIds, int offset, int limit) throws ProfitMandiBusinessException;
|
| 30 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason) throws Exception;
|
31 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason) throws ProfitMandiBusinessException;
|
| 31 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
|
32 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
|
| 32 |
SchemeType schemeType) throws ProfitMandiBusinessException;
|
33 |
SchemeType schemeType) throws ProfitMandiBusinessException;
|
| - |
|
34 |
|
| - |
|
35 |
public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
|
| 33 |
// void updateSchmesForModel(int catalogId) throws ProfitMandiBusinessException;
|
36 |
// void updateSchmesForModel(int catalogId) throws ProfitMandiBusinessException;
|
| 34 |
}
|
37 |
}
|