Package 

Interface DigitalInvoiceFragmentListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onPayInvoice(Map<String, GiniCaptureSpecificExtraction> specificExtractions, Map<String, GiniCaptureCompoundExtraction> compoundExtractions) Called when the user presses the buy button.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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"