Package com.blockchyp.client.dto
Class TermsAndConditionsLogEntry
java.lang.Object
com.blockchyp.client.dto.TermsAndConditionsLogEntry
- All Implemented Interfaces:
IAbstractAcknowledgement
Models a Terms and Conditions log entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()Gets alias of the terms and conditions template used for this entry, if any.Gets full text of the document agreed to at the time of signature capture.Gets first 32 characters of the full text.getError()Gets the error, if an error occurred.getId()Gets internal id for a Terms and Conditions entry.getName()Gets title of the document displayed on the terminal at the time of capture.Gets a narrative description of the transaction result.Gets the image format to be used for returning signatures.Gets the base 64 encoded signature image if the format requested.Gets id of the terminal that captured this terms and conditions entry.Gets name of the terminal that captured this terms and conditions entry.Gets date and time the terms and conditions acceptance occurred.Gets optional transaction id if only log entries related to a transaction should be returned.Gets optional transaction ref if the terms and conditions was associated with a transaction.booleanGets a flag that indicates whether or not a signature has been captured.booleanGets whether or not the request succeeded.booleanisTest()Gets a flag indicating whether or not the terminal was a test terminal.voidSets alias of the terms and conditions template used for this entry, if any.voidsetContent(String value) Sets full text of the document agreed to at the time of signature capture.voidsetContentLeader(String value) Sets first 32 characters of the full text.voidSets the error, if an error occurred.voidsetHasSignature(boolean value) Sets a flag that indicates whether or not a signature has been captured.voidSets internal id for a Terms and Conditions entry.voidSets title of the document displayed on the terminal at the time of capture.voidsetResponseDescription(String value) Sets a narrative description of the transaction result.voidsetSigFormat(SignatureFormat value) Sets the image format to be used for returning signatures.voidsetSignature(String value) Sets the base 64 encoded signature image if the format requested.voidsetSuccess(boolean value) Sets whether or not the request succeeded.voidsetTerminalId(String value) Sets id of the terminal that captured this terms and conditions entry.voidsetTerminalName(String value) Sets name of the terminal that captured this terms and conditions entry.voidsetTest(boolean value) Sets a flag indicating whether or not the terminal was a test terminal.voidsetTimestamp(String value) Sets date and time the terms and conditions acceptance occurred.voidsetTransactionId(String value) Sets optional transaction id if only log entries related to a transaction should be returned.voidsetTransactionRef(String value) Sets optional transaction ref if the terms and conditions was associated with a transaction.
-
Constructor Details
-
TermsAndConditionsLogEntry
public TermsAndConditionsLogEntry()
-
-
Method Details
-
setSuccess
public void setSuccess(boolean value) Sets whether or not the request succeeded.- Parameters:
value- whether or not the request succeeded.
-
isSuccess
public boolean isSuccess()Gets whether or not the request succeeded.- Specified by:
isSuccessin interfaceIAbstractAcknowledgement- Returns:
- whether or not the request succeeded.
-
setError
Sets the error, if an error occurred.- Parameters:
value- the error, if an error occurred.
-
getError
Gets the error, if an error occurred.- Specified by:
getErrorin interfaceIAbstractAcknowledgement- Returns:
- the error, if an error occurred.
-
setResponseDescription
Sets a narrative description of the transaction result.- Parameters:
value- a narrative description of the transaction result.
-
getResponseDescription
Gets a narrative description of the transaction result.- Specified by:
getResponseDescriptionin interfaceIAbstractAcknowledgement- Returns:
- a narrative description of the transaction result.
-
setId
Sets internal id for a Terms and Conditions entry.- Parameters:
value- internal id for a Terms and Conditions entry.
-
getId
Gets internal id for a Terms and Conditions entry.- Returns:
- internal id for a Terms and Conditions entry.
-
setTerminalId
Sets id of the terminal that captured this terms and conditions entry.- Parameters:
value- id of the terminal that captured this terms and conditions entry.
-
getTerminalId
Gets id of the terminal that captured this terms and conditions entry.- Returns:
- id of the terminal that captured this terms and conditions entry.
-
setTerminalName
Sets name of the terminal that captured this terms and conditions entry.- Parameters:
value- name of the terminal that captured this terms and conditions entry.
-
getTerminalName
Gets name of the terminal that captured this terms and conditions entry.- Returns:
- name of the terminal that captured this terms and conditions entry.
-
setTest
public void setTest(boolean value) Sets a flag indicating whether or not the terminal was a test terminal.- Parameters:
value- a flag indicating whether or not the terminal was a test terminal.
-
isTest
public boolean isTest()Gets a flag indicating whether or not the terminal was a test terminal.- Returns:
- a flag indicating whether or not the terminal was a test terminal.
-
setTimestamp
Sets date and time the terms and conditions acceptance occurred.- Parameters:
value- date and time the terms and conditions acceptance occurred.
-
getTimestamp
Gets date and time the terms and conditions acceptance occurred.- Returns:
- date and time the terms and conditions acceptance occurred.
-
setTransactionRef
Sets optional transaction ref if the terms and conditions was associated with a transaction.- Parameters:
value- optional transaction ref if the terms and conditions was associated with a transaction.
-
getTransactionRef
Gets optional transaction ref if the terms and conditions was associated with a transaction.- Returns:
- optional transaction ref if the terms and conditions was associated with a transaction.
-
setTransactionId
Sets optional transaction id if only log entries related to a transaction should be returned.- Parameters:
value- optional transaction id if only log entries related to a transaction should be returned.
-
getTransactionId
Gets optional transaction id if only log entries related to a transaction should be returned.- Returns:
- optional transaction id if only log entries related to a transaction should be returned.
-
setAlias
Sets alias of the terms and conditions template used for this entry, if any.- Parameters:
value- alias of the terms and conditions template used for this entry, if any.
-
getAlias
Gets alias of the terms and conditions template used for this entry, if any.- Returns:
- alias of the terms and conditions template used for this entry, if any.
-
setName
Sets title of the document displayed on the terminal at the time of capture.- Parameters:
value- title of the document displayed on the terminal at the time of capture.
-
getName
Gets title of the document displayed on the terminal at the time of capture.- Returns:
- title of the document displayed on the terminal at the time of capture.
-
setContent
Sets full text of the document agreed to at the time of signature capture.- Parameters:
value- full text of the document agreed to at the time of signature capture.
-
getContent
Gets full text of the document agreed to at the time of signature capture.- Returns:
- full text of the document agreed to at the time of signature capture.
-
setContentLeader
Sets first 32 characters of the full text.- Parameters:
value- first 32 characters of the full text. Used to support user interfaces that show summaries.
-
getContentLeader
Gets first 32 characters of the full text.- Returns:
- first 32 characters of the full text. Used to support user interfaces that show summaries.
-
setHasSignature
public void setHasSignature(boolean value) Sets a flag that indicates whether or not a signature has been captured.- Parameters:
value- a flag that indicates whether or not a signature has been captured.
-
isHasSignature
public boolean isHasSignature()Gets a flag that indicates whether or not a signature has been captured.- Returns:
- a flag that indicates whether or not a signature has been captured.
-
setSigFormat
Sets the image format to be used for returning signatures.- Parameters:
value- the image format to be used for returning signatures.
-
getSigFormat
Gets the image format to be used for returning signatures.- Returns:
- the image format to be used for returning signatures.
-
setSignature
Sets the base 64 encoded signature image if the format requested.- Parameters:
value- the base 64 encoded signature image if the format requested.
-
getSignature
Gets the base 64 encoded signature image if the format requested.- Returns:
- the base 64 encoded signature image if the format requested.
-