Class restconnector

Inherits com.payments.core.admin.rest.RestConnectorBase, and com.payments.core.admin.rest.RestConnectorBase.

Static Public Member Functions

static CoreSaleResponse sendSale (String coreSale, CoreTerminal coreTerminal) throws CoreException, Exception
static CoreSaleResponse sendSale (CoreSale coreSale, CoreTerminal coreTerminal) throws CoreException, Exception
static boolean healthCheck (String baseUrl, int timeout)
static CoreRefundResponse requestUnreferencedRefund (CoreUnreferencedRefund coreUnreferencedRefund, CoreTerminal coreTerminal) throws CoreException
static CoreRefundResponse requestReferencedRefund (CoreRefund coreRefund, CoreTerminal coreTerminal) throws CoreException
static CoreResponse requestReversal (CoreReversal reversalRequest, CoreTerminal coreTerminal) throws CoreException
static String login (String schema, CoreTerminal coreTerminal) throws CoreException
static CoreSettings requestSettings (CoreTerminal coreTerminal) throws CoreException
static ArrayList< CoreTransactionSummary > requestTransactionList (CoreTransactionFilter filter, int page, CoreTerminal coreTerminal) throws CoreException
static CoreCloseBatchResponse closeTransactionsBatch (CoreTerminal coreTerminal) throws CoreException
static boolean updateTerminal (CoreTerminalUpdate coreTerminalUpdate, CoreTerminal coreTerminal) throws CoreException
static CoreResponse updateTransaction (CoreUpdate coreUpdate, CoreTerminal coreTerminal, HashMap< String, Object > data) throws CoreException
static CoreSecureCardResponse requestSecureCard (CoreSecureCard coreSecureCard, CoreTerminal coreTerminal, String action) throws CoreException
static boolean isPayconexSDK ()
static boolean setConnectionTimeOut (int milliseconds)
static CoreSaleResponse sendSale (String coreSale, CoreTerminal coreTerminal) throws CoreException
static CoreSaleResponse sendSale (CoreSale coreSale, CoreTerminal coreTerminal) throws CoreException
static CoreRefundResponse requestUnreferencedRefund (CoreUnreferencedRefund coreUnreferencedRefund, CoreTerminal coreTerminal) throws CoreException
static CoreRefundResponse requestReferencedRefund (CoreRefund coreRefund, CoreTerminal coreTerminal) throws CoreException
static CoreResponse requestReversal (CoreReversal reversalRequest, CoreTerminal coreTerminal) throws CoreException
static String login (String schema, CoreTerminal coreTerminal) throws CoreException
static CoreSettings requestSettings (CoreTerminal coreTerminal) throws CoreException
static ArrayList< CoreTransactionSummary > requestTransactionList (CoreTransactionFilter filter, int page, CoreTerminal coreTerminal) throws CoreException
static boolean updateTerminal (CoreTerminalUpdate coreTerminalUpdate, CoreTerminal coreTerminal) throws CoreException
static CoreCloseBatchResponse closeTransactionsBatch (CoreTerminal coreTerminal) throws CoreException
static CoreResponse updateTransaction (CoreUpdate coreUpdate, CoreTerminal coreTerminal, HashMap< String, Object > data) throws CoreException
static boolean healthCheck (String baseUrl, int timeout)
static CoreSecureCardResponse requestSecureCard (CoreSecureCard coreSecureCard, CoreTerminal coreTerminal, String action) throws CoreException
static boolean isPayconexSDK ()

Member Function Documentation

closeTransactionsBatch() [1/2]

closeTransactionsBatch() [2/2]

healthCheck() [1/2]

    • static boolean com.payments.core.admin.rest.RestConnector.healthCheck
    • (
    • String
    • baseUrl,

    • int
    • timeout

    • )

  • inlinestatic

healthCheck() [2/2]

    • static boolean com.payments.core.admin.rest.RestConnector.healthCheck
    • (
    • String
    • baseUrl,

    • int
    • timeout

    • )

  • inlinestatic

isPayconexSDK() [1/2]

    • static boolean com.payments.core.admin.rest.RestConnector.isPayconexSDK
    • (
    • )

  • inlinestatic

isPayconexSDK() [2/2]

    • static boolean com.payments.core.admin.rest.RestConnector.isPayconexSDK
    • (
    • )

  • inlinestatic

login() [1/2]

    • static String com.payments.core.admin.rest.RestConnector.login
    • (
    • String
    • schema,

    • )
    • throws CoreException

  • inlinestatic

login() [2/2]

    • static String com.payments.core.admin.rest.RestConnector.login
    • (
    • String
    • schema,

    • )
    • throws CoreException

  • inlinestatic

requestReferencedRefund() [1/2]

requestReferencedRefund() [2/2]

requestReversal() [1/2]

requestReversal() [2/2]

requestSecureCard() [1/2]

requestSecureCard() [2/2]

requestSettings() [1/2]

    • static CoreSettings com.payments.core.admin.rest.RestConnector.requestSettings
    • (
    • CoreTerminal
    • coreTerminal
    • )
    • throws CoreException

  • inlinestatic

requestSettings() [2/2]

    • static CoreSettings com.payments.core.admin.rest.RestConnector.requestSettings
    • (
    • CoreTerminal
    • coreTerminal
    • )
    • throws CoreException

  • inlinestatic

requestTransactionList() [1/2]

requestTransactionList() [2/2]

requestUnreferencedRefund() [1/2]

requestUnreferencedRefund() [2/2]

sendSale() [1/4]

    • static CoreSaleResponse com.payments.core.admin.rest.RestConnector.sendSale
    • (
    • String
    • coreSale,

    • )
    • throws CoreException

  • inlinestatic

sendSale() [2/4]

    • static CoreSaleResponse com.payments.core.admin.rest.RestConnector.sendSale
    • (
    • String
    • coreSale,

    • )
    • throws CoreException, Exception

  • inlinestatic

sendSale() [3/4]

sendSale() [4/4]

setConnectionTimeOut()

    • static boolean com.payments.core.admin.rest.RestConnector.setConnectionTimeOut
    • (
    • int
    • milliseconds
    • )

  • inlinestatic

Sets the connection timeout between SDK and host.Please note that value has to be greater or equal to 1000 (1 sec).Default 15000 (15 secs)

Parameters

  • milliseconds
  • timeout

Returns

true if timeout was set successfully

updateTerminal() [1/2]

    • static boolean com.payments.core.admin.rest.RestConnector.updateTerminal
    • (
    • CoreTerminalUpdate
    • coreTerminalUpdate,

    • )
    • throws CoreException

  • inlinestatic

updateTerminal() [2/2]

    • static boolean com.payments.core.admin.rest.RestConnector.updateTerminal
    • (
    • CoreTerminalUpdate
    • coreTerminalUpdate,

    • )
    • throws CoreException

  • inlinestatic

updateTransaction() [1/2]

    • HashMap< String, Object >
    • data

    • )
    • throws CoreException

  • inlinestatic

updateTransaction() [2/2]

    • HashMap< String, Object >
    • data

    • )
    • throws CoreException

  • inlinestatic