Package net.gini.pay.bank.capture.digitalinvoice

Contains the Activity and Fragments used for the return assistant's Digital Invoice Screen.

Screen API

The net.gini.pay.bank.capture.digitalinvoice.DigitalInvoiceActivity is launched by the net.gini.pay.bank.capture.analysis.AnalysisActivity when line item extractions are available. It displays the line items extracted from an invoice document and their total price. The user can deselect line items which should not be paid for and also edit the quantity, price or description of each line item. The total price is always updated to include only the selected line items.

Component API

To use the Component API you have to include the net.gini.pay.bank.capture.digitalinvoice.DigitalInvoiceFragment in an Activity in your app (a dedicated Activity is recommended). To receive events from the Fragment your Activity must implement the net.gini.pay.bank.capture.digitalinvoice.DigitalInvoiceFragmentListener interface.

Types

DigitalInvoiceAddon
Link copied to clipboard
public final class DigitalInvoiceAddon
DigitalInvoiceException
Link copied to clipboard
public class DigitalInvoiceException extends Exception
Exceptions related to the digital invoice used in the return assistant feature.
DigitalInvoiceFragment
Link copied to clipboard
public class DigitalInvoiceFragment extends Fragment implements DigitalInvoiceScreenContract.View, DigitalInvoiceFragmentInterface, LineItemsAdapterListener
When you use the Component API the DigitalInvoiceFragment displays the line items extracted from an invoice document and their total price.
DigitalInvoiceFragmentInterface
Link copied to clipboard
public interface DigitalInvoiceFragmentInterface
Public API of the DigitalInvoiceFragment.
DigitalInvoiceFragmentListener
Link copied to clipboard
public interface DigitalInvoiceFragmentListener
Interface used by the DigitalInvoiceFragment to dispatch events to the hosting Activity.
DigitalInvoiceKt
Link copied to clipboard
public final class DigitalInvoiceKt
LineItem
Link copied to clipboard
public final class LineItem implements Parcelable
The LineItem class contains information from a line item extraction.
LineItemsValidator
Link copied to clipboard
public final class LineItemsValidator
Use this class with the Component API if you are using the return assistant.
SelectableLineItem
Link copied to clipboard
public final class SelectableLineItem implements Parcelable
The SelectableLineItem wrapps a LineItem and adds the possibility to select/deselect it and also add a reason why it's deselected.