getProductDetail

suspend fun getProductDetail(productUid: String, fetchType: ZyncFetchType = ZyncFetchType.NONE): ProductDetailResult

Get detailed information for a specific product by its UID.

This method implements an offline-first approach:

  1. Returns cached product data immediately if available

  2. Background sync will update the data automatically

Return

ProductDetailResult containing product detail with complete information, or error

Parameters

productUid

The unique identifier of the product

fetchType

Specifies the data freshness strategy (NONE, MARK_STALE, FORCE_REFRESH)