batchTotals method
Returns the batch totals (reconciliation sums) for the period starting
at since.
This endpoint is documented in hobex's Postman collection but not in the REST specification PDF, so the response is returned as the raw decoded JSON rather than a typed model.
Implementation
Future<Map<String, dynamic>> batchTotals(DateTime since) {
final uri = _uri(
'api/terminals/$tid/batchtotal/${_isoSeconds(since)}',
null,
);
return _request('GET', uri, null);
}