public class CustomField extends AbstractResource
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_FIELD_API_ID |
static String |
CUSTOM_FIELD_EDITOR |
static String |
CUSTOM_FIELD_NAME |
static String |
CUSTOM_FIELD_REQUIRED |
static String |
CUSTOM_FIELD_TYPE |
static String |
CUSTOM_FIELD_VALUE |
dataObj, warnings
Constructor and Description |
---|
CustomField() |
CustomField(org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getApiId() |
String |
getEditor() |
String |
getName() |
FieldType |
getType() |
String |
getTypeString() |
String |
getValue() |
Boolean |
isRequired() |
void |
setApiId(String apiId)
Set the API ID for this custom field.
|
void |
setEditor(String editor)
Specify what signer role may edit this field.
|
void |
setIsRequired(Boolean isRequired)
Specify whether this field is required.
|
void |
setName(String name)
Set the name of this custom field.
|
void |
setType(FieldType type)
Set the type for this custom field.
|
void |
setValue(String value)
Set the value for this field.
|
add, addToList, clearList, get, getBoolean, getConstructor, getDate, getInteger, getJSONObject, getList, getList, getLong, getString, getWarnings, has, hasString, set, toString
public static final String CUSTOM_FIELD_NAME
public static final String CUSTOM_FIELD_TYPE
public static final String CUSTOM_FIELD_API_ID
public static final String CUSTOM_FIELD_VALUE
public static final String CUSTOM_FIELD_EDITOR
public static final String CUSTOM_FIELD_REQUIRED
public CustomField()
public CustomField(org.json.JSONObject json) throws HelloSignException
HelloSignException
public String getName()
public void setName(String name)
name
- Stringpublic FieldType getType()
public String getTypeString()
public void setType(FieldType type)
type
- FieldTypepublic String getValue()
public void setValue(String value)
value
- Stringpublic String getApiId()
public void setApiId(String apiId)
apiId
- Stringpublic String getEditor()
public void setEditor(String editor)
editor
- Stringpublic Boolean isRequired()
public void setIsRequired(Boolean isRequired)
isRequired
- BooleanCopyright © 2016 HelloSign. All rights reserved.