Interface MGTransactionRecord


public interface MGTransactionRecord
Interface containing data related to any transaction
  • Method Details

    • getDigitalCardId

      String getDigitalCardId()
      Deprecated.
      since 6.12
      Returns:
      The unique identifier of the digital card.
      The digitized card ID that is shared by the HCE platform components. This is different from the token ID.
    • getTransactionDate

      String getTransactionDate()
      Returns:
      The transaction date in ISO 8601 format: YYYY-MM-DDThh:mm:ssTZD.
    • getTransactionType

      TransactionType getTransactionType()
      Returns:
      The type of the transaction.
    • getTransactionStatus

      TransactionStatus getTransactionStatus()
      Returns:
      The status of the transaction.
    • getTransactionId

      String getTransactionId()
      Returns:
      The optional ID of the transaction which is dependent on the scheme used.
    • getCurrencyCode

      String getCurrencyCode()
      Returns:
      The 3-letter currency code in ISO 4217 format.
    • getAmount

      double getAmount()
      Returns:
      The transaction amount. In the event of a refund, the transaction amount may be negative (optional).
    • getDisplayAmount

      String getDisplayAmount()
      Returns:
      The amount in ISO 4217 format (optional).
    • getMerchantName

      String getMerchantName()
      Returns:
      The merchant name (optional).
    • getMerchantType

      String getMerchantType()
      Returns:
      The category Code (MCC) (optional).
    • getMerchantPostalCode

      String getMerchantPostalCode()
      Returns:
      The postal code (optional).
    • getTerminalId

      String getTerminalId()
      Returns:
      The unique identifier of the terminal.
    • getMerchantId

      String getMerchantId()
      Returns:
      The unique identifier of the merchant.
    • isAuxiliaryTransaction

      boolean isAuxiliaryTransaction()
      Returns:
      A flag to indicate this record belongs to auxiliary card ('true') or main card ('false')