Subversion Repositories SmartDukaan

Rev

Rev 24248 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24248 Rev 33248
Line 1... Line 1...
1
package com.spice.profitmandi.service.order;
1
package com.spice.profitmandi.service.order;
2
 
2
 
3
import java.util.List;
-
 
4
import java.util.Map;
-
 
5
 
-
 
6
import org.springframework.stereotype.Service;
-
 
7
 
-
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.model.PaymentOptionIdStatus;
4
import com.spice.profitmandi.common.model.PaymentOptionIdStatus;
10
import com.spice.profitmandi.dao.entity.fofo.PaymentOption;
5
import com.spice.profitmandi.dao.entity.fofo.PaymentOption;
-
 
6
import org.springframework.stereotype.Service;
-
 
7
 
-
 
8
import java.util.List;
-
 
9
import java.util.Map;
11
 
10
 
12
@Service
11
@Service
13
public interface PaymentOptionService {
12
public interface PaymentOptionService {
14
	public List<PaymentOption> getPaymentOptionsByFofoId(int fofoId);
13
    public List<PaymentOption> getPaymentOptionsByFofoId(int fofoId) throws ProfitMandiBusinessException;
15
	public Map<String, Object> getFofoPartnerPaymentOption(int fofoId);
14
	public Map<String, Object> getFofoPartnerPaymentOption(int fofoId);
16
	public Map<String, Object> createAndGetPaymentOption(String name) throws ProfitMandiBusinessException;
15
	public Map<String, Object> createAndGetPaymentOption(String name) throws ProfitMandiBusinessException;
17
	public Map<String, Object> addPaymentOptionToFofoPartner(int fofoId, List<PaymentOptionIdStatus> paymentOptionIdStatuses) throws ProfitMandiBusinessException;
16
	public Map<String, Object> addPaymentOptionToFofoPartner(int fofoId, List<PaymentOptionIdStatus> paymentOptionIdStatuses) throws ProfitMandiBusinessException;
18
	public float getTotalInvestment(int fofoId) throws ProfitMandiBusinessException;
17
	public float getTotalInvestment(int fofoId) throws ProfitMandiBusinessException;
19
}
18
}