getCouponsLinked

Get a list of coupons

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

suspend fun getCouponsLinked(
    token: String,
    filters: String,
    sorts: String,
    page: Int,
    pageSize: Int
): ResponseHolder<ArrayList<ApiCustomerCouponResultView>?> {
    return CouponRequests(baseUrl, activity).getCouponsLinkedWithFilter(
        token = token,
        schemeId = schemeId,
        filters = filters,
        sorts = sorts,
        page = page,
        pageSize = pageSize
    )
}