public class DirectJobResponse extends Object
| Constructor and Description |
|---|
DirectJobResponse(long signatureJobId,
String reference,
URI statusUrl,
List<DirectSignerResponse> signers) |
| Modifier and Type | Method and Description |
|---|---|
Optional<DirectSignerResponse> |
findSignerIdentifiedBy(String identifier)
Try to find the signer with the given identifier for this job.
|
String |
getReference() |
long |
getSignatureJobId() |
DirectSignerResponse |
getSignerIdentifiedBy(String identifier)
Get the signer with the given identifier for this job.
|
List<DirectSignerResponse> |
getSigners()
Gets all the
signers for this job |
DirectSignerResponse |
getSingleSigner()
Gets the single signer for this job.
|
URI |
getStatusUrl() |
public DirectJobResponse(long signatureJobId,
String reference,
URI statusUrl,
List<DirectSignerResponse> signers)
public long getSignatureJobId()
public String getReference()
creation. May be null.public DirectSignerResponse getSingleSigner()
IllegalStateException - if there are multiple signers for this jobgetSigners()public List<DirectSignerResponse> getSigners()
signers for this jobpublic DirectSignerResponse getSignerIdentifiedBy(String identifier)
identifier - the string identifying the signer, either a personal identification number,
or a custom identifierNoSuchElementException - if the signer was not found.public Optional<DirectSignerResponse> findSignerIdentifiedBy(String identifier)
getSignerIdentifiedBy(String) instead.public URI getStatusUrl()
Copyright © 2019 Digipost. All rights reserved.