public interface

PMListPreauthsListener

com.paymill.android.listener.PMListPreauthsListener
Known Indirect Subclasses

Class Overview

Implement this interface in your UI to be kept informed, when the list of of preauthorizations has been retrieved from the Safe Store.

Summary

Public Methods
abstract void onListPreauths(Collection<Preauthorization> preauthorizations)
Called on successful retrieval.
abstract void onListPreauthsFailed(PMError error)
Called on unsuccessful retrieval.

Public Methods

public abstract void onListPreauths (Collection<Preauthorization> preauthorizations)

Called on successful retrieval. You will receive the callback on the main thread.

Parameters
preauthorizations the not yet consumed preauthorizations.

public abstract void onListPreauthsFailed (PMError error)

Called on unsuccessful retrieval. You will receive the callback on the main thread.

Parameters
error the cause of the failure