Rev 30989 | Rev 32405 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service;import com.spice.profitmandi.common.enumuration.MessageType;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.SendNotificationModel;import org.apache.http.conn.HttpHostConnectException;import org.springframework.stereotype.Service;@Servicepublic interface NotificationService {void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)throws ProfitMandiBusinessException;void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,String Url) throws ProfitMandiBusinessException;void sendWhatsappMessage(String message, String title, String mobile)throws HttpHostConnectException, ProfitMandiBusinessException, Exception;void sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName)throws HttpHostConnectException, ProfitMandiBusinessException, Exception;void optIn(String phoneNumber) throws Exception;}