E-Payment Integrator 2016 .NET Edition
E-Payment Integrator 2016 .NET Edition
Questions / Feedback?

GetAggregate Method

Returns an aggregate containing level 2 details for a transaction.

Syntax

[VB.NET]
Public Function GetAggregate() As String
[C#]
public string GetAggregate();

Remarks

This method returns an aggregate containing the level 2 data specified. This aggregate must be passed to the ICharge component's Level2Aggregate property in order for the level 2 data to be sent in the transaction. Each gateway has different requirements when processing level 2 transactions. Please refer to Level2 to identify which properties are required for the gateway you are implementing.

An example of how this method is used is shown below:


  Level2.PONumber = "123456789";
  Level2.ShipToZip = "27713";
  Level2.TaxAmount = "1.23";
  Level2.IsTaxExempt = false;
  ICharge.Level2Aggregate = Level2.GetAggregate();

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
E-Payment Integrator 2016 .NET Edition - Version 16.0 [Build 7354]