diff --git a/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java b/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java index 757702a85fea467761087de7d0d7651d6041ff12..05f35c0b15408d3f54f49cf25529ce0fe52e9e06 100644 --- a/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java +++ b/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/Msg91SmsProvider.java @@ -141,7 +141,7 @@ public class Msg91SmsProvider implements ISmsProvider { // create body ProviderDetails providerDetails = - new ProviderDetails(sender, smsRoute, country, 1, smsList); + new ProviderDetails(sender, smsRoute, country, 1, smsList, templateId); String providerDetailsString = JsonUtil.toJson(providerDetails); @@ -384,7 +384,7 @@ public class Msg91SmsProvider implements ISmsProvider { smsList.add(sms); // create body - ProviderDetails providerDetails = new ProviderDetails(sender, smsRoute, country, 1, smsList); + ProviderDetails providerDetails = new ProviderDetails(sender, smsRoute, country, 1, smsList, templateId); String providerDetailsString = JsonUtil.toJson(providerDetails); diff --git a/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java b/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java index 40349e39048225716eebb1532c0e88188c8a4a81..5c49ed1730ee096a5a1fceb8cb49387eba8f47d1 100644 --- a/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java +++ b/core/notification-utils/src/main/java/org/sunbird/notification/sms/providerimpl/ProviderDetails.java @@ -13,14 +13,16 @@ public class ProviderDetails implements Serializable { private String route; private String country; private int unicode; + private String DLT_TE_ID; private List<Sms> sms; - public ProviderDetails(String sender, String route, String country, int unicode, List<Sms> sms) { + public ProviderDetails(String sender, String route, String country, int unicode, List<Sms> sms, String DLT_TE_ID) { this.sender = sender; this.route = route; this.country = country; this.sms = sms; this.unicode = unicode; + this.DLT_TE_ID = DLT_TE_ID; } /** @return the serialversionuid */ @@ -52,4 +54,9 @@ public class ProviderDetails implements Serializable { public int getUnicode() { return unicode; } + + /** @return the DLT_TE_ID */ + public String getDLT_TE_ID() { + return DLT_TE_ID; + } }