| 34468 |
vikas.jang |
1 |
package com.spice.profitmandi.dao.service;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
|
|
4 |
import com.spice.profitmandi.dao.entity.catalog.Bid;
|
|
|
5 |
import com.spice.profitmandi.dao.entity.catalog.Liquidation;
|
|
|
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
| 34586 |
vikas.jang |
9 |
import java.util.Map;
|
| 34468 |
vikas.jang |
10 |
|
|
|
11 |
@Service
|
|
|
12 |
public interface BidService {
|
|
|
13 |
|
| 34592 |
vikas.jang |
14 |
ProfitMandiConstants.BID_ENUM sendMailToRBM(double netAmountInHand, double totalPayableAmount, int fofoId) throws Exception;
|
| 34468 |
vikas.jang |
15 |
|
|
|
16 |
void sendSummaryMailToUserAndManagers(int userId, List<Bid> bids, Liquidation liquidation) throws Exception;
|
|
|
17 |
|
| 34492 |
vikas.jang |
18 |
void notifyPartner(int userId, Bid bid, ProfitMandiConstants.BID_ENUM status) throws Exception;
|
| 34468 |
vikas.jang |
19 |
|
| 34592 |
vikas.jang |
20 |
ProfitMandiConstants.BID_ENUM cancelYesterdayProcessBid(Bid bid) throws Exception;
|
| 34468 |
vikas.jang |
21 |
|
| 37409 |
vikas |
22 |
/**
|
|
|
23 |
* @param message rich multi-line text for the push notification
|
|
|
24 |
* @param lots one line per lot for the WhatsApp template, which has a fixed three slots
|
|
|
25 |
*/
|
|
|
26 |
void biddingLiveNotification(String message, java.util.List<String> lots, String mediaURL) throws Exception;
|
| 34545 |
vikas.jang |
27 |
|
|
|
28 |
void sendPushNotification(String message, String title, List<Integer> fofoIds) throws Exception;
|
| 34586 |
vikas.jang |
29 |
|
|
|
30 |
void sendLiquidationReport(List<Map<String, Object>> liquidations) throws Exception;
|
| 34545 |
vikas.jang |
31 |
|
| 34637 |
vikas.jang |
32 |
void refundBidAmountToWallet(Bid bid, ProfitMandiConstants.BID_ENUM finalBidStatus) throws Exception;
|
|
|
33 |
|
| 34468 |
vikas.jang |
34 |
}
|