| 25822 |
amit.gupta |
1 |
package com.spice.profitmandi.service;
|
|
|
2 |
|
| 30066 |
amit.gupta |
3 |
import com.spice.profitmandi.common.enumuration.MessageType;
|
| 29198 |
manish |
4 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 25822 |
amit.gupta |
5 |
import com.spice.profitmandi.common.model.SendNotificationModel;
|
| 30989 |
tejbeer |
6 |
import org.apache.http.conn.HttpHostConnectException;
|
| 29927 |
amit.gupta |
7 |
import org.springframework.stereotype.Service;
|
| 25822 |
amit.gupta |
8 |
|
|
|
9 |
@Service
|
|
|
10 |
public interface NotificationService {
|
| 29198 |
manish |
11 |
void sendNotification(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
|
| 29927 |
amit.gupta |
12 |
|
|
|
13 |
void sendNotificationToAll(SendNotificationModel sendNotificationModel) throws ProfitMandiBusinessException;
|
| 30025 |
amit.gupta |
14 |
|
| 30859 |
tejbeer |
15 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message)
|
|
|
16 |
throws ProfitMandiBusinessException;
|
|
|
17 |
|
|
|
18 |
void sendNotification(int fofoId, String campaignName, MessageType messageType, String title, String message,
|
|
|
19 |
String Url) throws ProfitMandiBusinessException;
|
| 30989 |
tejbeer |
20 |
|
|
|
21 |
void sendWhatsappMessage(String message, String title, String mobile)
|
| 32253 |
amit.gupta |
22 |
throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
|
|
|
23 |
|
|
|
24 |
void sendWhatsappMediaMessage(String message, String mobile, String mediaUrl, String fileName)
|
|
|
25 |
throws HttpHostConnectException, ProfitMandiBusinessException, Exception;
|
|
|
26 |
|
|
|
27 |
void optIn(String phoneNumber) throws Exception;
|
| 25822 |
amit.gupta |
28 |
}
|