LineItem Class (BCL)
Abstracts a line item on an order form. A valid line item must have valid values for the ProductCatalog, ProductID, and Quantity properties.
System.Object
**** Microsoft.CommerceServer.Runtime.Orders.LineItem
Public Instance Constructor
Constructor | Description |
---|---|
LineItem Constructor | Creates a new instance of the LineItem class. |
LineItem Constructor(String, String, String, Int32) | Creates a new instance of the LineItem class with the specified parameters. |
Public Instance Methods
Method | Description |
---|---|
Dispose | Release resources used by this object. |
GetEnumerator | Retrieves an enumerator on this collection. |
GetHashCode | Overrides the Object.GetHashCode implementation. |
Public Instance Properties
Property | Description |
---|---|
Index | Retrieves the index of this item in the owning LineItemCollection collection. |
Item(String) | Accesses the specified property on the line item. |
ParentOrderForm | Retrieves the order form owning this line item. |
ProductCatalog | Accesses the value of the product_catalog field on the line item. |
ProductCategory | Accesses the value of the product_category field on the line item. |
ProductID | Accesses the value of the product_id field on the line item. |
ProductVariantID | Accesses the value of the product_variant_id field on the line item. |
Quantity | Accesses the value of the quantity field on the line item. |
ShippingAddress | Accesses the value of the shipping_address_id field on the line item. |
ShippingMethodID | Accesses the value of the shipping_method_id field on the line item. |
ShippingMethodName | Accesses the value of the shipping_method_name field on the line item. |
Protected Instance Methods
Method | Description |
---|---|
Dispose(Boolean) | Releases the unmanaged resources used by this class and optionally releases the managed resources. |
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.