getDocumentID abstract method

ID? getDocumentID(
  1. Mapping doc
)

Resolves the entity ID associated with a raw Document map.

Extracts the ID of the entity that owns the document from the raw Document data, enabling association of documents with their respective accounts.

@param doc - Raw Document map containing entity ID metadata

@return Resolved entity ID (null if ID cannot be extracted)

Implementation

ID? getDocumentID(Mapping doc);