DigitalInvoiceNavigationBarBottomAdapter

public protocol DigitalInvoiceNavigationBarBottomAdapter : InjectedViewAdapter

Protocol for injecting a custom bottom navigation bar on the overview screen for digital invoices.

Note

Bottom navigation only.
  • Set the callback for the proceed button action.

    Declaration

    Swift

    func setProceedButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in proceed button action method

  • Set the callback for the help button action.

    Declaration

    Swift

    func setHelpButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in help button action method

  • Set the total price on the bottom navigation bar. Called when the total price changes

    Declaration

    Swift

    func updateTotalPrice(priceWithCurrencySymbol price: String?)

    Parameters

    price

    A string which contains the currency and the price

  • Set the proceed button state. Called when state of the button should be changed

    Declaration

    Swift

    func updateProceedButtonState(enabled: Bool)

    Parameters

    enabled

    A bool value to reflect the state of the button