'Provide a view for a list of transfers.'

def _list_view(self, func, request, transfers, origin_transfer_count):

    transfers_list = [func(request, transfer)['transfer'] for transfer in transfers]
    transfers_links = self._get_collection_links(request, transfers, self._collection_name, origin_transfer_count)
    transfers_dict = dict(transfers=transfers_list)
    if transfers_links:
        transfers_dict['transfers_links'] = transfers_links
    return transfers_dict
