Interface TransactionData


  • public interface TransactionData
    Interface to provide detail information of a transaction
    Since:
    2.0.0
    • Method Detail

      • getAmount

        double getAmount()
        Retrieve the amount of the transaction
        Returns:
        The transaction amount
      • getCurrencyCode

        int getCurrencyCode()
        Retrieve the transaction currency code in the ISO-4217 Standard.
        Returns:
        Transaction currency code in ISO-4217 Standard.
      • getDate

        @NonNull
        String getDate()
        Retrieve the transaction date (in format yymmdd).
        Returns:
        The transaction date.
      • getScheme

        @NonNull
        Scheme getScheme()
        Retrieve the card scheme used for this transaction
        Returns:
        The card scheme
      • getNumberOfPaymentLeft

        @Nullable
        Integer getNumberOfPaymentLeft()
        Retrieve the number of payment left until a replenishment is required
        Returns:
        The number of payment left until the next replenishment or null if not available
      • isReplenishmentRequired

        @Nullable
        Boolean isReplenishmentRequired()
        Retrieve the status if a replenishment is required before executing next transaction
        Returns:
        The replenishment status or null if not available
      • wipe

        void wipe()
        Wipe the sensitive data of the object