Commit 29c4b413 authored by Ajit Deshmukh's avatar Ajit Deshmukh

Add "direction" field with the getter setter method.

parent b8acdcc6
......@@ -21,6 +21,7 @@ public class WhatsAppWebhookUpdate {
private List<Message> messages;
private String template_name; // can be null
private String template_language; // can be null
private int direction;
......@@ -34,7 +35,7 @@ public class WhatsAppWebhookUpdate {
}
public String getSender() {
System.out.println("In WhatsAppWebhookUpdate getSender");
System.out.println("In WhatsAppWebhookUpdate getSender..");
return sender;
}
......@@ -133,7 +134,18 @@ public class WhatsAppWebhookUpdate {
public static class Contact {
public int getDirection() {
return direction;
}
public void setDirection(int direction) {
this.direction = direction;
}
public static class Contact {
private Profile profile;
private String wa_id;
......
Markdown is supported
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