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 FDMSRecordTypeList

[C#]
public FDMSRecordTypeList DetailRecords {get;}

Remarks

Each FDMSRecordType object in the collection specifies an XML aggregate representing the transaction to be settled. The FDMSRecordType may also specify an addenda aggregate for sending Level 2 or Level 2 and Level 3 data. The XML aggregate to be settled is generated from the FDMSRetail, FDMSECommerce, or FDMSDetailRecord component.

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

  FDMSEcommerce1.Authorize();
  FDMSSettle.DetailRecords.Add(new FDMSRecordType(FDMSEcommerce1.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.

Up to 9900 detail records may be settled in the above manner, just by adding a transactions to the DetailRecords property. However, it is recommended that Batch Settlements be kept relatively small - around 350 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 7502]