Class corereversal

Public Member Functions

CoreReversal (String uniqueRef)
CoreReversal (String deviceType, String uniqueRef, String reason, String tlvString)
CoreReversal (String deviceType, String uniqueRef, String reason)
CoreReversal (String deviceType, String uniqueRef)
String getDeviceType ()
String getUniqueRef ()
String getReason ()
void setReason (String reason)
String getTlvString ()

Detailed Description

This class represents reversal object.

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

Constructor & Destructor Documentation

CoreReversal() [1/4]

    • com.payments.core.CoreReversal.CoreReversal
    • (
    • String
    • uniqueRef
    • )

  • inline

Constructor initialises a new instance of a CoreReversal class.

Parameters

  • uniqueRef
  • of the transaction.

CoreReversal() [2/4]

    • com.payments.core.CoreReversal.CoreReversal
    • (
    • String
    • deviceType,

    • String
    • uniqueRef,

    • String
    • reason,

    • String
    • tlvString

    • )

  • inline

Constructor 1 initialises a new instance of a CoreReversal class.

Parameters

  • deviceType
  • used.

  • uniqueRef
  • of the transaction.

  • reason

  • tlvString

CoreReversal() [3/4]

    • com.payments.core.CoreReversal.CoreReversal
    • (
    • String
    • deviceType,

    • String
    • uniqueRef,

    • String
    • reason

    • )

  • inline

CoreReversal() [4/4]

    • com.payments.core.CoreReversal.CoreReversal
    • (
    • String
    • deviceType,

    • String
    • uniqueRef

    • )

  • inline

Constructor 2 initialises a new instance of a CoreReversal class.

Parameters

  • deviceType
  • used.

  • uniqueRef
  • of the transaction.

Member Function Documentation

getDeviceType()

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

  • inline

This String represents device type .

Returns

deviceType

getReason()

    • String com.payments.core.CoreReversal.getReason
    • (
    • )

  • inline

This String represents reason of the transaction.

Returns

reason - for the reversal

getTlvString()

    • String com.payments.core.CoreReversal.getTlvString
    • (
    • )

  • inline

This String represents the TLV string.

Returns

tlvString - for the reversal

getUniqueRef()

    • String com.payments.core.CoreReversal.getUniqueRef
    • (
    • )

  • inline

This String represents unique reference number assigned to each transaction.

Returns

uniqueRef - unique reference number of the transaction

setReason()

    • void com.payments.core.CoreReversal.setReason
    • (
    • String
    • reason
    • )

  • inline

Sets the value of reason property.

Parameters

  • reason
  • - for the reversal