Protocols
The following protocols are available globally.
-
Undocumented
See moreDeclaration
Objective-C
@protocol BTCardFormViewControllerDelegate <NSObject> - (void)cardTokenizationCompleted:(BTPaymentMethodNonce * _Nullable )tokenizedCard error:(NSError * _Nullable )error sender:(BTCardFormViewController *) sender; @end
Swift
protocol BTCardFormViewControllerDelegate : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol BTDropInControllerDelegate <NSObject> - (void)reloadDropInData; /// Show the edit screen for payment methods. /// /// @param sender The sender requesting the view be changed. - (void)editPaymentMethods:(id)sender; @end
Swift
protocol BTDropInControllerDelegate : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol BTPaymentSelectionViewControllerDelegate <NSObject> /// Called on the delegate when a payment method is selected /// /// @param type The BTUIKPaymentOptionType of the selected payment method /// @param nonce The BTPaymentMethodNonce of the selected payment method. @note This can be `nil` in the case of Apple Pay. /// @param error The error that occured during tokenization of a new payment method. - (void) selectionCompletedWithPaymentMethodType:(BTUIKPaymentOptionType) type nonce:(BTPaymentMethodNonce *)nonce error:(NSError *)error; /// Called on the delegate when the value return by BTPaymentSelectionViewController:sheetHeight has changed /// /// @param sender The BTPaymentSelectionViewController that changed - (void) sheetHeightDidChange:(BTPaymentSelectionViewController *) sender; @end
Swift
protocol BTPaymentSelectionViewControllerDelegate : NSObjectProtocol
-
@protocol This protocol is required by the delegate to receive the validateButtonPressed calls when using BTUIKCardNumberFormFieldStateValidate
See moreDeclaration
Objective-C
@protocol BTUIKCardNumberFormFieldDelegate <NSObject>
Swift
protocol BTUIKCardNumberFormFieldDelegate : NSObjectProtocol
-
@protocol This protocol is required by the delegate to receive the expiryInputViewDidChange calls
See moreDeclaration
Objective-C
@protocol BTUIKExpiryInputViewDelegate <NSObject>
Swift
protocol BTUIKExpiryInputViewDelegate : NSObjectProtocol
-
@protocol Required by the delegate
See moreDeclaration
Objective-C
@protocol BTUIKFormFieldDelegate <NSObject>
Swift
protocol BTUIKFormFieldDelegate : NSObjectProtocol
-
A protocol for receiving callbacks when a user edits text in a
See moreBTUITextField
Declaration
Objective-C
@protocol BTUIKTextFieldEditDelegate <NSObject>
Swift
protocol BTUIKTextFieldEditDelegate : NSObjectProtocol