getPaymentFragmentWithDocument

Creates an instance of the PaymentFragment with the given documentId and configuration.

Parameters

documentId

The document id for which the extractions should be loaded

configuration

The configuration for the PaymentFragment