public interface

PMConsumeTransListener

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

Class Overview

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

Summary

Public Methods
abstract void onConsumeTransaction(Transaction transaction)
Called on successful transaction consumption.
abstract void onConsumeTransactionFailed(PMError error)
Called on unsuccessful transaction consumption.

Public Methods

public abstract void onConsumeTransaction (Transaction transaction)

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

Parameters
transaction the transaction, that has just been consumed

public abstract void onConsumeTransactionFailed (PMError error)

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

Parameters
error the cause of the failure