public class AttachmentRequirementService extends Object
| Constructor and Description |
|---|
AttachmentRequirementService(AttachmentRequirementApiClient apiClient,
RestClient restClient,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptAttachment(PackageId packageId,
Signer signer,
String attachmentName)
Sender accepts signer's attachment requirement.
|
void |
deleteAttachmentFile(PackageId packageId,
String attachmentId,
Integer fileId,
String signerSessionId) |
DownloadedFile |
downloadAllAttachmentFilesForPackage(PackageId packageId)
Sender downloads all attachment files with file name for the package.
|
DownloadedFile |
downloadAllAttachmentFilesForSignerInPackage(DocumentPackage sdkPackage,
Signer signer)
Sender downloads all attachment files with file name for the signer in the package.
|
byte[] |
downloadAllAttachmentsForPackage(PackageId packageId)
Deprecated.
This method was replaced by
downloadAllAttachmentFilesForPackage(com.silanis.esl.sdk.PackageId) |
byte[] |
downloadAllAttachmentsForSignerInPackage(DocumentPackage sdkPackage,
Signer signer)
Deprecated.
This method was replaced by
downloadAllAttachmentFilesForSignerInPackage(com.silanis.esl.sdk.DocumentPackage, com.silanis.esl.sdk.Signer) |
byte[] |
downloadAttachment(PackageId packageId,
String attachmentId)
Deprecated.
This method was replaced by
downloadAttachmentFile(com.silanis.esl.sdk.PackageId, java.lang.String) |
DownloadedFile |
downloadAttachmentFile(PackageId packageId,
String attachmentId)
Sender downloads the attachmentFile with file name.
|
DownloadedFile |
downloadAttachmentFile(PackageId packageId,
String attachmentId,
Integer fileId)
Sender downloads the attachmentFile with file name.
|
void |
rejectAttachment(PackageId packageId,
Signer signer,
String attachmentName,
String senderComment)
Sender rejects signer's attachment requirement with a comment.
|
void |
uploadAttachment(PackageId packageId,
String attachmentId,
Map<String,byte[]> files,
String signerSessionId) |
public AttachmentRequirementService(AttachmentRequirementApiClient apiClient, RestClient restClient, String baseUrl)
public void acceptAttachment(PackageId packageId, Signer signer, String attachmentName)
packageId - the package IDsigner - the signer who uploaded the attachmentattachmentName - public void rejectAttachment(PackageId packageId, Signer signer, String attachmentName, String senderComment)
packageId - the package IDsigner - the signer who uploaded the attachmentattachmentName - senderComment - the sender's rejection comment@Deprecated public byte[] downloadAttachment(PackageId packageId, String attachmentId)
downloadAttachmentFile(com.silanis.esl.sdk.PackageId, java.lang.String)public DownloadedFile downloadAttachmentFile(PackageId packageId, String attachmentId)
packageId - the package IDattachmentId - the attachment's IDpublic DownloadedFile downloadAttachmentFile(PackageId packageId, String attachmentId, Integer fileId)
packageId - the package IDattachmentId - the attachment's IDfileId - the attachment file ID@Deprecated public byte[] downloadAllAttachmentsForPackage(PackageId packageId)
downloadAllAttachmentFilesForPackage(com.silanis.esl.sdk.PackageId)public DownloadedFile downloadAllAttachmentFilesForPackage(PackageId packageId)
packageId - the package ID@Deprecated public byte[] downloadAllAttachmentsForSignerInPackage(DocumentPackage sdkPackage, Signer signer)
downloadAllAttachmentFilesForSignerInPackage(com.silanis.esl.sdk.DocumentPackage, com.silanis.esl.sdk.Signer)public DownloadedFile downloadAllAttachmentFilesForSignerInPackage(DocumentPackage sdkPackage, Signer signer)
sdkPackage - the packagesigner - the Signerpublic void uploadAttachment(PackageId packageId, String attachmentId, Map<String,byte[]> files, String signerSessionId)
Copyright 2022 OneSpan All rights reserved.