def get_next_offset(offset, limit, size):
    """
    Calculates the next offset value provided the current one as well as the page limit and the
    total size of the items
    :param offset:
    :param limit:
    :param size:
    :return:
    """
    next_offset = offset + limit
    if next_offset >= size or size <= limit :
        return

    return next_offset