PurchaseOrder Class (BCL)

This class encapsulates a saved order in the Commerce Server order system. The user and the order ID must both be specified to create an instance of this class.

**System.Object
**   Microsoft.CommerceServer.Runtime.Orders.OrderGroup
      Microsoft.CommerceServer.Runtime.Orders.PurchaseOrder

Public Instance Methods

Method Description
Dispose (Inherited from OrderGroup) Releases resources used by this object.
GetEnumerator (Inherited from OrderGroup) Retrieves an enumerator on this collection.
RunPipeline(PipelineInfo) (Inherited from OrderGroup) Executes the stages of the specified pipeline.
RunPipeline(PipelineInfo, PipelineBase) (Inherited from OrderGroup) Executes the stages of the specified pipeline.
Save Saves the modifications to the purchase order to the underlying stores.

 

Public Instance Properties

Property Description
Addresses (Inherited from OrderGroup) Retrieves the collection of addresses associated with the OrderGroup instance.
HandlingTotal (Inherited from OrderGroup) Retrieves OrderForm.HandlingTotal properties in the OrderGroup instance.
Item(String) (Inherited from OrderGroup) Retrieves and sets the value of a top-level property on the OrderGroup object.
LineItemCount (Inherited from OrderGroup) Retrieves the count of all the line items on all the forms in the OrderGroup instance.
Name (Inherited from OrderGroup) Accesses the order group name.
OrderForms (Inherited from OrderGroup) Retrieves the order form collection associated with this OrderGroup object.
OrderGroupID (Inherited from OrderGroup) Retrieves the ID associated with the OrderGroup instance.
PurchaseOrderID Retrieves the order group ID associated with this purchase order instance. The value is returned as a GUID structure.
ShippingTotal (Inherited from OrderGroup) Retrieves the value of the ShippingTotal properties for the OrderForm objects in the OrderGroup instance.
StatusCode (Inherited from OrderGroup) Accesses the order group status code on this OrderGroup instance.
SubTotal (Inherited from OrderGroup) Retrieves the subtotal for the order group instance from the OrderForm.Subtotal properties in this OrderGroup instance.
TaxIncluded (Inherited from OrderGroup) Retrieves the order group instance total, including tax from the OrderForm.TaxIncluded properties in this OrderGroup instance.
TaxTotal (Inherited from OrderGroup) Retrieves the total amount of tax from the OrderForm.TaxTotal properties in this OrderGroup instance.
Total (Inherited from OrderGroup) Retrieves the total amount for the OrderGroup instance. This amount includes shipping, handling, and tax.
TrackingNumber Accesses the tracking number associated with this purchase order instance.
Xml (Inherited from OrderGroup) Accesses the XML format of the order group instance.

 

Protected Instance Methods

Method Description
CheckState (Inherited from OrderGroup) Verifies that the object has not already been disposed.
Dispose(Boolean) Releases the unmanaged resources used by this class and optionally releases 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.