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 PTechRecordTypeList

[C#]
public PTechRecordTypeList DetailRecords {get;}

Remarks

Each PTechRecordType object in the collection specifies an XML aggregate representing the transaction to be settled. The PTechRecordType 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 PTechCharge, PTechECommerce, PTechRetail, PTechHotel, PTechHealthCare, or PTechDetailRecord component.

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

  PTechEcommerce1.Authorize();
  PTechSettle.DetailRecords.Add(new PTechRecordType(PTechEcommerce1.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 1000 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 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]