| 24336 |
amit.gupta |
1 |
package com.spice.profitmandi.service;
|
|
|
2 |
|
| 26456 |
amit.gupta |
3 |
import java.util.List;
|
|
|
4 |
|
| 24336 |
amit.gupta |
5 |
import org.springframework.stereotype.Service;
|
|
|
6 |
|
|
|
7 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
8 |
import com.spice.profitmandi.dao.entity.fofo.PartnerDailyInvestment;
|
|
|
9 |
|
|
|
10 |
@Service
|
|
|
11 |
public interface PartnerInvestmentService {
|
|
|
12 |
boolean isInvestmentBelow(int fofoId, int percentage) throws ProfitMandiBusinessException;
|
|
|
13 |
PartnerDailyInvestment getInvestment(int fofoId, int minusSalesDays) throws ProfitMandiBusinessException;
|
|
|
14 |
boolean isInvestmentOk(int fofoId, int minPercentage, int maxPercentage) throws ProfitMandiBusinessException;
|
| 26456 |
amit.gupta |
15 |
List<PartnerDailyInvestment> getInvestment(List<Integer> fofoIds, int minusSalesDays)
|
|
|
16 |
throws ProfitMandiBusinessException;
|
| 24336 |
amit.gupta |
17 |
}
|