public class TermsAndConditionsCallback extends AbstractCallback
_id, content, VALUE| Constructor and Description |
|---|
TermsAndConditionsCallback() |
TermsAndConditionsCallback(org.json.JSONObject raw,
int index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCreateDate()
The create date of the Terms & Conditions.
|
java.lang.String |
getTerms()
Retrieve the Terms & Conditions.
|
java.lang.String |
getType()
Return the type of the Callback, the type name should align with the Callback type returned
from AM
|
java.lang.String |
getVersion()
Retrieves the version.
|
void |
setAccept(boolean accept)
Sets whether the Terms have been accepted.
|
protected void |
setAttribute(java.lang.String name,
java.lang.Object value) |
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValuepublic TermsAndConditionsCallback(org.json.JSONObject raw,
int index)
throws org.json.JSONException
org.json.JSONExceptionpublic TermsAndConditionsCallback()
protected void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class AbstractCallbackpublic void setAccept(boolean accept)
accept - boolean representing the acceptance of the terms.public java.lang.String getType()
Callbackpublic java.lang.String getVersion()
public java.lang.String getTerms()
public java.lang.String getCreateDate()