public interface

PMPaymentSavedListener

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

Class Overview

Implement this interface in your UI to be kept informed, when a payment has been saved on the Safe Store.

Summary

Public Methods
abstract void onPaymentSaved(Payment payment)
Called when the payment has been successfully saved.
abstract void onPaymentSavedFailed(PMError error)
Called when the payment has not been successfully saved.

Public Methods

public abstract void onPaymentSaved (Payment payment)

Called when the payment has been successfully saved. You will receive the callback on the main thread.

Parameters
payment the payment that was successfully saved.

public abstract void onPaymentSavedFailed (PMError error)

Called when the payment has not been successfully saved. You will receive the callback on the main thread.

Parameters
error the cause of the failure