LineItems Property
A collection of line items to be included in the Level 3 addendum.
Syntax
public EPLineItemList getLineItems(); public void setLineItems( lineItems);
Remarks
This property contains a collection of line items to be included in the Level 3 addendum.
Please refer to Level3 to identify which LineItems are required for the gateway you are implementing.
An example of setting two line items for a Visa Corporate purchasing card follows:
Level3.LineItems.Add(new EPLineItem()); Level3.LineItems[0].CommodityCode = "4900"; // Books and printed materials Level3.LineItems[0].Description = "Reference manual"; Level3.LineItems[0].DiscountAmount = ""; // No discount Level3.LineItems[0].ProductCode = "ISBN123456"; Level3.LineItems[0].Quantity = "2"; Level3.LineItems[0].TaxAmount = "60"; Level3.LineItems[0].TaxRate = "600"; // 6.00 percent Level3.LineItems[0].Total = "1060"; Level3.LineItems[0].UnitCost = "500"; Level3.LineItems[0].Units = "each"; Level3.LineItems.Add(new EPLineItem()); Level3.LineItems[1].CommodityCode = "4900"; Level3.LineItems[1].Description = "Quick Start manual"; Level3.LineItems[1].DiscountAmount = ""; Level3.LineItems[1].ProductCode = "ISBN654321"; Level3.LineItems[1].Quantity = "1"; Level3.LineItems[1].TaxAmount = "60"; Level3.LineItems[1].TaxRate = "600"; // 6.00 percent Level3.LineItems[1].Total = "1060"; Level3.LineItems[1].UnitCost = "1000"; Level3.LineItems[1].Units = "each";