public abstract class DeviceInterface extends Object implements IDeviceInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
| Constructor and Description |
|---|
DeviceInterface() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEcrId, setEcrIdpublic static final String ERROR_MESSAGE
public void setOnMessageSent(IMessageSentInterface onMessageSent)
setOnMessageSent in interface IDeviceInterfaceonMessageSent - public void setOnMessageReceived(IMessageSentInterface onMessageReceived)
setOnMessageReceived in interface IDeviceInterfaceonMessageReceived - public IDeviceResponse addLineItem(String leftText, String rightText) throws ApiException
lineItem(String, String) will be addedaddLineItem in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse addLineItem(String leftText, String rightText, String runningLeftText, String runningRightText) throws ApiException
lineItem(String, String, String, String) will be addedaddLineItem in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse lineItem(String leftText, String rightText, String runningLeftText, String runningRightText) throws ApiException
lineItem in interface IDeviceInterfaceleftText - rightText - runningLeftText - runningRightText - ApiExceptionpublic IDeviceResponse lineItem(String leftText, String rightText) throws ApiException
lineItem in interface IDeviceInterfaceleftText - rightText - ApiExceptionpublic void cancel()
throws ApiException
cancel in interface IDeviceInterfaceApiExceptionpublic void cancel(Integer cancelParams) throws ApiException
cancel in interface IDeviceInterfacecancelParams - ApiExceptionpublic IDeviceResponse closeLane() throws ApiException
closeLane in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse disableHostResponseBeep() throws ApiException
disableHostResponseBeep in interface IDeviceInterfaceApiExceptionpublic ISignatureResponse getSignatureFile() throws ApiException
getSignatureFile in interface IDeviceInterfaceApiExceptionpublic IInitializeResponse initialize() throws ApiException
initialize in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse openLane() throws ApiException
openLane in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse ping() throws ApiException
ping in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse getAppInfo() throws ApiException
getAppInfo in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse clearDataLake() throws ApiException
clearDataLake in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse returnToIdle() throws ApiException
returnToIdle in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse loadUDDataFile(UDData udData) throws ApiException
loadUDDataFile in interface IDeviceInterfaceudData - ApiExceptionpublic IDeviceResponse removeUDDataFile(UDData udData) throws ApiException, UnsupportedOperationException
removeUDDataFile in interface IDeviceInterfaceudData - ApiExceptionUnsupportedOperationExceptionpublic IDeviceResponse Scan(ScanData scanData) throws ApiException
Scan in interface IDeviceInterfacescanData - ApiExceptionpublic IDeviceResponse Print(PrintData printData) throws ApiException
Print in interface IDeviceInterfaceprintData - ApiExceptionpublic IDeviceResponse setTimeZone(TimeZone timezone) throws ApiException
setTimeZone in interface IDeviceInterfacetimezone - ApiExceptionpublic IDeviceResponse getParams(ArrayList<String> parameters) throws ApiException
getParams in interface IDeviceInterfaceparameters - ApiExceptionpublic void sendReady()
throws ApiException
sendReady in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse registerPOS(RegisterPOS data) throws ApiException
registerPOS in interface IDeviceInterfacedata - ApiExceptionpublic IDeviceResponse setDebugLevel(DebugLevel[] debugLevels, Enum logToConsole) throws ApiException
setDebugLevel in interface IDeviceInterfacedebugLevels - logToConsole - ApiExceptionpublic IDeviceResponse getDebugLevel() throws ApiException
getDebugLevel in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse getDebugInfo(Enum logFile) throws ApiException
getDebugInfo in interface IDeviceInterfacelogFile - ApiExceptionpublic IDeviceResponse broadcastConfiguration(boolean enable) throws ApiException
broadcastConfiguration in interface IDeviceInterfaceenable - ApiExceptionpublic IDeviceResponse executeUDDataFile(UDData udData) throws ApiException
executeUDDataFile in interface IDeviceInterfaceudData - ApiExceptionpublic IDeviceResponse injectUDDataFile(UDData udData) throws ApiException, IOException
injectUDDataFile in interface IDeviceInterfaceudData - ApiExceptionIOExceptionpublic IDeviceResponse getConfigContents(TerminalConfigType configType) throws UnsupportedTransactionException, ApiException
getConfigContents in interface IDeviceInterfaceconfigType - UnsupportedTransactionExceptionApiExceptionpublic IDeviceResponse printReceipt(PrintData data) throws ApiException
printReceipt in interface IDeviceInterfacedata - ApiExceptionpublic String getParams() throws ApiException
getParams in interface IDeviceInterfaceApiExceptionpublic ISignatureResponse promptForSignature() throws ApiException
promptForSignature in interface IDeviceInterfaceApiExceptionpublic ISignatureResponse promptForSignature(String transactionId) throws ApiException
promptForSignature in interface IDeviceInterfacetransactionId - ApiExceptionpublic IDeviceResponse reboot() throws ApiException
reboot in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse reset() throws ApiException
reset in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse sendFile(SendFileType fileType, String filePath) throws ApiException
sendFile in interface IDeviceInterfacefileType - filePath - ApiExceptionpublic ISAFResponse sendStoreAndForward() throws ApiException
sendStoreAndForward in interface IDeviceInterfaceApiExceptionpublic IDeviceResponse setStoreAndForwardMode(boolean enabled) throws ApiException
setStoreAndForwardMode in interface IDeviceInterfaceenabled - ApiExceptionpublic IDeviceResponse setStoreAndForwardMode(SafMode safMode) throws ApiException
setStoreAndForwardMode in interface IDeviceInterfacesafMode - ApiExceptionpublic IDeviceResponse startCard(PaymentMethodType paymentMethodType) throws ApiException
startCard in interface IDeviceInterfacepaymentMethodType - ApiExceptionpublic TerminalManageBuilder reverse() throws ApiException
reverse in interface IDeviceInterfaceApiExceptionpublic ISignatureResponse getSignatureFile(SignatureData data) throws ApiException
getSignatureFile in interface IDeviceInterfacedata - ApiExceptionpublic IDeviceResponse deleteImage(String fileName) throws ApiException
deleteImage in interface IDeviceInterfacefileName - ApiExceptionpublic IDeviceResponse updateResource(UpdateResourceFileType fileType, byte[] fileData, boolean isHttpDeviceConnectionMode) throws ApiException
updateResource in interface IDeviceInterfacefileType - fileData - isHttpDeviceConnectionMode - ApiExceptionpublic IBatchCloseResponse batchClose() throws ApiException
batchClose in interface IDeviceInterfaceApiExceptionpublic IEODResponse endOfDay() throws ApiException
endOfDay in interface IDeviceInterfaceApiExceptionpublic SAFUploadResponse safUpload(SafUpload safUploadIndicator) throws ApiException
safUpload in interface IDeviceInterfacesafUploadIndicator - ApiExceptionpublic SAFDeleteResponse safDelete(SafDelete safDeleteIndicator) throws ApiException
safDelete in interface IDeviceInterfacesafDeleteIndicator - ApiExceptionpublic TerminalAuthBuilder creditAuth(BigDecimal amount) throws ApiException
authorize(BigDecimal) will be addedcreditAuth in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder creditCapture(BigDecimal amount) throws ApiException
capture(BigDecimal) will be addedcreditCapture in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditRefund(BigDecimal amount) throws ApiException
refund(BigDecimal) will be addedcreditRefund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditSale(BigDecimal amount) throws ApiException
sale(BigDecimal) will be addedcreditSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditAuth() throws ApiException
creditAuth in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder creditCapture() throws ApiException
capture() will be addedcreditCapture in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditRefund() throws ApiException
refund() will be addedcreditRefund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditSale() throws ApiException
creditSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder creditVerify() throws ApiException
verify() will be addedcreditVerify in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder verify() throws ApiException
verify in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder creditVoid() throws ApiException
Void() will be addedcreditVoid in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder voidRefund() throws ApiException
voidRefund in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder tipAdjust(BigDecimal amount) throws ApiException
tipAdjust in interface IDeviceInterfaceamount - ApiExceptionpublic TerminalAuthBuilder debitSale(BigDecimal amount) throws ApiException
sale(BigDecimal) will be addeddebitSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder debitRefund(BigDecimal amount) throws ApiException
refund(BigDecimal) will be addeddebitRefund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder debitSale() throws ApiException
debitSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder debitRefund() throws ApiException
refund() will be addeddebitRefund in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder debitVoid() throws ApiException
Void() will be addeddebitVoid in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder giftSale(BigDecimal amount) throws ApiException
sale(BigDecimal) will be addedgiftSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder giftSale() throws ApiException
giftSale in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder giftAddValue() throws ApiException
giftAddValue in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder giftAddValue(BigDecimal amount) throws ApiException
giftAddValue in interface IDeviceInterfaceamount - ApiExceptionpublic TerminalManageBuilder giftVoid() throws ApiException
Void() will be addedgiftVoid in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder giftBalance() throws ApiException
balance() will be addedgiftBalance in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtBalance() throws ApiException
balance() will be addedebtBalance in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtPurchase() throws ApiException
ebtPurchase in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtPurchase(BigDecimal amount) throws ApiException
ebtPurchase in interface IDeviceInterfaceamount - ApiExceptionpublic TerminalAuthBuilder ebtRefund() throws ApiException
refund() will be addedebtRefund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtRefund(BigDecimal amount) throws ApiException
refund(BigDecimal) will be addedebtRefund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtWithdrawal() throws ApiException
ebtWithdrawal in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder ebtWithdrawal(BigDecimal amount) throws ApiException
ebtWithdrawal in interface IDeviceInterfaceamount - ApiExceptionpublic SAFSummaryReport safSummaryReport(SafReportSummary safReportIndicator) throws ApiException
safSummaryReport in interface IDeviceInterfacesafReportIndicator - ApiExceptionpublic IBatchReportResponse getBatchSummary() throws ApiException
getBatchSummary in interface IDeviceInterfaceApiExceptionpublic IBatchReportResponse getBatchSummary(String batchId) throws ApiException
getBatchSummary in interface IDeviceInterfacebatchId - ApiExceptionpublic IBatchReportResponse getBatchDetails() throws ApiException
getBatchDetails in interface IDeviceInterfaceApiExceptionpublic IBatchReportResponse getBatchDetails(String batchId) throws ApiException
getBatchDetails in interface IDeviceInterfacebatchId - ApiExceptionpublic IBatchReportResponse getBatchDetails(String batchId, boolean printReport) throws ApiException
getBatchDetails in interface IDeviceInterfacebatchId - printReport - ApiExceptionpublic IBatchReportResponse getOpenTabDetails() throws ApiException
getOpenTabDetails in interface IDeviceInterfaceApiExceptionpublic IBatchReportResponse findBatches() throws ApiException
findBatches in interface IDeviceInterfaceApiExceptionpublic ISAFResponse safDelete(String referenceNumber, String transactionNumber) throws ApiException
safDelete in interface IDeviceInterfacereferenceNumber - transactionNumber - ApiExceptionpublic TerminalResponse getTransactionDetails(TransactionType transactionType, String transactionId, TransactionIdType transactionIdType) throws ApiException
getTransactionDetails in interface IDeviceInterfacetransactionType - transactionId - transactionIdType - ApiExceptionpublic TerminalManageBuilder refundById(BigDecimal amount) throws ApiException
refundById in interface IDeviceInterfaceamount - ApiExceptionpublic TerminalManageBuilder refundById() throws ApiException
refundById in interface IDeviceInterfaceApiExceptionpublic ISAFResponse safSummaryReport(String printData, String reportData) throws ApiException
safSummaryReport in interface IDeviceInterfaceprintData - reportData - ApiExceptionpublic TerminalReportBuilder localDetailReport() throws ApiException
localDetailReport in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder increasePreAuth(BigDecimal amount) throws ApiException
increasePreAuth in interface IDeviceInterfaceamount - ApiExceptionpublic TerminalManageBuilder deletePreAuth() throws ApiException
deletePreAuth in interface IDeviceInterfaceApiExceptionpublic void dispose()
dispose in interface IDisposablepublic TerminalAuthBuilder balance() throws ApiException
balance in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder sale(BigDecimal amount)
sale in interface IDeviceInterfacepublic TerminalAuthBuilder authorize(BigDecimal amount)
authorize in interface IDeviceInterfacepublic TerminalAuthBuilder startTransaction(BigDecimal amount, TransactionType transactionType) throws ApiException
startTransaction in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder Void() throws ApiException
Void in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder capture(BigDecimal amount) throws ApiException
capture in interface IDeviceInterfaceApiExceptionpublic TerminalManageBuilder capture() throws ApiException
capture in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder refund(BigDecimal amount) throws ApiException
refund in interface IDeviceInterfaceApiExceptionpublic TerminalAuthBuilder refund() throws ApiException
refund in interface IDeviceInterfaceApiExceptionpublic TerminalReportBuilder getBatchReport() throws ApiException
getBatchReport in interface IDeviceInterfaceApiExceptionCopyright © 2024. All rights reserved.