Package 

Interface DigitalInvoiceFragmentListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onEditLineItem(SelectableLineItem selectableLineItem) Called when the user tapped on a line item to edit it.
      abstract Unit onAddLineItem(SelectableLineItem selectableLineItem) Called when the user tapped on add button to add new line item.
      abstract Unit onPayInvoice(Map<String, GiniCaptureSpecificExtraction> specificExtractions, Map<String, GiniCaptureCompoundExtraction> compoundExtractions) Called when the user presses the buy button.
      abstract Unit showOnboarding() Called before displaying DigitalInvoiceFragment so the user can see the onboarding view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onPayInvoice

         abstract Unit onPayInvoice(Map<String, GiniCaptureSpecificExtraction> specificExtractions, Map<String, GiniCaptureCompoundExtraction> compoundExtractions)

        Called when the user presses the buy button.

        The extractions were updated to contain the user's modifications:

        • "amountToPay" was updated to contain the sum of the selected line items' prices,

        • the line items were updated according to the user's modifications.

        Parameters:
        specificExtractions -
        • extractions like the "amountToPay", "iban", etc.

        compoundExtractions -
        • extractions like the "lineItems"