Error

class Error(val errorDialog: ErrorDialog?, val reason: String? = null, val dismissDropIn: Boolean = false) : BalanceDropInServiceResult, DropInServiceResultError

Only applicable for partial payments flow.

Send this to display an error dialog and optionally dismiss Drop-in.

Parameters

errorDialog

If set, a dialog will be shown with the data passed in ErrorDialog. If null, no dialog will be displayed.

reason

the reason of the error. You will receive this value back in your DropInCallback class. This value is not used internally by Drop-in.

dismissDropIn

whether Drop-in should be dismissed after presenting the Alert Dialog.

Constructors

Link copied to clipboard
constructor(errorDialog: ErrorDialog?, reason: String? = null, dismissDropIn: Boolean = false)

Properties

Link copied to clipboard
open override val dismissDropIn: Boolean = false
Link copied to clipboard
open override val errorDialog: ErrorDialog?
Link copied to clipboard
open override val reason: String? = null