public interface

PMConsumePreauthListener

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

Class Overview

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

Summary

Public Methods
abstract void onConsumePreauth(Preauthorization preauthorization)
Called on successful preauthorization consumption.
abstract void onConsumePreauthFailed(PMError error)
Called on unsuccessful preauthorization consumption.

Public Methods

public abstract void onConsumePreauth (Preauthorization preauthorization)

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

Parameters
preauthorization the preauthorization, that has just been consumed

public abstract void onConsumePreauthFailed (PMError error)

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

Parameters
error the cause of the failure