Class coreterminal

Inheritance diagram for com.payments.core.CoreTerminal:

com.payments.core.admin.AndroidTerminal

Public Member Functions

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)

Public Attributes

boolean offlineMode

Protected Attributes

CoreMode mode = CoreMode.LIVE

Detailed Description

This class represents CoreTerminal object which is used to hold terminal settings (terminal ID, secret)

Constructor & Destructor Documentation

CoreTerminal()

    • com.payments.core.CoreTerminal.CoreTerminal
    • (
    • String
    • terminalId,

    • String
    • secret,

    • String
    • url

    • )

  • inline

Initialise a new instance of CoreTerminal class

Member Function Documentation

getAuthorizationUrl()

    • String com.payments.core.CoreTerminal.getAuthorizationUrl
    • (
    • )

  • inline

getCurrency()

    • Currency com.payments.core.CoreTerminal.getCurrency
    • (
    • )

  • inline

Gets the currency.

Returns

currency

getDeviceType()

    • String com.payments.core.CoreTerminal.getDeviceType
    • (
    • )

  • inline

Gets the value of the deviceType property.

Returns

deviceType

getIsvToken()

    • String com.payments.core.CoreTerminal.getIsvToken
    • (
    • )

  • inline

Gets the isv token.

Returns

isvToken

getMode()

    • CoreMode com.payments.core.CoreTerminal.getMode
    • (
    • )

  • inline

getOfflineMode()

    • boolean com.payments.core.CoreTerminal.getOfflineMode
    • (
    • )

  • inline

Gets a value indicating offline mode.

Returns

offlineMode

getPayconexReportingUrl()

    • String com.payments.core.CoreTerminal.getPayconexReportingUrl
    • (
    • )

  • inline

getPayconexSaleUrl()

    • String com.payments.core.CoreTerminal.getPayconexSaleUrl
    • (
    • )

  • inline

getRequiresTokenForRefunds()

    • boolean com.payments.core.CoreTerminal.getRequiresTokenForRefunds
    • (
    • )

  • inline

Gets a value indicating whether toke is required for refunds.

Returns

requiresTokenForRefunds

getRequiresTokenForTerminalUpdate()

    • boolean com.payments.core.CoreTerminal.getRequiresTokenForTerminalUpdate
    • (
    • )

  • inline

Gets a value indicating whether toke is required for terminal update.

Returns

requiresTokenForTerminalUpdate

getSecret()

    • String com.payments.core.CoreTerminal.getSecret
    • (
    • )

  • inline

Gets the secret.

Returns

secret

getTerminalId()

    • String com.payments.core.CoreTerminal.getTerminalId
    • (
    • )

  • inline

Gets the terminal ID.

Returns

terminalId

getTerminalType()

    • TerminalType com.payments.core.CoreTerminal.getTerminalType
    • (
    • )

  • inline

Gets the terminal type.

Returns

terminalType

getTerminalUrl()

    • String com.payments.core.CoreTerminal.getTerminalUrl
    • (
    • )

  • inline

getToken()

    • String com.payments.core.CoreTerminal.getToken
    • (
    • )

  • inline

Gets the token.

Returns

token

getUrl()

    • String com.payments.core.CoreTerminal.getUrl
    • (
    • )

  • inline

isRequiresTokenForReporting()

    • boolean com.payments.core.CoreTerminal.isRequiresTokenForReporting
    • (
    • )

  • inline

Gets a value indicating whether toke is required for reporting.

Returns

requiresTokenForReporting

setCurrency()

    • void com.payments.core.CoreTerminal.setCurrency
    • (
    • Currency
    • currency
    • )

  • inline

setDeviceType()

    • void com.payments.core.CoreTerminal.setDeviceType
    • (
    • String
    • value
    • )

  • inline

Sets the value of the deviceType property.

Parameters

  • value
  • - deviceType

setIsvToken()

    • void com.payments.core.CoreTerminal.setIsvToken
    • (
    • String
    • isvToken
    • )

  • inline

setRequiresTokenForRefunds()

    • void com.payments.core.CoreTerminal.setRequiresTokenForRefunds
    • (
    • boolean
    • requiresTokenForRefunds
    • )

  • inline

Sets a value indicating whether toke is required for refunds.

Parameters

  • requiresTokenForRefunds

setRequiresTokenForReporting()

    • void com.payments.core.CoreTerminal.setRequiresTokenForReporting
    • (
    • boolean
    • requiresTokenForReporting
    • )

  • inline

Sets a value indicating whether toke is required for reporting.

Parameters

  • requiresTokenForReporting

setRequiresTokenForTerminalUpdate()

    • void com.payments.core.CoreTerminal.setRequiresTokenForTerminalUpdate
    • (
    • boolean
    • requiresTokenForTerminalUpdate
    • )

  • inline

Sets a value indicating whether toke is required for terminal update.

Parameters

  • requiresTokenForTerminalUpdate

setSecret()

    • void com.payments.core.CoreTerminal.setSecret
    • (
    • String
    • secret
    • )

  • inline

setTerminalId()

    • void com.payments.core.CoreTerminal.setTerminalId
    • (
    • String
    • terminalId
    • )

  • inline

setTerminalType()

    • void com.payments.core.CoreTerminal.setTerminalType
    • (
    • TerminalType
    • terminalType
    • )

  • inline

setToken()

    • void com.payments.core.CoreTerminal.setToken
    • (
    • String
    • token
    • )

  • inline

setUrl()

    • void com.payments.core.CoreTerminal.setUrl
    • (
    • String
    • url
    • )

  • inline

Member Data Documentation

mode

The CoreMode instance representing mode.

offlineMode

  • boolean com.payments.core.CoreTerminal.offlineMode