PBBAPopupViewControllerDelegate
@protocol PBBAPopupViewControllerDelegate <NSObject>
The PBBA popup view controller delegate protocol.
-
The error popup might ask delegate to retry payment request.
Declaration
Objective-C
- (void)pbbaPopupViewControllerRetryPaymentRequest: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
func pbbaPopupViewControllerRetryPaymentRequest(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of error popup view controller.
-
Inform delegate that popup expired. (expiry interval is 0)
Declaration
Objective-C
- (void)pbbaPopupViewControllerDidExpire: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerDidExpire(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.
-
Inform delegate that user has decided to close the popup by pressing the close button.
Declaration
Objective-C
- (void)pbbaPopupViewControllerDidCloseByUser: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerDidCloseByUser(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.
-
Inform delegate that PBBAPopupViewController will appear on the screen.
Declaration
Objective-C
- (void)pbbaPopupViewControllerWillAppear: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerWillAppear(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.
-
Inform delegate that PBBAPopupViewController did appear on the screen.
Declaration
Objective-C
- (void)pbbaPopupViewControllerDidAppear: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerDidAppear(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.
-
Inform delegate that PBBAPopupViewController will disappear from the screen.
Declaration
Objective-C
- (void)pbbaPopupViewControllerWillDisappear: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerWillDisappear(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.
-
Inform delegate that PBBAPopupViewController did disappear from the screen.
Declaration
Objective-C
- (void)pbbaPopupViewControllerDidDisappear: (nonnull PBBAPopupViewController *)pbbaPopupViewController;
Swift
optional func pbbaPopupViewControllerDidDisappear(_ pbbaPopupViewController: PBBAPopupViewController)
Parameters
pbbaPopupViewController
The instance of popup view controller.