public class DocumentPackage extends Object implements Serializable
| Constructor and Description |
|---|
DocumentPackage(String name,
List<Signer> signers,
List<Signer> placeholders,
List<Document> documents,
boolean autocomplete) |
public DocumentPackage(String name, List<Signer> signers, List<Signer> placeholders, List<Document> documents, boolean autocomplete)
name - the name of the packagesigners - the Map of signersdocuments - the Map of documentsautocomplete - the autocomplete status. If it is set to true,
then the document package will be marked as completed automatically by the systempublic void setName(String name)
public String getName()
public Signer getSigner(String email)
email - public Signer getSignerById(String signerId)
signerId - public Signer getSignerByEmailAndId(String email, String signerId)
email - signerId - public List<Signer> getSignersByEmail(String email)
email - public void addSigner(Signer signer)
signer - the signer to addpublic void removeSigner(Signer signer)
signer - the signer to removepublic void removePlaceholder(Signer signer)
public Document getDocument(String name)
name - the document namepublic boolean getAutocomplete()
true if the autocomplete status is set to true
false otherwise.public List<Document> getDocuments()
public void setDescription(String description)
description - Description of the packagepublic String getDescription()
public void setExpiryDate(Date expiryDate)
expiryDate - public Date getExpiryDate()
public void setUpdatedDate(Date updatedDate)
public Date getUpdatedDate()
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
public void setPackageMessage(String packageMessage)
packageMessage - This is a message that will get added to the email invitation sent to all signers of a packagepublic String getPackageMessage()
public void setId(PackageId id)
public PackageId getId()
public void setStatus(PackageStatus status)
public PackageStatus getStatus()
public DocumentPackageSettings getSettings()
public void setSettings(DocumentPackageSettings settings)
public void setLanguage(Locale language)
public Locale getLanguage()
public void setSenderInfo(SenderInfo senderInfo)
public SenderInfo getSenderInfo()
public DocumentPackageAttributes getAttributes()
public void setAttributes(DocumentPackageAttributes attributes)
public List<Message> getMessages()
public Boolean getNotarized()
public void setNotarized(Boolean notarized)
public Boolean getTrashed()
public void setTrashed(Boolean trashed)
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public String getTimezoneId()
public void setTimezoneId(String timezoneId)
public List<FieldCondition> getConditions()
public void setConditions(List<FieldCondition> conditions)
Copyright 2022 OneSpan All rights reserved.