IkasCustomerReviewList
Refer to the IkasCustomerReview reference.
limitnumberPage size limit for pagination.
pagenumberCurrently displayed page number.
countnumberTotal data count.
pageCountnumberTotal page count.
isInitializedbooleantrue if the list is initalized and first page of data is fetched, false otherwise.
hasPrevbooleantrue if there is a previous page available for pagination, false otherwise.
hasNextbooleantrue if there is a next page available for pagination, false otherwise.
isLoadingbooleangetPrevfunctionFunction to get the previous page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getPrev(): Promise<void>
getNextfunctionFunction to get the next page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getNext(): Promise<void>
getPagefunctionFunction to get page data for the specified page. Generally being used with page based paginations, rather than infinite scrolls. This function updates the data array.
function getPage(page: number): Promise<void>
page
:
number
The requested page number.
toJSONfunctionfunction toJSON(): { data: IkasCustomerReview[]; limit: number; page: number; count: number; initialized: boolean; minPage: number | null | undefined; productId: string;}