Interface TransactionData


public interface TransactionData
Interface to provide detailed information of a transaction.
Since:
2.0.0
  • Method Details

    • getAmount

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

      int getCurrencyCode()
      Retrieves the transaction currency code as specified in the ISO-4217 standard.
      Returns:
      Transaction currency 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.
    • getDate

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

      @NonNull Scheme getScheme()
      Retrieves the card scheme used for this transaction.
      Returns:
      The card scheme.
    • getType

      Retrieves the transaction type.
      Returns:
      The transaction type.
    • getNumberOfPaymentLeft

      @Nullable Integer getNumberOfPaymentLeft()
      Retrieves the number of payments left before a replenishment is required.
      Returns:
      The number of payments left before the next replenishment, or null if it is not available.
    • isReplenishmentRequired

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

      void wipe()
      Wipes the sensitive data of the object.