Manually added missing mergefieldinfo to AgreementInfo model #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Manually added missing mergefieldinfo to AgreementInfo model to allow populating fields using the createAgreement API:
https://secure.na2.echosign.com/public/docs/restapi/v6#!/agreements/createAgreement
Added attribute:
mergeFieldInfo (MergefieldInfo[], optional): Optional default values for fields to merge into the document. The values will be presented to the signers for editable fields; for read-only fields the provided values will not be editable during the signing process. Merging data into fields is currently not supported when used with libraryDocumentId or libraryDocumentName. Only file and url are currently supported,
Related Issue
https://github.com/adobe-sign/AdobeSignJavaSdk/issues/11
Please update AgreementInfo model to include mergefieldinfo
Motivation and Context
Without this change, adding mergeFields to dynamically populate form fields in a library document template when calling the createAgreement API wouldn't be possible.
How Has This Been Tested?
Used this in our code base and we were able to add data to mergeFields successfully.
Screenshots (if appropriate):
Types of changes
Checklist: