Package com.adyen.checkout.dropin
Class DropInServiceResult.Error
-
- All Implemented Interfaces:
-
com.adyen.checkout.dropin.DropInServiceResultError
public final class DropInServiceResult.Error extends DropInServiceResult implements DropInServiceResultError
Send this to display an error dialog and optionally dismiss Drop-in.
-
-
Field Summary
Fields Modifier and Type Field Description private final ErrorDialogerrorDialogprivate final Stringreasonprivate final BooleandismissDropIn
-
Constructor Summary
Constructors Constructor Description DropInServiceResult.Error(ErrorDialog errorDialog, String reason, Boolean dismissDropIn)
-
Method Summary
Modifier and Type Method Description ErrorDialoggetErrorDialog()StringgetReason()BooleangetDismissDropIn()-
-
Constructor Detail
-
DropInServiceResult.Error
DropInServiceResult.Error(ErrorDialog errorDialog, String reason, Boolean dismissDropIn)
- Parameters:
errorDialog- If set, a dialog will be shown with the data passed in ErrorDialog.reason- the reason of the error.dismissDropIn- whether Drop-in should be dismissed after presenting the Alert Dialog.
-
-
Method Detail
-
getErrorDialog
ErrorDialog getErrorDialog()
-
getDismissDropIn
Boolean getDismissDropIn()
-
-
-
-