Skip to content

Commit 8c43e81

Browse files
author
Chris Paul
authored
Merge pull request hellosign#51 from HelloFax/issue-27
Update JavaDoc
2 parents 005d561 + 9ae7304 commit 8c43e81

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/main/java/com/hellosign/sdk/resource/TemplateSignatureRequest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,13 @@ public void addCustomField(CustomField field) {
195195
/**
196196
* Adds the value to fill in for a custom field with the given field name.
197197
*
198-
* @param fieldName String field name to be filled in
198+
* @param fieldNameOrApiId String name (or "Field Label") of the custom field
199+
* to be filled in. The "api_id" can also be used instead of the name.
199200
* @param value String value
200201
*/
201-
public void setCustomFieldValue(String fieldName, String value) {
202+
public void setCustomFieldValue(String fieldNameOrApiId, String value) {
202203
CustomField f = new CustomField();
203-
f.setName(fieldName);
204+
f.setName(fieldNameOrApiId);
204205
f.setValue(value);
205206
customFields.add(f);
206207
}

0 commit comments

Comments
 (0)