4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

DetailRecords Property

Collection of detail records to send in the settlement.

Syntax

[VB.NET]
Public Property DetailRecords As TSYSRecordTypeList

[C#]
public TSYSRecordTypeList DetailRecords {get;}

Remarks

Each TSYSRecordType object in the collection specifies an xml aggregate representing the transaction to be settled. The TSYSRecordType may also specify an addenda aggregate for sending Level2 or Level2 and Level3 data. The XML aggregate to be settled is generated from the TSYSRetail, TSYSECommerce, TSYSGiftCard, TSYSBenefit, or TSYSDetailRecord component.

The following example shows how to add a detail record to the collection.

  TSYSEcommerce1.Authorize();
  TSYSSettle.DetailRecords.Add(new TSYSRecordType(TSYSEcommerce1.GetDetailAggregate()));

Xml aggregates are used instead of directly passing Objects because it is easy to store XML aggregates in a database after authorization, and then retrieve them for settlement at the end of the business day.

Thousands of detail records may be settled in the above manner, just by adding transactions to the DetailRecords collection. However it is recommended that Batch Settlements be kept relatively small - around 100 transactions or so - to decrease the number of records that must be resent in the event of an error.

Default Value

 
 
Copyright (c) 2020 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7311]