Package com.meawallet.mtp
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 TypeMethodDescriptionvoidCalled when operation failed.voidonSuccess(List<MeaTransactionDetails> cardTransactionsList) Called when operation completed successfully.
-
Method Details
-
onSuccess
Called when operation completed successfully.- Parameters:
cardTransactionsList- The list of card transactionsMeaTransactionDetails.
-
onFailure
Called when operation failed.- Parameters:
error- The error or error array.
-