Interface TransactionRecord


  • public interface TransactionRecord
    Contains the digital card's transaction record information.
    Since:
    2.3.0
    • Method Detail

      • getDate

        @NonNull
        String getDate()
        Retrieves the transaction record date (format: ISO 8601 YYYY-MM-DDThh:mm:ssTZD).
        Returns:
        The transaction record date.
      • getID

        @Nullable
        String getID()
        Retrieves the transaction record ID which is scheme dependent (Optional).
        Returns:
        The transaction record ID.
      • getCurrencyCode

        int getCurrencyCode()
        Retrieves the transaction currency numeric code as specified in the ISO-4217 standard.
        Returns:
        Transaction currency numeric code as specified in the ISO-4217 standard.
      • getCurrencyAlphaCode

        String getCurrencyAlphaCode()
        Retrieves the transaction currency alpha code according to the numeric one specified in the ISO-4217 standard.
        Returns:
        Transaction currency alpha code.
      • getAmount

        double getAmount()
        Retrieves the amount of the transaction record. Number negative is possible (in case of refund) (Optional)
        Returns:
        The Amount of transaction record.
      • getDisplayAmount

        @Nullable
        String getDisplayAmount()
        Retrieves the transaction record amount in ISO 4217 format. ie with the correct number of digits after the decimal separator.(Optional)
        Returns:
        The representation of Amount in ISO 4217 format.
      • getMerchantName

        @Nullable
        String getMerchantName()
        Retrieves the merchant name of the transaction record (Optional).
        Returns:
        The merchant name of transaction record.
      • getMerchantType

        @Nullable
        String getMerchantType()
        Retrieves the merchant type of the transaction record which is Category Code (MCC) (Optional).
        Returns:
        The merchant type of transaction record.
      • getMerchantPostalCode

        @Nullable
        String getMerchantPostalCode()
        Retrieves the merchant postal code of the transaction record (Optional).
        Returns:
        The merchant postal code of transaction record