public interface

PMPreauthListener

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

Summary

Public Methods
abstract void onPreauth(Transaction preauthorizationTransaction)
Called on successful retrieval.
abstract void onPreauthFailed(PMError error)
Called on unsuccessful retrieval.

Public Methods

public abstract void onPreauth (Transaction preauthorizationTransaction)

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

Note: You are receiving a Transaction object. Use getPreauthorization() to get the Preauthorization object.

Parameters
preauthorizationTransaction the created transaction.

public abstract void onPreauthFailed (PMError error)

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

Parameters
error the cause of the failure