createInstance

final DigitalInvoiceFragment createInstance(Map<String, GiniCaptureSpecificExtraction> extractions, Map<String, GiniCaptureCompoundExtraction> compoundExtractions, List<GiniCaptureReturnReason> returnReasons)

Factory method for creating a new instance of the DigitalInvoiceFragment using the provided extractions.

Note: Always use this method to create new instances. The extractions are required and passed as fragment arguments to the instance.

Parameters

extractions

a map of GiniCaptureSpecificExtractions

compoundExtractions

a map of GiniCaptureCompoundExtractions