public protocol DropInComponentDelegate : AnyObject
Defines the methods a delegate of the drop in component should implement.
Invoked when a payment method is selected and the initial details have been filled.
The data supplied by the drop in component, containing the selected payment method and the filled details.
The drop in component in which the payment method was selected and filled.
Invoked when additional details have been provided for a payment method.
The additional data supplied by the drop in component.
The drop in component from which the additional details were provided.
Invoked when the drop in component failed with an error.
func didFail(with error: Error, from component: DropInComponent)
The error that occurred.
The drop in component that failed.