getPaymentReviewFragment

public final ReviewFragment getPaymentReviewFragment(String documentId, ReviewConfiguration configuration)

Loads the extractions for the given document id and creates an instance of the ReviewFragment with the given configuration.

You should create and show the ReviewFragment in the Listener.onPayInvoiceClicked method.

Parameters

documentId

The document id for which the extractions should be loaded

configuration

The configuration for the ReviewFragment

Throws

If no payment provider app has been selected