Success

@ObjCName(name = "success")
data class Success(val data: List<ZyncProduct>, val currentPage: Int, val totalPages: Int, val totalRecords: Int, val isPartialData: Boolean) : GetProductsResult

Successful products result containing the products list with pagination metadata.

Parameters

data

The products list

currentPage

Current page number

totalPages

Total number of pages available

totalRecords

Total number of records across all pages

isPartialData

Flag indicating if the data is from cache or from server

Constructors

Link copied to clipboard
constructor(data: List<ZyncProduct>, currentPage: Int, totalPages: Int, totalRecords: Int, isPartialData: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard