AddLineItem Method

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Adds a line item to the current order

Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0

Syntax

C#
public IGatewayRequest AddLineItem(
	string itemID,
	string name,
	string description,
	int quantity,
	decimal price,
	bool taxable
)
Visual Basic
Public Function AddLineItem ( _
	itemID As String, _
	name As String, _
	description As String, _
	quantity As Integer, _
	price As Decimal, _
	taxable As Boolean _
) As IGatewayRequest
Visual C++
public:
virtual IGatewayRequest^ AddLineItem(
	String^ itemID, 
	String^ name, 
	String^ description, 
	int quantity, 
	Decimal price, 
	bool taxable
) sealed

Parameters

itemID
Type: System..::..String
name
Type: System..::..String
description
Type: System..::..String
quantity
Type: System..::..Int32
price
Type: System..::..Decimal
taxable
Type: System..::..Boolean

Return Value

Implements

IGatewayRequest..::..AddLineItem(String, String, String, Int32, Decimal, Boolean)

See Also