Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

LineItems Property

A collection of line items to be included in the Level III addendum.

Syntax

[VB.NET]
Public Property LineItems As TSYSLineItemList

[C#]
public TSYSLineItemList LineItems {get;}

Remarks

This property contains a collection of line items to be included in the Level III addendum.

This property is used for both Visa and MasterCard Corporate Purchasing Cards. However, the line item fields that each card supports are different.

List of valid Line Item properties for Visa:

List of valid Line Item properties for Mastercard:

An example of setting two line items for a Visa Corporate purchasing card follows:


  TSYSLevel3.LineItems.Add(new TSYSLineItem());  
  TSYSLevel3.LineItems[0].CommodityCode = "fake"
  TSYSLevel3.LineItems[0].Description = "hardware"
  TSYSLevel3.LineItems[0].ProductCode = "productCode123"
  TSYSLevel3.LineItems[0].Quantity = 1
  TSYSLevel3.LineItems[0].Units = ""
  TSYSLevel3.LineItems[0].UnitCost = "33"
  TSYSLevel3.LineItems[0].TaxAmount = "0"
  TSYSLevel3.LineItems[0].TaxRate = "0"
  TSYSLevel3.LineItems[0].DiscountAmount = "0"
  TSYSLevel3.LineItems[0].Total = "33"
  
  TSYSLevel3.LineItems.Add(new TSYSLineItem());
  TSYSLevel3.LineItems[1].CommodityCode = "fake"
  TSYSLevel3.LineItems[1].Description = "hardware"
  TSYSLevel3.LineItems[1].ProductCode = "productCode124"
  TSYSLevel3.LineItems[1].Quantity = 1
  TSYSLevel3.LineItems[1].Units = ""
  TSYSLevel3.LineItems[1].UnitCost = "20"
  TSYSLevel3.LineItems[1].TaxAmount = "0"
  TSYSLevel3.LineItems[1].TaxRate = "0"
  TSYSLevel3.LineItems[1].DiscountAmount = "0"
  TSYSLevel3.LineItems[1].Total = "20"

Default Value

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0