Subversion Repositories SmartDukaan

Rev

Rev 34592 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.service;

import com.spice.profitmandi.common.model.ProfitMandiConstants;
import com.spice.profitmandi.dao.entity.catalog.Bid;
import com.spice.profitmandi.dao.entity.catalog.Liquidation;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface BidService {

    ProfitMandiConstants.BID_ENUM sendMailToRBM(double netAmountInHand, double totalPayableAmount, int fofoId) throws Exception;

    void sendSummaryMailToUserAndManagers(int userId, List<Bid> bids, Liquidation liquidation) throws Exception;

    void notifyPartner(int userId, Bid bid, ProfitMandiConstants.BID_ENUM status) throws Exception;

    ProfitMandiConstants.BID_ENUM cancelYesterdayProcessBid(Bid bid) throws Exception;

    void biddingLiveNotification(String message, String mediaURL) throws Exception;

    void sendPushNotification(String message, String title, List<Integer> fofoIds) throws Exception;
    
    void sendLiquidationReport(List<Map<String, Object>> liquidations) throws Exception;

    void refundBidAmountToWallet(Bid bid, ProfitMandiConstants.BID_ENUM finalBidStatus) throws Exception;

}