public void setBlocking(boolean blocking) {
   if (blocking) {
     data.getParams().put("blocking", "true");
   } else {
     data.getParams().remove("blocking");
   }
 }
 public void setTemplateID(String templateID) {
   if (templateID != null) {
     data.addParam("template_id", templateID);
   } else {
     data.getParams().remove("template_id");
   }
 }
 public void setNotifyURL(String notifyURL) {
   if (notifyURL != null) {
     data.addParam("notify_url", notifyURL);
   } else {
     data.getParams().remove("notify_url");
   }
 }
 public boolean hasNotifyUrl() {
   return data.getParams().containsKey("notify_url");
 }
 public boolean hasTemplateID() {
   return data.getParams().containsKey("template_id");
 }