public class CaptureSignatureRequest extends Object implements ICoreRequest, ISignatureRequest, ITerminalReference
| Constructor and Description |
|---|
CaptureSignatureRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAccount()
Gets the settlement account for merchants with split settlements.
|
String |
getOrderRef()
Gets an identifier from an external point of sale system.
|
String |
getSigFile()
Gets a location on the filesystem which a customer signature should be written to.
|
SignatureFormat |
getSigFormat()
Gets the image format to be used for returning signatures.
|
int |
getSigWidth()
Gets the width that the signature image should be scaled to, preserving the aspect
ratio.
|
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.
|
boolean |
isDisableSignature()
Gets whether or not signature prompt should be skipped on the terminal.
|
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 |
setDisableSignature(boolean value)
Sets whether or not signature prompt should be skipped on the terminal.
|
void |
setOrderRef(String value)
Sets an identifier from an external point of sale system.
|
void |
setSigFile(String value)
Sets a location on the filesystem which a customer signature should be written to.
|
void |
setSigFormat(SignatureFormat value)
Sets the image format to be used for returning signatures.
|
void |
setSigWidth(int value)
Sets the width that the signature image should be scaled to, preserving the aspect
ratio.
|
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.
|
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 setSigFile(String value)
value - a location on the filesystem which a customer signature should be
written to.public String getSigFile()
getSigFile in interface ISignatureRequestpublic void setSigFormat(SignatureFormat value)
value - the image format to be used for returning signatures.public SignatureFormat getSigFormat()
getSigFormat in interface ISignatureRequestpublic void setSigWidth(int value)
value - the width that the signature image should be scaled to, preserving the
aspect ratio. If not provided, the signature is returned in the terminal's max
resolution.public int getSigWidth()
getSigWidth in interface ISignatureRequestpublic void setDisableSignature(boolean value)
value - whether or not signature prompt should be skipped on the terminal. The
terminal will indicate whether or not a signature is required by the card in the
receipt suggestions response.public boolean isDisableSignature()
isDisableSignature in interface ISignatureRequestpublic void setTerminalName(String value)
value - the name of the target payment terminal.public String getTerminalName()
getTerminalName in interface ITerminalReferenceCopyright © 2020 BlockChyp, Inc.. All rights reserved.