| Line 20... |
Line 20... |
| 20 |
public interface SchemeService {
|
20 |
public interface SchemeService {
|
| 21 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
21 |
public void saveScheme(int creatorId, CreateSchemeRequest createSchemeRequest) throws ProfitMandiBusinessException;
|
| 22 |
|
22 |
|
| 23 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
23 |
public Scheme getSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
| 24 |
|
24 |
|
| 25 |
public List<SchemeModel> getAllSchemeModels(LocalDateTime startDateTime, LocalDateTime endDateTime);
|
25 |
public List<SchemeModel> getAllSchemeModels(LocalDateTime startDateTime, LocalDateTime endDateTime) throws ProfitMandiBusinessException;
|
| 26 |
|
26 |
|
| 27 |
public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
27 |
public void activeSchemeById(int schemeId) throws ProfitMandiBusinessException;
|
| 28 |
|
28 |
|
| 29 |
public void expireSchemeById(int schemeId, LocalDateTime expiryDate) throws ProfitMandiBusinessException;
|
29 |
public void expireSchemeById(int schemeId, LocalDateTime expiryDate) throws ProfitMandiBusinessException;
|
| 30 |
|
30 |
|
| Line 67... |
Line 67... |
| 67 |
|
67 |
|
| 68 |
public static List<SchemeType> OUT_SCHEME_TYPES = Arrays.asList(SchemeType.CATEGORY, SchemeType.HYGEINE, SchemeType.OUT, SchemeType.TERTIARY);
|
68 |
public static List<SchemeType> OUT_SCHEME_TYPES = Arrays.asList(SchemeType.CATEGORY, SchemeType.HYGEINE, SchemeType.OUT, SchemeType.TERTIARY);
|
| 69 |
|
69 |
|
| 70 |
void processActivatedImeisForSchemes() throws ProfitMandiBusinessException;
|
70 |
void processActivatedImeisForSchemes() throws ProfitMandiBusinessException;
|
| 71 |
|
71 |
|
| 72 |
Map<Integer, Float> getCatalogSchemeCashBack(int fofoId, List<Integer> catalogIds);
|
72 |
Map<Integer, Float> getCatalogSchemeCashBack(int fofoId, List<Integer> catalogIds) throws ProfitMandiBusinessException;
|
| 73 |
|
73 |
|
| 74 |
List<Scheme> selectSchemeByPartnerTypeFofoId(PartnerType partnerType, LocalDate onDate, int catalogId,
|
74 |
List<Scheme> selectSchemeByPartnerTypeFofoId(PartnerType partnerType, LocalDate onDate, int catalogId,
|
| 75 |
int fofoId, int offset, int limit) throws ProfitMandiBusinessException;
|
75 |
int fofoId, int offset, int limit) throws ProfitMandiBusinessException;
|
| 76 |
|
76 |
|
| 77 |
}
|
77 |
}
|