public class BooleanPromptRequest extends Object implements ICoreRequest, ITerminalReference
| Constructor and Description |
|---|
BooleanPromptRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getNoCaption()
Gets the preferred caption for the 'no' button.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
String |
getPrompt()
Gets the text to be displayed on the terminal.
|
String |
getTerminalName()
Gets the name of the target payment terminal.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getTransactionRef()
Gets the transaction reference string assigned to the transaction request.
|
String |
getYesCaption()
Gets the preferred caption for the 'yes' button.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setDestinationAccount(String value)
Sets the settlement account for merchants with split settlements.
|
void |
setNoCaption(String value)
Sets the preferred caption for the 'no' button.
|
void |
setOrderRef(String value)
Sets an identifier from an external point of sale system.
|
void |
setPrompt(String value)
Sets the text to be displayed on the terminal.
|
void |
setTerminalName(String value)
Sets the name of the target payment terminal.
|
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.
|
void |
setTransactionRef(String value)
Sets the transaction reference string assigned to the transaction request.
|
void |
setYesCaption(String value)
Sets the preferred caption for the 'yes' button.
|
public void setTransactionRef(String value)
value - the transaction reference string assigned to the transaction
request. If no transaction ref was assiged on the request, then the gateway will
randomly generate one.public String getTransactionRef()
getTransactionRef in interface ICoreRequestpublic void setOrderRef(String value)
value - an identifier from an external point of sale system.public String getOrderRef()
getOrderRef in interface ICoreRequestpublic void setDestinationAccount(String value)
value - the settlement account for merchants with split settlements.public String getDestinationAccount()
getDestinationAccount in interface ICoreRequestpublic void setTest(boolean value)
value - whether or not to route transaction to the test gateway.public boolean isTest()
isTest in interface ICoreRequestpublic void setTimeout(int value)
value - the request timeout in seconds.public int getTimeout()
getTimeout in interface ICoreRequestpublic void setTerminalName(String value)
value - the name of the target payment terminal.public String getTerminalName()
getTerminalName in interface ITerminalReferencepublic void setYesCaption(String value)
value - the preferred caption for the 'yes' button.public String getYesCaption()
public void setNoCaption(String value)
value - the preferred caption for the 'no' button.public String getNoCaption()
public void setPrompt(String value)
value - the text to be displayed on the terminal.public String getPrompt()
Copyright © 2020 BlockChyp, Inc.. All rights reserved.