Subversion Repositories SmartDukaan

Rev

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

Rev 34204 Rev 34468
Line 11... Line 11...
11
public interface NotificationService {
11
public interface NotificationService {
12
	void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
12
	void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
13
 
13
 
14
	void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
14
	void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
15
 
15
 
16
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)
16
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message) throws ProfitMandiBusinessException;
17
			throws ProfitMandiBusinessException;
-
 
18
 
17
 
19
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
18
	void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message, String Url) throws ProfitMandiBusinessException;
20
			String Url) throws ProfitMandiBusinessException;
-
 
21
 
19
 
22
	boolean sendWhatsappMessage(String message, String title, String mobile)
-
 
23
			throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
20
	boolean sendWhatsappMessage(String message, String title, String mobile) throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
24
 
21
 
25
	boolean sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName, WhatsappMessageType whatsappMessageType)
22
	boolean sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName, WhatsappMessageType whatsappMessageType) throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
26
			throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
-
 
27
 
23
 
28
	void optIn(String phoneNumber) throws Exception;
24
	void optIn(String phoneNumber) throws Exception;
-
 
25
 
29
	 boolean shouldSendWhatsappMessage(String mobile);
26
	boolean shouldSendWhatsappMessage(String mobile);
30
 
27
 
31
    void sendPaymentWhatsappMessage(String mobile, String message) throws Exception;
28
    void sendPaymentWhatsappMessage(String mobile, String message) throws Exception;
32
 
29
 
33
}
30
}