fromDataItem

fun fromDataItem(dataItem: DataItem, documentTypeRepository: DocumentTypeRepository? = null): PresentmentEventDocument

Creates a PresentmentEventDocument previously serialized with PresentmentEventDocument.toDataItem.

Return

a new PresentmentEventDocument.

Parameters

dataItem
documentTypeRepository

if not null, will be used to look up a DocumentAttribute for the claim.