public interface

PMPaymentsAvailListener

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

Class Overview

Implement this interface in your UI to be kept informed for the result of a arePaymentsAvailable call that checks for payments availability on the Safe Store.

Summary

Public Methods
abstract void onPaymentsAvaialable(boolean available)
Called when payments availability status is retrieved.
abstract void onPaymentsAvaialableFailed(PMError error)
Called when the arePaymentsAvailable() call fails.

Public Methods

public abstract void onPaymentsAvaialable (boolean available)

Called when payments availability status is retrieved. You will receive the callback on the main thread.

Parameters
available payments availability

public abstract void onPaymentsAvaialableFailed (PMError error)

Called when the arePaymentsAvailable() call fails. You will receive the callback on the main thread.

Parameters
error the cause of the failure