4D Payments SDK 2016 .NET Edition

Questions / Feedback?

LineItems Property

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

Syntax

public TSYSLineItemList LineItems { get; }
Public Property LineItems As TSYSLineItemList

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"

 
 
Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7809]