listStocktakeCounts method
Zaehlungen einer Inventur, neueste zuerst, auch stornierte; mit
articleId nur die des Artikels.
Implementation
Future<StocktakeCountPage> listStocktakeCounts({
required String stocktakeId,
String? articleId,
int? limit,
String? cursor,
}) async {
const name = Aufrufe.listStocktakeCounts;
final daten = await _transport.call(
name,
_abfrage(name, {
'stocktakeId': kennung(name, 'stocktakeId', stocktakeId),
'articleId': articleId,
'limit': limit,
'cursor': cursor,
}));
return StocktakeCountPage(counts: liste(name, daten, 'counts', inventurZaehlung), nextCursor: naechsterCursor(name, daten));
}