BTPayPalMessagingDelegate
public protocol BTPayPalMessagingDelegate : AnyObject
Protocol for BTPayPalMessagingView events
Warning
This module is in beta. It’s public API may change or be removed in future releases.-
Function invoked when the message is tapped
Declaration
Swift
func didSelect(_ payPalMessagingView: BTPayPalMessagingView) -
Function invoked when a user has begun the PayPal Credit application
Declaration
Swift
func willApply(_ payPalMessagingView: BTPayPalMessagingView) -
Function invoked when the message first starts to fetch data
Declaration
Swift
func willAppear(_ payPalMessagingView: BTPayPalMessagingView) -
Function invoked when the message has rendered
Declaration
Swift
func didAppear(_ payPalMessagingView: BTPayPalMessagingView) -
Function invoked when the message encounters an error
Declaration
Swift
func onError(_ payPalMessagingView: BTPayPalMessagingView, error: Error)
View on GitHub