public static interface

MerchantAction.OnCompleteListener

com.usebutton.sdk.models.MerchantAction.OnCompleteListener

Class Overview

Interface definition for a callback to be invoked when a merchant action is complete.

Summary

Public Methods
abstract void onMerchantActionComplete(MerchantAction merchantAction, int resultCode, Throwable t)
Called when a merchant action flow is complete.

Public Methods

public abstract void onMerchantActionComplete (MerchantAction merchantAction, int resultCode, Throwable t)

Called when a merchant action flow is complete.

Parameters
merchantAction the merchant action that has completed.
resultCode the result code for the state of the merchant action upon completion.
t an optional error that will be returned with RESULT_CODE_ERROR.