public class TermsAndConditionsTemplate extends Object implements ITimeoutRequest, IAbstractAcknowledgement
Constructor and Description |
---|
TermsAndConditionsTemplate() |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Gets an alias or code used to refer to a template.
|
String |
getContent()
Gets the full text of the agreement template.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getId()
Gets primary identifier for a given template.
|
String |
getName()
Gets the name of the template.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setAlias(String value)
Sets an alias or code used to refer to a template.
|
void |
setContent(String value)
Sets the full text of the agreement template.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setId(String value)
Sets primary identifier for a given template.
|
void |
setName(String value)
Sets the name of the template.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
public void setTimeout(int value)
value
- the request timeout in seconds.public int getTimeout()
getTimeout
in interface ITimeoutRequest
public void setTest(boolean value)
value
- whether or not to route transaction to the test gateway.public boolean isTest()
isTest
in interface ITimeoutRequest
public void setSuccess(boolean value)
value
- whether or not the request succeeded.public boolean isSuccess()
isSuccess
in interface IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setId(String value)
value
- primary identifier for a given template.public String getId()
public void setAlias(String value)
value
- an alias or code used to refer to a template.public String getAlias()
public void setName(String value)
value
- the name of the template. Displayed as the agreement title on the
terminal.public String getName()
public void setContent(String value)
value
- the full text of the agreement template.public String getContent()
Copyright © 2022 BlockChyp, Inc.. All rights reserved.