public interface

PMGetPreauthListener

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

Class Overview

Implement this interface in your UI to be kept informed, when a preauthorization has been retrieved.

Summary

Public Methods
abstract void onGetPreauth(Preauthorization preauthorization)
Called on successful preauthorization retrieval.
abstract void onGetPreauthFailed(PMError error)
Called on unsuccessful preauthorization retrieval.

Public Methods

public abstract void onGetPreauth (Preauthorization preauthorization)

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

Parameters
preauthorization the retrieved preauthorization.

public abstract void onGetPreauthFailed (PMError error)

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

Parameters
error the cause of the failure