SkontoNavigationBarBottomAdapter
public protocol SkontoNavigationBarBottomAdapter : InjectedViewAdapter
Protocol for injecting a custom bottom navigation bar on Skonto.
Note
Bottom navigation only.-
Set the callback for the proceed button action.
Declaration
Swift
func setProceedButtonClickedActionCallback(_ callback: @escaping () -> Void)Parameters
callbackAn action callback, which should be retained and called in proceed button action method.
-
Set the callback for the back button action.
Declaration
Swift
func setBackButtonClickedActionCallback(_ callback: @escaping () -> Void)Parameters
callbackAn action callback, which should be retained and called in back button action method.
-
Set the callback for the help button action.
Declaration
Swift
func setHelpButtonClickedActionCallback(_ callback: @escaping () -> Void)Parameters
callbackAn action callback, which should be retained and called in help button action method.
-
Update the total price on the bottom navigation bar.
Declaration
Swift
func updateTotalPrice(priceWithCurrencyCode price: String?)Parameters
priceA string which contains the currency and the price.
-
Update the Skonto percentage badge text on the bottom navigation bar.
Declaration
Swift
func updateSkontoPercentageBadge(with text: String?)Parameters
textA string which contains the value of Skonto percentage(e.g: “3 % Skonto”).
-
Update the Skonto percentage badge visibility.
Declaration
Swift
func updateSkontoPercentageBadgeVisibility(hidden: Bool)Parameters
enabledA bool value to reflect the visibility of the Skonto percentage badge.
-
Update the Skonto savings information on the bottom navigation bar. This reflects the savings after paying the invoice within the Skonto period.
Declaration
Swift
func updateSkontoSavingsInfo(with text: String?)Parameters
textA string that contains the value of the savings when paying within the Skonto period(e.g: “3,00 EUR sparen”).
-
Update the Skonto savings information visibility.
Declaration
Swift
func updateSkontoSavingsInfoVisibility(hidden: Bool)Parameters
hiddenA bool value to reflect the visibility of the savings information.
View on GitHub
SkontoNavigationBarBottomAdapter Protocol Reference