Class terminalbase

Inheritance diagram for com.payments.core.admin.TerminalBase:

com.payments.core.admin.AndroidTerminal

Classes

interface TerminalHealthListener

Public Member Functions

void retrieveSettings ()
void registerLogListener (CoreAPILogsListener logMessageListener)
void unRegisterCoreAPIListener (CoreAPIListener listener)
void registerCoreAPIDeviceListener (CoreAPIDeviceListener listener)
void unRegisterCoreAPIDeviceListener (CoreAPIDeviceListener listener)
void registerCoreAPIReportingListener (CoreAPIReportingListener listener)
void unRegisterCoreAPIReportingListener (CoreAPIReportingListener listener)
void registerCoreAPISaleListener (CoreAPISaleListener listener)
void unRegisterCoreAPISaleListener (CoreAPISaleListener listener)
void registerCoreAPISecureCardListener (CoreAPISecureCardListener listener)
void unRegisterCoreAPISecureCardListener (CoreAPISecureCardListener listener)
void registerCoreAPISettingsListener (CoreAPISettingsListener listener)
void unRegisterCoreAPISettingsListener (CoreAPISettingsListener listener)
void registerCoreAPIRefundListener (CoreAPIRefundListener listener)
void unRegisterCoreAPIRefundListener (CoreAPIRefundListener listener)
void registerCoreAPIReversalListener (CoreAPIReversalListener listener)
void unRegisterCoreAPIReversalListener (CoreAPIReversalListener listener)
void registerCoreAPIUpdateListener (CoreAPIUpdateListener listener)
void unRegisterCoreAPIUpdateListener (CoreAPIUpdateListener listener)
void registerCoreAPIMessageListener (CoreAPIMessageListener listener)
void unRegisterCoreAPIMessageListener (CoreAPIMessageListener listener)
void processSale (CoreSale request)
void processRefund (CoreRefund request)
void processReversal (CoreReversal reversal)
void processUnreferencedRefund (CoreUnreferencedRefund request)
void sendUnreferencedRefundByPlugin (CoreUnreferencedRefund unreferencedRefund)
void updateSettings (CoreTerminalUpdate terminal)
void getTransactions (int page, CoreTransactionFilter filter)
void getTransactions ()
void submitSignature (CoreSignature coreSignature)
void requestSecuredUrl (String schema)
void updateTransaction (CoreUpdate update)
void cancelTransaction ()
void sendDeviceNotSupportedError (HashMap< String, Object > map)
void setPluginCallBack (Plugin pluginCallBack)
void setSettings (CoreSettings settings)
void sendSaleOnline (CoreSale coreSale)
void sendDeviceError (Object message)
void sendUserMessages (Object message)
void sendDeviceDisconnected (DeviceEnum device)
void sendDeviceConnected (HashMap< String, Object > data)
void sendSignatureRequired (CoreSale coreSale)
void sendUpdateRequest (HashMap< String, Object > data)
void sendSelectApplicationRequired (ArrayList< String > applications)
ArrayList< CoreApplication > getApplications ()
ArrayList< CoreCaCertificate > getCertificates ()
ArrayList< CoreEmvTag > getEmvTags ()
void sendLogLevelError (Object error)
CoreTerminal getTerminal ()
void sendConnectionError (Object error)
void sendAutoConfigProgressUpdate (String progress)
void sendTransactionFinished (CoreSaleResponse transaction)
void sendTransactionReversal (CoreReversal reversal)
void sendDeviceInfo (HashMap< String, String > deviceInfo)
void startInitDevice (DeviceEnum device, HashMap< String, Object > data)
void sendSelectSerialRequired (ArrayList< String > ports)
void log (String message, LogLevel logLevel)
void sendSelectBluetoothRequired (ArrayList< Object > pairedDevices)
void disconnectDevice ()
void releaseResources ()
void submitApplication (int app)
void startAutoConfig ()
void selectBTDevice (int device)
ArrayList< CoreTransactionInputMethod > listSupportedInputMethods ()
void sendGiftCardData (HashMap< String, String > giftCarddata)
void sendOnRequestAmount (CoreSale coreSale)
void submitAmount (CoreSale coreSale, boolean confirmation)
boolean isDelayedAuthEnabled ()
BigDecimal getDelayedAuthInitialAmount ()
void enableDelayedAuth (BigDecimal initialAmount)
void disableDelayedAuth ()
void enablePolling (BigDecimal initialAmount)
void disablePolling ()
boolean isPollingEnabled ()
BigDecimal getPollingInitialAmount ()
void setDebug (boolean debug)
void setMode (CoreMode mode)
void setLogLevel (LogLevel logLevel)
LogLevel getLogLevel ()
CoreMode getMode ()
void getDeviceInfo ()
String getSdkVersion ()
CoreSettings getSettings ()
Plugin getPluginCallBack ()
DeviceEnum getDevice ()
void registerSecureCard (CoreSecureCard coreSecureCard)
void editSecureCard (CoreSecureCard secureCard)
void deleteSecureCard (CoreSecureCard secureCard)
void retrieveSecureCard (String merchantReference)
void onCompleteReadSecureCard (CoreSecureCard coreSecureCard)
boolean setOfflineMode (boolean offline)
void loadFirmware ()
void loadFirmware (String absolutePath)
void loadConfiguration ()
void loadConfiguration (String absolutePath)
void loadAsset ()
void loadAsset (String absolutePath)
void loadRKI ()
void loadRKI (String absolutePath)
Public Member Functions inherited from com.payments.core.CoreTerminal
CoreTerminal (String terminalId, String secret, String url)
String getTerminalId ()
void setTerminalId (String terminalId)
String getSecret ()
void setSecret (String secret)
String getIsvToken ()
void setIsvToken (String isvToken)
Currency getCurrency ()
void setCurrency (Currency currency)
TerminalType getTerminalType ()
void setTerminalType (TerminalType terminalType)
String getToken ()
void setToken (String token)
String getTerminalUrl ()
String getAuthorizationUrl ()
String getPayconexSaleUrl ()
String getPayconexReportingUrl ()
String getUrl ()
void setUrl (String url)
boolean getRequiresTokenForRefunds ()
void setRequiresTokenForRefunds (boolean requiresTokenForRefunds)
boolean isRequiresTokenForReporting ()
void setRequiresTokenForReporting (boolean requiresTokenForReporting)
CoreMode getMode ()
boolean getRequiresTokenForTerminalUpdate ()
void setRequiresTokenForTerminalUpdate (boolean requiresTokenForTerminalUpdate)
boolean getOfflineMode ()
String getDeviceType ()
void setDeviceType (String value)

Protected Member Functions

void initListener ()
void initWithConfiguration (String terminalId, String secret)
boolean isPluginNull ()
void sendCallback (EventTypeEnum eventType, HashMap< String, Object > map)
void sendCallback (EventTypeEnum eventType, String type, Object message)
HashMap< String, Object > createSecureCardRequestData (CoreSecureCard coreSecureCard, String action)
void addAPIListener (AdminListenerBase coreListener)

Protected Attributes

Plugin pluginCallBack
DeviceEnum device = DeviceEnum.NODEVICE
CoreSettings settings
DeviceEnum connectedDevice = DeviceEnum.NODEVICE
Protected Attributes inherited from com.payments.core.CoreTerminal
CoreMode mode = CoreMode.LIVE

Static Protected Attributes

static String action = “”

Additional Inherited Members

Public Attributes inherited from com.payments.core.CoreTerminal
boolean offlineMode

Member Function Documentation

addAPIListener()

    • void com.payments.core.admin.TerminalBase.addAPIListener
    • (
    • AdminListenerBase
    • coreListener
    • )

  • inlineprotected

Used to add new EventListener to a list.

cancelTransaction()

    • void com.payments.core.admin.TerminalBase.cancelTransaction
    • (
    • )

  • inline

Cancel the current transaction

AndroidTerminal.getInstance().cancelTransaction();
// or if you use Java, use JavaTerminal.getInstance().cancelTransaction();

createSecureCardRequestData()

    • HashMap<String, Object> com.payments.core.admin.TerminalBase.createSecureCardRequestData
    • (
    • CoreSecureCard
    • coreSecureCard,

    • String
    • action

    • )

  • inlineprotected

deleteSecureCard()

    • void com.payments.core.admin.TerminalBase.deleteSecureCard
    • (
    • CoreSecureCard
    • secureCard
    • )

  • inline

Delete a previous registered secure card into the system.

Parameters

  • secureCard
  • to be deleted

disableDelayedAuth()

    • void com.payments.core.admin.TerminalBase.disableDelayedAuth
    • (
    • )

  • inline

Disables the delayed authentication.

disablePolling()

    • void com.payments.core.admin.TerminalBase.disablePolling
    • (
    • )

  • inline

Disables the polling.

disconnectDevice()

    • void com.payments.core.admin.TerminalBase.disconnectDevice
    • (
    • )

  • inline

editSecureCard()

    • void com.payments.core.admin.TerminalBase.editSecureCard
    • (
    • CoreSecureCard
    • secureCard
    • )

  • inline

Edit a previous registered secure card into the system.

Parameters

  • secureCard
  • to be edited

enableDelayedAuth()

    • void com.payments.core.admin.TerminalBase.enableDelayedAuth
    • (
    • BigDecimal
    • initialAmount
    • )

  • inline

Enables the delayed authentication.

Parameters

  • initialAmount
  • The initial amount.

enablePolling()

    • void com.payments.core.admin.TerminalBase.enablePolling
    • (
    • BigDecimal
    • initialAmount
    • )

  • inline

Enables the polling.

Parameters

  • initialAmount
  • The initial amount.

getApplications()

    • ArrayListCoreApplication com.payments.core.admin.TerminalBase.getApplications
    • (
    • )

  • inline

TO BE USED BY PLUGINS

getCertificates()

    • ArrayListCoreCaCertificate com.payments.core.admin.TerminalBase.getCertificates
    • (
    • )

  • inline

TO BE USED BY PLUGINS

getDelayedAuthInitialAmount()

    • BigDecimal com.payments.core.admin.TerminalBase.getDelayedAuthInitialAmount
    • (
    • )

  • inline

getDevice()

    • DeviceEnum com.payments.core.admin.TerminalBase.getDevice
    • (
    • )

  • inline

The DeviceEnum instance representing device currently set.

Returns

device enum, possible object is DeviceEnum

getDeviceInfo()

    • void com.payments.core.admin.TerminalBase.getDeviceInfo
    • (
    • )

  • inline

Get devices SDK versions

getEmvTags()

    • ArrayListCoreEmvTag com.payments.core.admin.TerminalBase.getEmvTags
    • (
    • )

  • inline

TO BE USED BY PLUGINS

getLogLevel()

    • LogLevel com.payments.core.admin.TerminalBase.getLogLevel
    • (
    • )

  • inline

getMode()

    • CoreMode com.payments.core.admin.TerminalBase.getMode
    • (
    • )

  • inline

The CoreMode instance represents sdk mode.

Returns

debug, possible object is CoreMode

getPluginCallBack()

    • Plugin com.payments.core.admin.TerminalBase.getPluginCallBack
    • (
    • )

  • inline

getPollingInitialAmount()

    • BigDecimal com.payments.core.admin.TerminalBase.getPollingInitialAmount
    • (
    • )

  • inline

getSdkVersion()

    • String com.payments.core.admin.TerminalBase.getSdkVersion
    • (
    • )

  • inline

Returns SDK version

AndroidTerminal.getInstance().getSdkVersion();
// or if you use Java, use JavaTerminal.getInstance().getSdkVersion();

getSettings()

    • CoreSettings com.payments.core.admin.TerminalBase.getSettings
    • (
    • )

  • inline

The TerminalConfiguration instance represents Terminal settings.

Returns

possible object is CoreSettings

getTerminal()

    • CoreTerminal com.payments.core.admin.TerminalBase.getTerminal
    • (
    • )

  • inline

getTransactions() [1/2]

    • void com.payments.core.admin.TerminalBase.getTransactions
    • (
    • int
    • page,

    • )

  • inline

Get the transactions from the server.

CoreTransactionFilter filter = new CoreTransactionFilter();
filter.setItemsPerPage(25);
filter.setState(CoreTransactionState.ALL);
filter.setStartDate("31-12-2015:12:45:30:123");
filter.setEndDate("30-01-2016:12:45:30:123");
AndroidTerminal.getInstance().getTransactions(1, filter);
// or if you use Java, use JavaTerminal.getInstance().getTransactions(1, filter);

getTransactions() [2/2]

    • void com.payments.core.admin.TerminalBase.getTransactions
    • (
    • )

  • inline

Get the transactions from the server.

AndroidTerminal.getInstance().getTransactions();
// or if you use Java, use JavaTerminal.getInstance().getTransactions();

initListener()

    • void com.payments.core.admin.TerminalBase.initListener
    • (
    • )

  • inlineprotected

Public constructor.

initWithConfiguration()

    • void com.payments.core.admin.TerminalBase.initWithConfiguration
    • (
    • String
    • terminalId,

    • String
    • secret

    • )

  • inlineprotected

isDelayedAuthEnabled()

    • boolean com.payments.core.admin.TerminalBase.isDelayedAuthEnabled
    • (
    • )

  • inline

isPluginNull()

    • boolean com.payments.core.admin.TerminalBase.isPluginNull
    • (
    • )

  • inlineprotected

isPollingEnabled()

    • boolean com.payments.core.admin.TerminalBase.isPollingEnabled
    • (
    • )

  • inline

listSupportedInputMethods()

loadAsset() [1/2]

    • void com.payments.core.admin.TerminalBase.loadAsset
    • (
    • )

  • inline

loadAsset() [2/2]

    • void com.payments.core.admin.TerminalBase.loadAsset
    • (
    • String
    • absolutePath
    • )

  • inline

loadConfiguration() [1/2]

    • void com.payments.core.admin.TerminalBase.loadConfiguration
    • (
    • )

  • inline

loadConfiguration() [2/2]

    • void com.payments.core.admin.TerminalBase.loadConfiguration
    • (
    • String
    • absolutePath
    • )

  • inline

loadFirmware() [1/2]

    • void com.payments.core.admin.TerminalBase.loadFirmware
    • (
    • )

  • inline

loadFirmware() [2/2]

    • void com.payments.core.admin.TerminalBase.loadFirmware
    • (
    • String
    • absolutePath
    • )

  • inline

loadRKI() [1/2]

    • void com.payments.core.admin.TerminalBase.loadRKI
    • (
    • )

  • inline

loadRKI() [2/2]

    • void com.payments.core.admin.TerminalBase.loadRKI
    • (
    • String
    • absolutePath
    • )

  • inline

log()

    • void com.payments.core.admin.TerminalBase.log
    • (
    • String
    • message,

    • )

  • inline

TO BE USED BY PLUGINS

onCompleteReadSecureCard()

    • void com.payments.core.admin.TerminalBase.onCompleteReadSecureCard
    • (
    • CoreSecureCard
    • coreSecureCard
    • )

  • inline

processRefund()

    • void com.payments.core.admin.TerminalBase.processRefund
    • (
    • CoreRefund
    • request
    • )

  • inline

Process the referenced refund object.

CoreRefund refund = new CoreRefund(1.12);
refund.setUniqueRef("B5EOFKJ84W");
refund.setReason("reason");
AndroidTerminal.getInstance().processRefund(refund);
// or if you use Java, use JavaTerminal.getInstance().processRefund(refund);

Parameters

  • request
  • represents CoreRefund object to be processed.

processReversal()

    • void com.payments.core.admin.TerminalBase.processReversal
    • (
    • CoreReversal
    • reversal
    • )

  • inline

Process reversal.

CoreReversal reversal = new CoreReversal("NOMAD", "JSANKMHS");
AndroidTerminal.getInstance().processReversal(reversal);
// or if you use Java, use JavaTerminal.getInstance().processReversal(reversal);

Parameters

processSale()

    • void com.payments.core.admin.TerminalBase.processSale
    • (
    • CoreSale
    • request
    • )

  • inline

Process the sale object.

CoreSaleKeyed sale = new CoreSaleKeyed(1.12);
sale.setCardholderName("Test ");
sale.setCardNumber("4111111111111111");
sale.setCardCvv("123");
sale.setCardType("VISA");
sale.setExpiryDate("1215");
AndroidTerminal.getInstance().processSale(sale);
// or if you use Java, use JavaTerminal.getInstance().processSale(sale);

Parameters

  • request
  • represents CoreSale object to be processed.

processUnreferencedRefund()

  • inline

Process the unreferenced refund object.

CoreUnreferencedRefund refund = new CoreUnreferencedRefund(1.12);
refund.setCardholderName("Test User");
refund.setCardNumber("4111111111111111");
refund.setCardCvv("123");
refund.setCardType("VISA");
refund.setExpiryDate("1215");
refund.setReason("reason");
AndroidTerminal.getInstance().processUnreferencedRefund(refund);
// or if you use Java, use JavaTerminal.getInstance().processUnreferencedRefund(refund);

Parameters

registerCoreAPIDeviceListener()

    • void com.payments.core.admin.TerminalBase.registerCoreAPIDeviceListener
    • (
    • CoreAPIDeviceListener
    • listener
    • )

  • inline

Register CoreAPIDeviceListener listener.

Parameters

  • listener
  • to be set

registerCoreAPIMessageListener()

    • void com.payments.core.admin.TerminalBase.registerCoreAPIMessageListener
    • (
    • CoreAPIMessageListener
    • listener
    • )

  • inline

Register CoreAPIMessageListener listener.

Parameters

  • listener
  • to be set

registerCoreAPIRefundListener()

    • void com.payments.core.admin.TerminalBase.registerCoreAPIRefundListener
    • (
    • CoreAPIRefundListener
    • listener
    • )

  • inline

Sets CoreAPIRefundListener listener.

Parameters

  • listener
  • to be set

registerCoreAPIReportingListener()

  • inline

Register CoreAPIReportingListener listener.

Parameters

  • listener
  • to be set

registerCoreAPIReversalListener()

  • inline

Register CoreAPIReversalListener listener.

Parameters

  • listener
  • to be set

registerCoreAPISaleListener()

    • void com.payments.core.admin.TerminalBase.registerCoreAPISaleListener
    • (
    • CoreAPISaleListener
    • listener
    • )

  • inline

Sets CoreAPISaleListener listener.

Parameters

  • listener
  • to be set

registerCoreAPISecureCardListener()

Sets CoreAPISecureCardListener listener.

Parameters

  • listener
  • to be set

registerCoreAPISettingsListener()

  • inline

Sets CoreAPISettingsListener listener.

Parameters

  • listener
  • to be set

registerCoreAPIUpdateListener()

    • void com.payments.core.admin.TerminalBase.registerCoreAPIUpdateListener
    • (
    • CoreAPIUpdateListener
    • listener
    • )

  • inline

Register CoreAPIUpdateListener listener.

Parameters

  • listener
  • to be set

registerLogListener()

    • void com.payments.core.admin.TerminalBase.registerLogListener
    • (
    • CoreAPILogsListener
    • logMessageListener
    • )

  • inline

registerSecureCard()

    • void com.payments.core.admin.TerminalBase.registerSecureCard
    • (
    • CoreSecureCard
    • coreSecureCard
    • )

  • inline

Register a new secure card into the system.

Parameters

  • coreSecureCard
  • to be registered

releaseResources()

    • void com.payments.core.admin.TerminalBase.releaseResources
    • (
    • )

  • inline

Release resources.This method should be called on onDestroy.

requestSecuredUrl()

    • void com.payments.core.admin.TerminalBase.requestSecuredUrl
    • (
    • String
    • schema
    • )

  • inline

Get back the Secured URL which is used to get the token after signing in.

AndroidTerminal.getInstance().requestSecuredUrl("yourapp://com.yourapp.schema");
// or if you use Java, use JavaTerminal.getInstance().requestSecuredUrl("yourapp://com.yourapp.schema");

Parameters

  • schema
  • represents application scheme to be started after successful authentication, schema will need to be defined in manifest

retrieveSecureCard()

    • void com.payments.core.admin.TerminalBase.retrieveSecureCard
    • (
    • String
    • merchantReference
    • )

  • inline

retrieveSettings()

    • void com.payments.core.admin.TerminalBase.retrieveSettings
    • (
    • )

  • inline

Retrieve configuration settings from the server.Need to be called after we initWithConfiguration method.

selectBTDevice()

    • void com.payments.core.admin.TerminalBase.selectBTDevice
    • (
    • int
    • device
    • )

  • inline

Select bluetooth device.

sendAutoConfigProgressUpdate()

    • void com.payments.core.admin.TerminalBase.sendAutoConfigProgressUpdate
    • (
    • String
    • progress
    • )

  • inline

sendCallback() [1/2]

    • void com.payments.core.admin.TerminalBase.sendCallback
    • (
    • EventTypeEnum
    • eventType,

    • HashMap< String, Object >
    • map

    • )

  • inlineprotected

Used to send events to queue

sendCallback() [2/2]

    • void com.payments.core.admin.TerminalBase.sendCallback
    • (
    • EventTypeEnum
    • eventType,

    • String
    • type,

    • Object
    • message

    • )

  • inlineprotected

Used to send events to queue

sendConnectionError()

    • void com.payments.core.admin.TerminalBase.sendConnectionError
    • (
    • Object
    • error
    • )

  • inline

TO BE USED BY PLUGINS

sendDeviceConnected()

    • void com.payments.core.admin.TerminalBase.sendDeviceConnected
    • (
    • HashMap< String, Object >
    • data
    • )

  • inline

TO BE USED BY PLUGINS

sendDeviceDisconnected()

    • void com.payments.core.admin.TerminalBase.sendDeviceDisconnected
    • (
    • DeviceEnum
    • device
    • )

  • inline

TO BE USED BY PLUGINS

sendDeviceError()

    • void com.payments.core.admin.TerminalBase.sendDeviceError
    • (
    • Object
    • message
    • )

  • inline

TO BE USED BY PLUGINS

sendDeviceInfo()

    • void com.payments.core.admin.TerminalBase.sendDeviceInfo
    • (
    • HashMap< String, String >
    • deviceInfo
    • )

  • inline

sendDeviceNotSupportedError()

    • void com.payments.core.admin.TerminalBase.sendDeviceNotSupportedError
    • (
    • HashMap< String, Object >
    • map
    • )

  • inline

TO BE USED BY PLUGINS

sendGiftCardData()

    • void com.payments.core.admin.TerminalBase.sendGiftCardData
    • (
    • HashMap< String, String >
    • giftCarddata
    • )

  • inline

sendLogLevelError()

    • void com.payments.core.admin.TerminalBase.sendLogLevelError
    • (
    • Object
    • error
    • )

  • inline

sendOnRequestAmount()

    • void com.payments.core.admin.TerminalBase.sendOnRequestAmount
    • (
    • CoreSale
    • coreSale
    • )

  • inline

sendSaleOnline()

    • void com.payments.core.admin.TerminalBase.sendSaleOnline
    • (
    • CoreSale
    • coreSale
    • )

  • inline

TO BE USED BY PLUGINS

sendSelectApplicationRequired()

    • void com.payments.core.admin.TerminalBase.sendSelectApplicationRequired
    • (
    • ArrayList< String >
    • applications
    • )

  • inline

TO BE USED BY PLUGINS

sendSelectBluetoothRequired()

    • void com.payments.core.admin.TerminalBase.sendSelectBluetoothRequired
    • (
    • ArrayList< Object >
    • pairedDevices
    • )

  • inline

TO BE USED BY PLUGINS

sendSelectSerialRequired()

    • void com.payments.core.admin.TerminalBase.sendSelectSerialRequired
    • (
    • ArrayList< String >
    • ports
    • )

  • inline

sendSignatureRequired()

    • void com.payments.core.admin.TerminalBase.sendSignatureRequired
    • (
    • CoreSale
    • coreSale
    • )

  • inline

TO BE USED BY PLUGINS

sendTransactionFinished()

    • void com.payments.core.admin.TerminalBase.sendTransactionFinished
    • (
    • CoreSaleResponse
    • transaction
    • )

  • inline

sendTransactionReversal()

    • void com.payments.core.admin.TerminalBase.sendTransactionReversal
    • (
    • CoreReversal
    • reversal
    • )

  • inline

sendUnreferencedRefundByPlugin()

    • void com.payments.core.admin.TerminalBase.sendUnreferencedRefundByPlugin
    • (
    • CoreUnreferencedRefund
    • unreferencedRefund
    • )

  • inline

TO BE USED BY PLUGINS

sendUpdateRequest()

    • void com.payments.core.admin.TerminalBase.sendUpdateRequest
    • (
    • HashMap< String, Object >
    • data
    • )

  • inline

TO BE USED BY PLUGINS

sendUserMessages()

    • void com.payments.core.admin.TerminalBase.sendUserMessages
    • (
    • Object
    • message
    • )

  • inline

TO BE USED BY PLUGINS

setDebug()

    • void com.payments.core.admin.TerminalBase.setDebug
    • (
    • boolean
    • debug
    • )

  • inline

This method is deprecated.Please use setMode instead.

Deprecated:<strong>

use this.setMode() instead.

setLogLevel()

    • void com.payments.core.admin.TerminalBase.setLogLevel
    • (
    • LogLevel
    • logLevel
    • )

  • inline

setMode()

    • void com.payments.core.admin.TerminalBase.setMode
    • (
    • CoreMode
    • mode
    • )

  • inline

setOfflineMode()

    • boolean com.payments.core.admin.TerminalBase.setOfflineMode
    • (
    • boolean
    • offline
    • )

  • inline

setPluginCallBack()

    • void com.payments.core.admin.TerminalBase.setPluginCallBack
    • (
    • Plugin
    • pluginCallBack
    • )

  • inline

TO BE USED BY PLUGINS

setSettings()

    • void com.payments.core.admin.TerminalBase.setSettings
    • (
    • CoreSettings
    • settings
    • )

  • inline

startAutoConfig()

    • void com.payments.core.admin.TerminalBase.startAutoConfig
    • (
    • )

  • inline

Start autoconfig for Walker device.

startInitDevice()

    • void com.payments.core.admin.TerminalBase.startInitDevice
    • (
    • DeviceEnum
    • device,

    • HashMap< String, Object >
    • data

    • )

  • inline

submitAmount()

    • void com.payments.core.admin.TerminalBase.submitAmount
    • (
    • CoreSale
    • coreSale,

    • boolean
    • confirmation

    • )

  • inline

submitApplication()

    • void com.payments.core.admin.TerminalBase.submitApplication
    • (
    • int
    • app
    • )

  • inline

Submits application.

submitSignature()

    • void com.payments.core.admin.TerminalBase.submitSignature
    • (
    • CoreSignature
    • coreSignature
    • )

  • inline

Used to send the user signature

CoreSignature signature = new CoreSignature();
signature.set...AndroidTerminal.getInstance().submitSignature(signature);
// or if you use Java, use JavaTerminal.getInstance().submitSignature(signature);

unRegisterCoreAPIDeviceListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPIDeviceListener
    • (
    • CoreAPIDeviceListener
    • listener
    • )

  • inline

Unregister CoreAPIDeviceListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPIListener
    • (
    • CoreAPIListener
    • listener
    • )

  • inline

Unregister CoreAPIListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIMessageListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPIMessageListener
    • (
    • CoreAPIMessageListener
    • listener
    • )

  • inline

Unregister CoreAPIMessageListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIRefundListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPIRefundListener
    • (
    • CoreAPIRefundListener
    • listener
    • )

  • inline

Unregister CoreAPIRefundListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIReportingListener()

  • inline

Unregister CoreAPIReportingListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIReversalListener()

  • inline

Unregister CoreAPIReversalListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPISaleListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPISaleListener
    • (
    • CoreAPISaleListener
    • listener
    • )

  • inline

Unregister CoreAPISaleListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPISecureCardListener()

  • inline

Unregister CoreAPISecureCardListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPISettingsListener()

  • inline

Unregister CoreAPISettingsListener listener.

Parameters

  • listener
  • to be set

unRegisterCoreAPIUpdateListener()

    • void com.payments.core.admin.TerminalBase.unRegisterCoreAPIUpdateListener
    • (
    • CoreAPIUpdateListener
    • listener
    • )

  • inline

Unregister CoreAPIUpdateListener listener.

Parameters

  • listener
  • to be set

updateSettings()

    • void com.payments.core.admin.TerminalBase.updateSettings
    • (
    • CoreTerminalUpdate
    • terminal
    • )

  • inline

Update tip and tax settings.

CoreTerminalUpdate terminalUpdate = new CoreTerminalUpdate();
CoreTax tax = new CoreTax();
tax.setPercentage(BigDecimal.valueOf(10.32));
tax.setName("ANDROID TEST 1");
ArrayList<CoreSetting> create = new ArrayList<CoreSetting>();
create.add(tax);
terminalUpdate.setSettingCreate(create);
AndroidTerminal.getInstance().updateSettings(terminalUpdate);
// or if you use Java, use JavaTerminal.getInstance().updateSettings(terminalUpdate);

Parameters

updateTransaction()

    • void com.payments.core.admin.TerminalBase.updateTransaction
    • (
    • CoreUpdate
    • update
    • )

  • inline

Update the transaction, send receipt to a user by an email or number.

CoreUpdate update = new CoreUpdate("SDE3AS","0899383","test@gmail.com");
AndroidTerminal.getInstance().updateTransaction(update);
// or if you use Java, use JavaTerminal.getInstance().updateTransaction(update);

Parameters

  • update
  • represents coreUpdate object

Member Data Documentation

action

    • String com.payments.core.admin.TerminalBase.action = “”

  • staticprotected

connectedDevice

device

The String instance representing device.

pluginCallBack

    • Plugin com.payments.core.admin.TerminalBase.pluginCallBack

  • protected

The PluginListener instance representing pluginCallBack.

settings

    • CoreSettings com.payments.core.admin.TerminalBase.settings

  • protected

The CoreSettings instance representing settings.