public abstract class AbstractRequest extends AbstractResource
Modifier and Type | Field and Description |
---|---|
static String |
REQUEST_HIDE_TEXT_TAGS |
static String |
REQUEST_MESSAGE |
static String |
REQUEST_METADATA |
static String |
REQUEST_REDIRECT_URL |
static String |
REQUEST_SUBJECT |
static String |
REQUEST_TEST_MODE |
static String |
REQUEST_TITLE |
static String |
REQUEST_USE_TEXT_TAGS |
dataObj
Constructor and Description |
---|
AbstractRequest() |
AbstractRequest(org.json.JSONObject json,
String optionalKey) |
Modifier and Type | Method and Description |
---|---|
void |
addMetadata(String key,
String value) |
abstract String |
getId() |
String |
getMessage() |
Metadata |
getMetadata() |
String |
getMetadata(String key) |
protected Map<String,Serializable> |
getPostFields() |
String |
getRedirectUrl() |
String |
getSubject() |
String |
getTitle() |
boolean |
hasHideTextTags() |
boolean |
hasMessage() |
boolean |
hasRedirectUrl() |
boolean |
hasSubject() |
boolean |
hasTitle() |
boolean |
hasUseTextTags() |
Boolean |
isHidingTextTags() |
boolean |
isTestMode() |
Boolean |
isUsingTextTags() |
void |
setHideTextTags(boolean hideTextTags) |
void |
setMessage(String message) |
void |
setRedirectUrl(String url) |
void |
setSubject(String subject) |
void |
setTestMode(boolean testMode) |
void |
setTitle(String title) |
void |
setUseTextTags(boolean useTextTags) |
add, addToList, clearList, get, getBoolean, getConstructor, getDate, getInteger, getJSONObject, getList, getList, getLong, getString, has, hasString, set, toString
public static final String REQUEST_TITLE
public static final String REQUEST_SUBJECT
public static final String REQUEST_MESSAGE
public static final String REQUEST_REDIRECT_URL
public static final String REQUEST_TEST_MODE
public static final String REQUEST_USE_TEXT_TAGS
public static final String REQUEST_HIDE_TEXT_TAGS
public static final String REQUEST_METADATA
public AbstractRequest()
public AbstractRequest(org.json.JSONObject json, String optionalKey) throws HelloSignException
HelloSignException
protected Map<String,Serializable> getPostFields() throws HelloSignException
HelloSignException
public abstract String getId()
public String getTitle()
public void setTitle(String title)
public boolean hasTitle()
public String getSubject()
public void setSubject(String subject)
public boolean hasSubject()
public String getMessage()
public void setMessage(String message)
public boolean hasMessage()
public void setTestMode(boolean testMode)
public boolean isTestMode()
public String getRedirectUrl()
public void setRedirectUrl(String url)
public boolean hasRedirectUrl()
public boolean hasUseTextTags()
public Boolean isUsingTextTags()
public void setUseTextTags(boolean useTextTags)
public boolean hasHideTextTags()
public Boolean isHidingTextTags()
public void setHideTextTags(boolean hideTextTags)
public Metadata getMetadata()
Copyright © 2015 HelloSign. All rights reserved.