LineItem Members
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Represents a line item on an order form.
The LineItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LineItem | Overloaded. Initializes a new instance of the LineItem class. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns a value indicating whether the specified line item has the same product catalog, product ID, and product variant ID properties as the current line item instance. (Overrides Object..::.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that can be used to enumerate over all the weakly-typed properties of the current line item instance. | |
GetHashCode | Returns a hash code for the current line item. (Overrides Object..::.GetHashCode()()().) | |
GetObjectData | Populates the SerializationInfo with the data needed to serialize the LineItem. | |
GetType | (Inherited from Object.) | |
LoadedFromStorage | Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.) | |
MemberwiseClone | (Inherited from Object.) | |
SavedToStorage | Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.) | |
SavingToStorage | Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.) | |
SetChildDirty | Overloaded. Called by child class instances to propagate change notifications when a change occurs to child data members that are mapped to SQL storage. | |
SetDirty | Indicates that a change has occurred to data members that are mapped to SQL Server storage. (Overrides MappedStorageBase..::.SetDirty(Object).) | |
SetParent | Called whenever the current line item is associated with a new order group. (Overrides MappedStorageBase..::.SetParent(Object).) | |
ToString | (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
AllowBackordersAndPreorders | Gets or sets a value indicating whether the customer allows back orders and pre orders. | |
BackorderQuantity | ||
Created | Gets the creation time of the line item. | |
Description | Gets or sets the description of the current line item. | |
DisplayName | Gets or sets the display name of the line item. | |
ExtendedPrice | Gets or sets the total extended price of the current line item when it was added to the order group. | |
Index | Gets the index of the current line item within the line item collection. | |
InStockQuantity | Indicates the in-stock quantity for the current line item. | |
InventoryCondition | Gets or sets the enumeration value for the Inventory condition. | |
Item | Gets or sets weakly-typed property storage for the current line item. In C#, this property is the indexer for the LineItem class. | |
ItemLevelDiscountsApplied | Gets a collection of item-level discounts applied to the current line item. | |
LastModified | Gets the time the line item was last modified in the local time of the web server. | |
LineItemDiscountAmount | Gets or sets the sum of all line item-based discount amounts for a single line item. | |
LineItemId | Gets the system-wide identifier for the current line item. | |
ListPrice | Gets or sets the current list price of the line item in the product catalog. | |
ModifiedBy | Gets or sets the identity that last modified the current line item. | |
OrderFormId | Gets the order form ID of the parent order form for the current line item instance. | |
OrderGroupId | Gets the order group identifier of the parent order group for the current line item instance. | |
OrderLevelDiscountAmount | Gets or sets the order-based discount amount for a line item. | |
OrderLevelDiscountsApplied | Gets the collection of order-level discounts applied for the current line item. | |
ParentOrderForm | Gets the order form to which the current line item belongs. | |
PlacedPrice | Gets or sets the unit price of the line item at the time it was added to an order group. | |
PreorderQuantity | Gets or sets the pre-order quantity for the current line item. | |
ProductCatalog | Gets or sets the name of the catalog the current instance is associated with. | |
ProductCategory | Gets or sets the catalog product category that the current line item instance is associated with. | |
ProductId | Gets or sets the identifier of the product associated with the current line item. | |
ProductVariantId | Gets or sets the product variant identifier for the current line item. | |
Quantity | Gets or sets the number of units associated with the current line item. This value must represent a whole number. | |
ShippingAddressId | Gets or sets the shipping address identifier associated with the current line item. | |
ShippingMethodId | Gets or sets the shipping method identifier associated with the current line item. | |
ShippingMethodName | Gets or sets the name of the shipping method associated with the current line item. | |
Status | Gets or sets the status of the current line item. | |
StorageLoadInProgress | Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.) |
Top