The Settlement Batch Summary displays the total sales and credits for each batch for a particular date. The transactions can be grouped by a single custom field's values.

Java
Result<SettlementBatchSummary> result = gateway
  .settlementBatchSummary()
  .generate(Calendar.getInstance(), "custom_field_1");

if (result.isSuccess()) {
  List<Map<String,String>> records = result.getTarget().getRecords();
}

Arguments

  1. The date on which the batches were settled.
  2. Optional The custom field you wish to aggregate the results by.

See also