Protocols
The following protocols are available globally.
-
A protocol for handling the return from gathering payment information from a browser or another app.
Note
The app context may switch to a SFSafariViewController or to a native app, such as Venmo.Declaration
Objective-C
@protocol BTAppContextSwitchDriver
Swift
protocol BTAppContextSwitchDriver
-
Protocol for receiving payment lifecycle messages from a payment driver that requires presentation of a view controller to authorize a payment.
See moreDeclaration
Objective-C
@protocol BTViewControllerPresentingDelegate <NSObject>
Swift
protocol BTViewControllerPresentingDelegate : NSObjectProtocol
-
Protocol for local payment flow
See moreDeclaration
Objective-C
@protocol BTLocalPaymentRequestDelegate
Swift
protocol BTLocalPaymentRequestDelegate
-
Protocol for payment flow processing via BTPaymentFlowRequestDelegate.
See moreDeclaration
Objective-C
@protocol BTPaymentFlowDriverDelegate
Swift
protocol BTPaymentFlowDriverDelegate
-
Protocol for payment flow processing.
See moreDeclaration
Objective-C
@protocol BTPaymentFlowRequestDelegate
Swift
protocol BTPaymentFlowRequestDelegate
-
Protocol for ThreeDSecure Request flow
See moreDeclaration
Objective-C
@protocol BTThreeDSecureRequestDelegate
Swift
protocol BTThreeDSecureRequestDelegate