Error
class Error(val errorDialog: ErrorDialog?, val reason: String? = null, val dismissDropIn: Boolean = false) : OrderDropInServiceResult, 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.