| Line 28... |
Line 28... |
| 28 |
|
28 |
|
| 29 |
public void expireSchemeById(int schemeId, LocalDateTime expiryDate) throws ProfitMandiBusinessException;
|
29 |
public void expireSchemeById(int schemeId, LocalDateTime expiryDate) throws ProfitMandiBusinessException;
|
| 30 |
|
30 |
|
| 31 |
public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
|
31 |
public void processSchemeIn(int purchaseId, int retailerId) throws ProfitMandiBusinessException;
|
| 32 |
|
32 |
|
| 33 |
public void processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
|
33 |
public float processSchemeOut(int fofoOrderId, int retailerId) throws ProfitMandiBusinessException;
|
| 34 |
|
34 |
|
| 35 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
35 |
// public void rollbackSchemeForInventoryItemId(int inventoryItemId);
|
| 36 |
public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason)
|
36 |
public void rollbackSchemes(List<Integer> inventoryItemIds, int rollbackReference, String rollbackReason)
|
| 37 |
throws Exception;
|
37 |
throws Exception;
|
| 38 |
|
38 |
|
| Line 44... |
Line 44... |
| 44 |
|
44 |
|
| 45 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason)
|
45 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason)
|
| 46 |
throws ProfitMandiBusinessException;
|
46 |
throws ProfitMandiBusinessException;
|
| 47 |
|
47 |
|
| 48 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
|
48 |
void reverseSchemes(List<InventoryItem> inventoryItems, int reversalReference, String reversalReason,
|
| 49 |
List<SchemeType> schemeTypes) throws ProfitMandiBusinessException;
|
49 |
List<SchemeType> schemeTypes) throws ProfitMandiBusinessException;
|
| 50 |
|
50 |
|
| 51 |
public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
|
51 |
public double getTotalMargin(int itemId, PartnerType partnerType, LocalDateTime localDateTime);
|
| 52 |
|
52 |
|
| 53 |
Map<Integer, Float> getCatalogSchemeCashBack();
|
53 |
Map<Integer, Float> getCatalogSchemeCashBack();
|
| 54 |
|
54 |
|
| 55 |
public List<Scheme> selectSchemeByPartnerType(PartnerType partnerType, LocalDate onDate, int itemId, boolean isAdmin, int offset,
|
55 |
public List<Scheme> selectSchemeByPartnerType(PartnerType partnerType, LocalDate onDate, int itemId, boolean isAdmin, int offset,
|
| 56 |
int limit) throws ProfitMandiBusinessException;
|
56 |
int limit) throws ProfitMandiBusinessException;
|
| - |
|
57 |
|
| - |
|
58 |
List<Scheme> selectPercentageScheme(PartnerType partnerType, LocalDate onDate, int catalogId,
|
| - |
|
59 |
boolean isAdmin, int offset, int limit) throws ProfitMandiBusinessException;
|
| 57 |
|
60 |
|
| 58 |
void processActivation() throws ProfitMandiBusinessException;
|
61 |
void processActivation() throws ProfitMandiBusinessException;
|
| 59 |
|
62 |
|
| 60 |
public static final List<SchemeType> OUT_SCHEME_TYPES = Arrays.asList(SchemeType.CATEGORY, SchemeType.HYGEINE, SchemeType.OUT, SchemeType.TERTIARY);
|
63 |
public static final List<SchemeType> OUT_SCHEME_TYPES = Arrays.asList(SchemeType.CATEGORY, SchemeType.HYGEINE, SchemeType.OUT, SchemeType.TERTIARY);
|
| 61 |
}
|
64 |
}
|