closeBatch method

Future<Map<String, dynamic>> closeBatch(
  1. DateTime since
)

Closes the batch (end-of-day settlement) for the period starting at since. Returned as the raw decoded JSON (shape not in the REST PDF).

Implementation

Future<Map<String, dynamic>> closeBatch(DateTime since) {
  final uri = _uri(
    'api/terminals/$tid/closebatch/${_isoSeconds(since)}',
    null,
  );
  return _request('GET', uri, null);
}