Interface MeaGetCardTransactionHistoryListener


public interface MeaGetCardTransactionHistoryListener
Interface describing the various getCardTransactionHistory remote request events.

App developers should create a local instance of this class and pass it to MeaCard.getTransactionHistory(MeaGetCardTransactionHistoryListener) to listen for events. onFailure(Object) and onSuccess(List) are invoked on the Main / UI thread after the background computation finishes.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when operation failed.
    void
    onSuccess(List<MeaTransactionDetails> cardTransactionsList)
    Called when operation completed successfully.
  • Method Details

    • onSuccess

      void onSuccess(@NonNull List<MeaTransactionDetails> cardTransactionsList)
      Called when operation completed successfully.
      Parameters:
      cardTransactionsList - The list of card transactions MeaTransactionDetails.
    • onFailure

      @UiThread void onFailure(@NonNull MeaError error)
      Called when operation failed.
      Parameters:
      error - The error or error array.