DigitalInvoiceFragmentListener

public interface DigitalInvoiceFragmentListener

Interface used by the DigitalInvoiceFragment to dispatch events to the hosting Activity.

Functions

onAddLineItem
Link copied to clipboard
abstract Unit onAddLineItem(SelectableLineItem selectableLineItem)
Called when the user tapped on add button to add new line item.
onEditLineItem
Link copied to clipboard
abstract Unit onEditLineItem(SelectableLineItem selectableLineItem)
Called when the user tapped on a line item to edit it.
onPayInvoice
Link copied to clipboard
abstract Unit onPayInvoice(Map<String, GiniCaptureSpecificExtraction> specificExtractions, Map<String, GiniCaptureCompoundExtraction> compoundExtractions)
Called when the user presses the buy button.
showOnboarding
Link copied to clipboard
abstract Unit showOnboarding()
Called before displaying DigitalInvoiceFragment so the user can see the onboarding view.