ZyncProductManager

Manager class for handling product operations. Provides offline-first product management with automatic sync capabilities.

Functions

Link copied to clipboard
suspend fun getProductCategories(page: Int, pageSize: Int, sortAndFilter: ZyncProductCategoriesSortAndFilter = ZyncProductCategoriesSortAndFilter.default): GetProductCategoriesResult

Fetch paginated list of product categories.

Link copied to clipboard
suspend fun getProductDetail(productUid: String, fetchType: ZyncFetchType = ZyncFetchType.NONE): ProductDetailResult

Get detailed information for a specific product by its UID.

Link copied to clipboard
suspend fun getProducts(sortAndFilter: ZyncProductSortAndFilter, page: Int, pageSize: Int): GetProductsResult

Fetch paginated list of products with sorting and filtering.

Link copied to clipboard

Observe changes to a specific product in real-time.