getContractDetail

suspend fun getContractDetail(contractUid: String, fetchType: ZyncFetchType = ZyncFetchType.NONE): ContractResult

Get detailed information for a specific contract by its UID.

This method implements an offline-first approach:

  1. Returns cached contract data immediately if available

  2. Background sync will update the data automatically

Return

ContractResult containing contract detail with complete information, or error

Parameters

contractUid

The unique identifier of the contract

fetchType

The fetch strategy to use (NONE, MARK_STALE, or FORCE_REFRESH)