LineItem

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

TypeNameDescription
stringProductRefNumUnique ID of the product assigned by the gateway. (required)
stringSKUA stock keeping unit (SKU) is a unique identifier for each distinct product and service that can be purchased. (optional)
stringProductNameName of the product. (optional)
stringDescriptionDescription of product or purchase. (optional)
stringUnitPriceIndividual price of the unit. (required)
stringQtyTotal number of items. (required)
booleanTaxableTaxable good flag. (required)
stringCommodityCodeNumeric code used to classify the good or service. See the UNSPSC for codes (Level 3).
stringUnitOfMeasureUnit that quantity is measuring. Defaults to EA. See list of valid Unit of Measure Codes (Level 3).
stringDiscountAmountAmount line item was discounted (Level 3). (optional)
stringDiscountRateThe rate used to calculate discount (Level 3). (optional)
stringTaxAmountTax charged for this line item (Level 3).
stringTaxRateThe tax rate used for this line item (Level 3).

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

Examples

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