PaymentHandlerDelegate
public protocol PaymentHandlerDelegate : AnyObject
The delegate of a PaymentHandler that is notified when the Payment is collected.
-
Called when the handler has successfully collected payment.
Declaration
Swift
func paymentHandler(_ handler: PaymentHandler, didCollect payment: Payment)Parameters
handlerThe
PaymentHandlerclass that collected thePayment.paymentThe
Paymentthat it collected.
PaymentHandlerDelegate Protocol Reference