getFranchiseWithFilter

Get a list of franchises

This function returns a franchises list. The data can be filtered, sorted and paginated.

suspend fun getFranchiseWithFilter(
    token: String,
    filters: String,
    sorts: String,
    page: Int,
    pageSize: Int
): ResponseHolder<ArrayList<ApiFranchiseResultView>?> {
    return FranchiseRequests(baseUrl, activity).getFranchiseWithFilter(
        token = token,
        schemeId = schemeId,
        filters = filters,
        sorts = sorts,
        page = page,
        pageSize = pageSize
    )
}