diff --git a/src/main/java/com/plivo/api/models/message/MessageCreator.java b/src/main/java/com/plivo/api/models/message/MessageCreator.java index 6ebfd459..c9865110 100644 --- a/src/main/java/com/plivo/api/models/message/MessageCreator.java +++ b/src/main/java/com/plivo/api/models/message/MessageCreator.java @@ -24,6 +24,7 @@ public class MessageCreator extends Creator { private URL url = null; private String method = "POST"; private Boolean log = null; + private Boolean trackable = null; /** * @param source The phone number that will be shown as the sender ID. @@ -72,6 +73,9 @@ public Boolean log() { return this.log; } + public Boolean trackable(){ + return this.trackable; + } /** * @param type Must be {@link MessageType#SMS} */ @@ -105,6 +109,15 @@ public MessageCreator log(final Boolean log) { return this; } + /** + * @param trackabel optional field + * infrastructure and the dst value will be masked + */ + public MessageCreator trackable(final Boolean trackable){ + this.trackable = log; + return this; + } + @Override protected Call obtainCall() {