get Payment Fragment With Document
public final PaymentFragment getPaymentFragmentWithDocument(String documentId, PaymentFlowConfiguration configuration)
Creates an instance of the PaymentFragment with the given documentId and configuration.
Parameters
document Id
The document id for which the extractions should be loaded
configuration
The configuration for the PaymentFragment