Class MeaTransactionMessage

  • Direct Known Subclasses:
    MeaTransactionDetails

    public class MeaTransactionMessage
    extends java.lang.Object
    Transaction outcome result message object. Transaction message is sent as PUSH notification after transaction is processed in TMS and content of it can be parsed into this object using MeaTokenPlatform.Rns.parseTransactionMessage(Map) method.
    • Constructor Detail

      • MeaTransactionMessage

        public MeaTransactionMessage()
    • Method Detail

      • getCardId

        public java.lang.String getCardId()
        Get unique card ID for this card. In the case of an MDES solution the Unique card ID to be used is the Token Unique Reference for the card.
        Returns:
        The unique card ID.
      • getAmount

        public java.lang.Double getAmount()
        Get the transaction amount. Negative amounts indicate a refund. REFUND transaction types will always have a negative amount.
        Returns:
        transaction amount
      • getCurrencyCode

        public java.lang.String getCurrencyCode()
        Returns transaction local currency code as 3-digit ISO 4217 currency code at the source location of the transaction.
        Returns:
        transaction currency
      • getCurrency

        @Nullable
        public java.util.Currency getCurrency()
        Get the transaction currency. This is the local currency at the source location of the transaction.
        Returns:
        Instance of Currency object.
        Since:
        0.16.0
      • getMerchantName

        public java.lang.String getMerchantName()
        Get the merchant ("doing business as") name.
        Returns:
        merchant name
      • getMerchantType

        public java.lang.String getMerchantType()
        Get the merchant’s type of business or service. Must be a valid Merchant Category Code (MCC).
        Returns:
        merchant’s type of business or service
      • getRecordId

        public java.lang.String getRecordId()
        Get a unique identifier for this transaction record. Opaque value.
        Returns:
        transaction record Id
      • getTransactionIdentifier

        public java.lang.String getTransactionIdentifier()
        Get a unique identifier for the transaction that is used to match a transaction event on the device.
        Returns:
        transaction identifier
      • getTransactionTimestamp

        public java.lang.String getTransactionTimestamp()
        The date/time when the transaction occurred. In ISO 8601 extended format as one of the following: YYYY-MM-DDThh:mm:ss[.sss]Z YYYY-MM-DDThh:mm:ss[.sss]±hh:mm Where [.sss] is optional and can be 1 to 3 digits
        Returns:
        transaction timestamp
      • getTransactionDate

        @Nullable
        public java.util.Date getTransactionDate()
        Get the date/time when the transaction occurred.
        Returns:
        Instance of Date object.
      • getTransactionType

        public MeaTransactionType getTransactionType()
        Get the transaction type.
        Returns:
        transaction type
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object