E-Payment Integrator 2020 Kotlin Edition

Questions / Feedback?

GetAggregate Method

Returns an aggregate containing level 2 details for a transaction.

Syntax

public fun getAggregate(): String?

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) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Kotlin Edition - Version 20.0 [Build 7941]