PBBAPopupViewController
@interface PBBAPopupViewController : UIViewController
PBBA popup view controller.
-
The expiration interval to be shown in the popup
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSUInteger expiryInterval;Swift
var expiryInterval: UInt { get set } -
The human friendly transaction retrieval identifier issued by Zapp.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *secureToken;Swift
var secureToken: String? { get } -
The Basket Reference Number for entry in the CFI app on the consumer’s device.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *brn;Swift
var brn: String? { get } -
The error code to be displayed inside the error popup.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *errorCode;Swift
var errorCode: String? { get } -
The error title to be displayed inside the error popup.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *errorTitle;Swift
var errorTitle: String? { get } -
The error message to be displayed inside the error popup.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) NSString *errorMessage;Swift
var errorMessage: String? { get } -
The popup view controller delegate.
Declaration
Objective-C
@property (readwrite, nonatomic, nullable) id<PBBAPopupViewControllerDelegate> delegate;Swift
weak var delegate: PBBAPopupViewControllerDelegate? { get set } -
Create an instance of PBBA popup view controller.
Declaration
Objective-C
- (void)setSecureToken:(nonnull NSString *)secureToken brn:(nonnull NSString *)brn delegate:(nullable id<PBBAPopupViewControllerDelegate>)delegate;Swift
func setSecureToken(_ secureToken: String, brn: String, delegate: PBBAPopupViewControllerDelegate?)Parameters
secureTokenThe human friendly transaction retrieval identifier issued by Zapp.
brnThe Basket Reference Number for entry in the CFI app on the consumer’s device.
delegateThe popup view controller delegate.
Return Value
An instance of PBBAPopupViewController.
-
Create an instance of PBBA error popup view controller.
Declaration
Objective-C
- (void)setErrorCode:(nullable NSString *)errorCode errorTitle:(nullable NSString *)errorTitle errorMessage:(nonnull NSString *)errorMessage delegate:(nullable id<PBBAPopupViewControllerDelegate>)delegate;Swift
func setErrorCode(_ errorCode: String?, errorTitle: String?, errorMessage: String, delegate: PBBAPopupViewControllerDelegate?)Parameters
errorCodeThe error code to be displayed inside the error popup.
errorTitleThe error title to be displayed inside the error popup.
errorMessageThe error message to be displayed inside the error popup.
delegateThe popup view controller delegate.
Return Value
An instance of PBBAPopupViewController.
-
Update the instance of PBBA popup view controller.
Declaration
Objective-C
- (void)updateSecureToken:(nonnull NSString *)secureToken brn:(nonnull NSString *)brn;Swift
func updateSecureToken(_ secureToken: String, brn: String)Parameters
secureTokenThe human friendly transaction retrieval identifier issued by Zapp.
brnThe Basket Reference Number for entry in the CFI app on the consumer’s device.
Return Value
The instance of PBBAPopupViewController.
-
Update the instance of PBBA popup view controller.
Declaration
Objective-C
- (void)updateErrorCode:(nullable NSString *)errorCode errorTitle:(nullable NSString *)errorTitle errorMessage:(nonnull NSString *)errorMessage;Swift
func update(withErrorCode errorCode: String?, errorTitle: String?, errorMessage: String)Parameters
errorCodeThe error code to be displayed inside the error popup.
errorTitleThe error title to be displayed inside the error popup.
errorMessageThe error message to be displayed inside the error popup.
Return Value
The instance of PBBAPopupViewController.
-
Update the instance of PBBA popup view controller for More About Layout.
Declaration
Objective-C
- (void)updateForMoreAboutWithBankLogosService: (PBBABankLogosService *)logosService;Swift
func updateForMoreAbout(with logosService: PBBABankLogosService!)Parameters
logosServiceThe logosService
View on GitHub
PBBAPopupViewController Class Reference