TransactionLineItem

Contains elements needed for line item data.

Description

Merchants can pass information about the individual line items that make up an order. This data is visible on the transaction details page. Up to 100 lines may be stored per transaction.

All fields must be passed, but may be left blank if not applicable.

Properties

Type

Name

Description

string

ProductRefNum

Unique ID of the product assigned by the gateway (optional).

string

SKU

A stock keeping unit (SKU) is a unique identifier for each distinct product and service that can be purchased. (required)

string

ProductName

Name of the product. (required)

string

Description

Description of product or purchase. (optional)

decimal

UnitPrice

Individual price of the unit. (required)

decimal

Qty

Total number of items. (required)

boolean

Taxable

Taxable good flag. (required)

string

CommodityCode

Numeric code used to classify the good or service. See the UNSPSC for codes (Level 3). (required)

string

UnitOfMeasure

Unit that quantity is measuring. Defaults to EA. See list of valid Unit of Measure Codes (Level 3). (required)

decimal

DiscountAmount

Amount line item was discounted (Level 3). (optional)

decimal

DiscountRate

The rate used to calculate discount (Level 3). (optional)

decimal

TaxAmount

Tax charged for this line item (Level 3). (required)

decimal

TaxRate

The tax rate used for this line item (Level 3). (optional)

The properties noted as Level 3 are only necessary if merchant is processing Level 3 data for business or corporate purchasing cards.

Examples

eBizCharge.TransactionLineItem line = new eBizCharge.TransactionLineItem();
              line.SKU = "123456";
              line.ProductRefNum = "90476";        
              line.ProductName = "QuickBook";        
              line.Description = "test";        
              line.UnitPrice = 100.25;
              line.Qty = 5;