Subversion Repositories SmartDukaan

Rev

Rev 35458 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35458 Rev 35758
Line 591... Line 591...
591
            SendNotificationModel snm = new SendNotificationModel();
591
            SendNotificationModel snm = new SendNotificationModel();
592
            snm.setCampaignName("Online Order Alert");
592
            snm.setCampaignName("Online Order Alert");
593
            snm.setTitle("Online Order Update");
593
            snm.setTitle("Online Order Update");
594
            snm.setMessage(String.format("Your Partner " + customRetailer.getBusinessName() + " have new Online Order. Please inform your partner. In case of an activation scheme pls ensure the handset is activated, payout will be processed as per brand's activation report."));
594
            snm.setMessage(String.format("Your Partner " + customRetailer.getBusinessName() + " have new Online Order. Please inform your partner. In case of an activation scheme pls ensure the handset is activated, payout will be processed as per brand's activation report."));
595
            snm.setType("url");
595
            snm.setType("url");
596
            snm.setUrl("https://smartdukaan.com/pages/home/notifications");
596
            snm.setUrl("https://app.smartdukaan.com/pages/home/notifications");
597
            snm.setExpiresat(LocalDateTime.now().plusDays(1));
597
            snm.setExpiresat(LocalDateTime.now().plusDays(1));
598
            snm.setMessageType(MessageType.notification);
598
            snm.setMessageType(MessageType.notification);
599
            snm.setUserIds(userIds);
599
            snm.setUserIds(userIds);
600
            notificationService.sendNotification(snm);
600
            notificationService.sendNotification(snm);
601
 
601