| Line 13... |
Line 13... |
| 13 |
import java.util.Set;
|
13 |
import java.util.Set;
|
| 14 |
|
14 |
|
| 15 |
@Service
|
15 |
@Service
|
| 16 |
public interface WalletService {
|
16 |
public interface WalletService {
|
| 17 |
|
17 |
|
| 18 |
List<WalletReferenceType> CN_WALLET_REFERENCES = Arrays.asList(WalletReferenceType.PRICE_DROP, WalletReferenceType.SCHEME_IN, WalletReferenceType.SCHEME_OUT, WalletReferenceType.ADDITIONAL_SCHEME, WalletReferenceType.SPECIAL_SUPPORT);
|
18 |
List<WalletReferenceType> CN_WALLET_REFERENCES = Arrays.asList(WalletReferenceType.PRICE_DROP, WalletReferenceType.SCHEME_IN, WalletReferenceType.SCHEME_OUT, WalletReferenceType.ADDITIONAL_SCHEME, WalletReferenceType.SPECIAL_SUPPORT, WalletReferenceType.INVESTMENT_PAYOUT);
|
| 19 |
public void addAmountToWallet(int retailerId, int referenceId, WalletReferenceType referenceType, String description, float amount, LocalDateTime businessTime) throws ProfitMandiBusinessException;
|
19 |
public void addAmountToWallet(int retailerId, int referenceId, WalletReferenceType referenceType, String description, float amount, LocalDateTime businessTime) throws ProfitMandiBusinessException;
|
| 20 |
|
20 |
|
| 21 |
public void consumeAmountFromWallet(int retailerId, int referenceId, WalletReferenceType referenceType, String description, float amount, LocalDateTime businessTime) throws ProfitMandiBusinessException;
|
21 |
public void consumeAmountFromWallet(int retailerId, int referenceId, WalletReferenceType referenceType, String description, float amount, LocalDateTime businessTime) throws ProfitMandiBusinessException;
|
| 22 |
|
22 |
|
| 23 |
UserWallet getUserWalletByUserId(int userId) throws ProfitMandiBusinessException;
|
23 |
UserWallet getUserWalletByUserId(int userId) throws ProfitMandiBusinessException;
|