Partilhar via


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
Aa153549.pubmethod(en-US,CS.70).gif LineItem Overloaded. Initializes a new instance of the LineItem class.

Top

Methods

  Name Description
Aa153549.pubmethod(en-US,CS.70).gif 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).)
Aa153549.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa153549.pubmethod(en-US,CS.70).gif GetEnumerator Returns an enumerator that can be used to enumerate over all the weakly-typed properties of the current line item instance.
Aa153549.pubmethod(en-US,CS.70).gif GetHashCode Returns a hash code for the current line item. (Overrides Object..::.GetHashCode()()().)
Aa153549.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the LineItem.
Aa153549.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa153549.pubmethod(en-US,CS.70).gif LoadedFromStorage Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.)
Aa153549.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa153549.pubmethod(en-US,CS.70).gif SavedToStorage Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.)
Aa153549.pubmethod(en-US,CS.70).gif SavingToStorage Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.)
Aa153549.pubmethod(en-US,CS.70).gif 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.
Aa153549.pubmethod(en-US,CS.70).gif SetDirty Indicates that a change has occurred to data members that are mapped to SQL Server storage. (Overrides MappedStorageBase..::.SetDirty(Object).)
Aa153549.pubmethod(en-US,CS.70).gif SetParent Called whenever the current line item is associated with a new order group. (Overrides MappedStorageBase..::.SetParent(Object).)
Aa153549.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa153549.pubproperty(en-US,CS.70).gif AllowBackordersAndPreorders Gets or sets a value indicating whether the customer allows back orders and pre orders.
Aa153549.pubproperty(en-US,CS.70).gif BackorderQuantity
Aa153549.pubproperty(en-US,CS.70).gif Created Gets the creation time of the line item.
Aa153549.pubproperty(en-US,CS.70).gif Description Gets or sets the description of the current line item.
Aa153549.pubproperty(en-US,CS.70).gif DisplayName Gets or sets the display name of the line item.
Aa153549.pubproperty(en-US,CS.70).gif ExtendedPrice Gets or sets the total extended price of the current line item when it was added to the order group.
Aa153549.pubproperty(en-US,CS.70).gif Index Gets the index of the current line item within the line item collection.
Aa153549.pubproperty(en-US,CS.70).gif InStockQuantity Indicates the in-stock quantity for the current line item.
Aa153549.pubproperty(en-US,CS.70).gif InventoryCondition Gets or sets the enumeration value for the Inventory condition.
Aa153549.pubproperty(en-US,CS.70).gif Item Gets or sets weakly-typed property storage for the current line item. In C#, this property is the indexer for the LineItem class.
Aa153549.pubproperty(en-US,CS.70).gif ItemLevelDiscountsApplied Gets a collection of item-level discounts applied to the current line item.
Aa153549.pubproperty(en-US,CS.70).gif LastModified Gets the time the line item was last modified in the local time of the web server.
Aa153549.pubproperty(en-US,CS.70).gif LineItemDiscountAmount Gets or sets the sum of all line item-based discount amounts for a single line item.
Aa153549.pubproperty(en-US,CS.70).gif LineItemId Gets the system-wide identifier for the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ListPrice Gets or sets the current list price of the line item in the product catalog.
Aa153549.pubproperty(en-US,CS.70).gif ModifiedBy Gets or sets the identity that last modified the current line item.
Aa153549.pubproperty(en-US,CS.70).gif OrderFormId Gets the order form ID of the parent order form for the current line item instance.
Aa153549.pubproperty(en-US,CS.70).gif OrderGroupId Gets the order group identifier of the parent order group for the current line item instance.
Aa153549.pubproperty(en-US,CS.70).gif OrderLevelDiscountAmount Gets or sets the order-based discount amount for a line item.
Aa153549.pubproperty(en-US,CS.70).gif OrderLevelDiscountsApplied Gets the collection of order-level discounts applied for the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ParentOrderForm Gets the order form to which the current line item belongs.
Aa153549.pubproperty(en-US,CS.70).gif PlacedPrice Gets or sets the unit price of the line item at the time it was added to an order group.
Aa153549.pubproperty(en-US,CS.70).gif PreorderQuantity Gets or sets the pre-order quantity for the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ProductCatalog Gets or sets the name of the catalog the current instance is associated with.
Aa153549.pubproperty(en-US,CS.70).gif ProductCategory Gets or sets the catalog product category that the current line item instance is associated with.
Aa153549.pubproperty(en-US,CS.70).gif ProductId Gets or sets the identifier of the product associated with the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ProductVariantId Gets or sets the product variant identifier for the current line item.
Aa153549.pubproperty(en-US,CS.70).gif Quantity Gets or sets the number of units associated with the current line item. This value must represent a whole number.
Aa153549.pubproperty(en-US,CS.70).gif ShippingAddressId Gets or sets the shipping address identifier associated with the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ShippingMethodId Gets or sets the shipping method identifier associated with the current line item.
Aa153549.pubproperty(en-US,CS.70).gif ShippingMethodName Gets or sets the name of the shipping method associated with the current line item.
Aa153549.pubproperty(en-US,CS.70).gif Status Gets or sets the status of the current line item.
Aa153549.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)

Top

See Also

Reference

LineItem Class

Microsoft.CommerceServer.Runtime.Orders Namespace