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

DetailRecords Property

Collection of detail records to send in the close batch transaction.

Syntax

[VB.NET]
Public Property DetailRecords As FDMSOmahaRecordTypeList

[C#]
public FDMSOmahaRecordTypeList DetailRecords {get;}

Remarks

Each FDMSOmahaRecordType object in the collection specifies an XML aggregate representing the transaction to be settled. The XML aggregate to be settled is generated from the FDMSOmahaRetail, FDMSOmahaRestaurant, FDMSOmahaECommerce, or FDMSOmahaDetailRecord component.

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

  FDMSOmahaEcommerce1.Authorize();
  FDMSOmahaBatchMgr1.DetailRecords.Add(new FDMSOmahaRecordType(FDMSOmahaEcommerce1.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 998 detail records may be settled in the above manner, just by adding a transactions to the DetailRecords property. However, it is recommended that Batch Closes be kept relatively small - around 100 transactions or so - to decrease the number of records that must be present 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 7422]