Subversion Repositories SmartDukaan

Rev

Rev 33194 | Rev 33685 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33194 Rev 33247
Line 30... Line 30...
30
 
30
 
31
	public List<UserWalletHistory> getPaginatedUserWalletHistoryByRetailerId(int retailerId, LocalDateTime startDateTime, LocalDateTime endDateTime, int offset, int limit) throws ProfitMandiBusinessException;
31
	public List<UserWalletHistory> getPaginatedUserWalletHistoryByRetailerId(int retailerId, LocalDateTime startDateTime, LocalDateTime endDateTime, int offset, int limit) throws ProfitMandiBusinessException;
32
 
32
 
33
	public long getSizeByRetailerId(int retailerId, LocalDateTime startDateTime, LocalDateTime endDateTime) throws ProfitMandiBusinessException;
33
	public long getSizeByRetailerId(int retailerId, LocalDateTime startDateTime, LocalDateTime endDateTime) throws ProfitMandiBusinessException;
34
 
34
 
35
	public Map<Integer, UserWallet> getRetailerIdUserWalletMap(Set<Integer> retailerIds);
35
    public Map<Integer, UserWallet> getRetailerIdUserWalletMap(Set<Integer> retailerIds) throws ProfitMandiBusinessException;
36
 
36
 
37
	void consumeAmountFromWallet(int retailerId, int referenceId, WalletReferenceType referenceType,
37
	void consumeAmountFromWallet(int retailerId, int referenceId, WalletReferenceType referenceType,
38
								 String description, float amount, LocalDateTime businessTime, boolean forced) throws ProfitMandiBusinessException;
38
								 String description, float amount, LocalDateTime businessTime, boolean forced) throws ProfitMandiBusinessException;
39
 
39
 
40
	public void rollbackAmountFromWallet(int fofoId, float amountToRollback, int rollbackReference, WalletReferenceType walletReferenceType,
40
	public void rollbackAmountFromWallet(int fofoId, float amountToRollback, int rollbackReference, WalletReferenceType walletReferenceType,
Line 51... Line 51...
51
 
51
 
52
	public int getWalletAmount(int retailerId) throws ProfitMandiBusinessException;
52
	public int getWalletAmount(int retailerId) throws ProfitMandiBusinessException;
53
 
53
 
54
	List<UserWalletHistory> getAllByReference(int fofoId, int reference, WalletReferenceType walletReferenceType) throws ProfitMandiBusinessException;
54
	List<UserWalletHistory> getAllByReference(int fofoId, int reference, WalletReferenceType walletReferenceType) throws ProfitMandiBusinessException;
55
 
55
 
56
	Map<Integer, Integer> getWaleltRetailerMap(Set<Integer> retailerIds);
56
    Map<Integer, Integer> getWaleltRetailerMap(Set<Integer> retailerIds) throws ProfitMandiBusinessException;
57
 
57
 
58
	void resetWallet() throws ProfitMandiBusinessException;
58
	void resetWallet() throws ProfitMandiBusinessException;
59
 
59
 
60
	int getManualReference(WalletReferenceType referenceType);
60
	int getManualReference(WalletReferenceType referenceType);
61
}
61
}