listInvoices method

Future<InvoicePage> listInvoices({
  1. String? from,
  2. String? to,
  3. String? status,
  4. String? docType,
  5. String? customerId,
  6. int? limit,
  7. String? cursor,
})

Implementation

Future<InvoicePage> listInvoices({
  String? from,
  String? to,
  String? status,
  String? docType,
  String? customerId,
  int? limit,
  String? cursor,
}) async {
  const name = Aufrufe.listInvoices;
  final daten = await _transport.call(name, {
    'from': ?from,
    'to': ?to,
    'status': ?status,
    'docType': ?docType,
    'customerId': ?customerId,
    'limit': ?limit,
    'cursor': ?cursor,
  });
  return _lesen(name, () => InvoicePage.fromJson(daten));
}