-
- All Implemented Interfaces:
-
net.gini.android.capture.view.InjectedViewAdapter
public interface DigitalInvoiceNavigationBarBottomAdapter implements InjectedViewAdapterAdapter for injecting a custom bottom navigation bar on the DigitalInvoiceFragment screen.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetOnHelpClickListener(View.OnClickListener listener)Set the click listener for the help button. abstract UnitsetOnProceedClickListener(View.OnClickListener listener)Set the click listener for the proceed button. abstract UnitsetProceedButtonEnabled(Boolean enabled)Enable or disable the proceed button. abstract UnitsetTotalPrice(String priceWithCurrencySymbol)Set the total price. UnitonSkontoPercentageBadgeUpdated(String text)Called when Skonto percentage badge text updated. UnitonSkontoPercentageBadgeVisibilityUpdate(Boolean isVisible)Called when visibility of Skonto badge should be changed. UnitonSkontoSavingsAmountUpdated(String text)Called when Skonto savings amount text updated. UnitonSkontoSavingsAmountVisibilityUpdated(Boolean isVisible)Called when Skonto savings amount visibility updated. -
-
Method Detail
-
setOnHelpClickListener
abstract Unit setOnHelpClickListener(View.OnClickListener listener)
Set the click listener for the help button.
- Parameters:
listener- the click listener for the button
-
setOnProceedClickListener
abstract Unit setOnProceedClickListener(View.OnClickListener listener)
Set the click listener for the proceed button.
- Parameters:
listener- the click listener for the button
-
setProceedButtonEnabled
abstract Unit setProceedButtonEnabled(Boolean enabled)
Enable or disable the proceed button.
- Parameters:
enabled- for enabling or disabling the button
-
setTotalPrice
abstract Unit setTotalPrice(String priceWithCurrencySymbol)
Set the total price.
- Parameters:
priceWithCurrencySymbol- price string with currency symbol
-
onSkontoPercentageBadgeUpdated
Unit onSkontoPercentageBadgeUpdated(String text)
Called when Skonto percentage badge text updated.
- Parameters:
text- formatted text.
-
onSkontoPercentageBadgeVisibilityUpdate
Unit onSkontoPercentageBadgeVisibilityUpdate(Boolean isVisible)
Called when visibility of Skonto badge should be changed.
- Parameters:
isVisible- visibility flag
-
onSkontoSavingsAmountUpdated
Unit onSkontoSavingsAmountUpdated(String text)
Called when Skonto savings amount text updated.
- Parameters:
text- formatted text.
-
onSkontoSavingsAmountVisibilityUpdated
Unit onSkontoSavingsAmountVisibilityUpdated(Boolean isVisible)
Called when Skonto savings amount visibility updated.
- Parameters:
isVisible- visibility flag
-
-
-
-