Unverified Commit b97d32c7 authored by AMIT KUMAR's avatar AMIT KUMAR Committed by GitHub
Browse files

Issue #SB-26253 feat:Fix bulk sms issue (#925)

No related merge requests found
Showing with 10 additions and 3 deletions
+10 -3
......@@ -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);
......
......@@ -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;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment