Partager via


OrderContext Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The starting point for all orders related operations in the order capture system. This class cannot be inherited.

The OrderContext type exposes the following members.

Methods

  Name Description
Aa153591.pubmethod(en-US,CS.70).gifAa153591.static(en-US,CS.70).gif Create Overloaded. Creates or gets the instance of the OrderContext class for the specified site or the specified connection strings.
Aa153591.pubmethod(en-US,CS.70).gif CreateOrderTemplate Creates and returns a new instance of the OrderTemplate class using the specified customer identifier.
Aa153591.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa153591.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa153591.pubmethod(en-US,CS.70).gif GetAllowedStatus Returns a dataset containing tables which define acceptable status values and acceptable applications to update PurchaseOrder objects.
Aa153591.pubmethod(en-US,CS.70).gif GetBasket Overloaded. Returns an existing basket using the specified criteria, or creates a new one if none already exist.
Aa153591.pubmethod(en-US,CS.70).gif GetBasketsForUser Returns the collection of Basket objects associated with the specified customer.
Aa153591.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa153591.pubmethod(en-US,CS.70).gif GetOrderTemplate Overloaded. Returns an existing order template using the specified criteria, or creates a new one if none already exist.
Aa153591.pubmethod(en-US,CS.70).gif GetOrderTemplatesForUser Returns the collection of OrderTemplate objects associated with the specified customer.
Aa153591.pubmethod(en-US,CS.70).gif GetPaymentMethods Overloaded. Returns a list of all configured payment methods.
Aa153591.pubmethod(en-US,CS.70).gif GetPurchaseOrder Overloaded. Returns an existing purchase order using the specified customer identifier and purchase order identifier or tracking number.
Aa153591.pubmethod(en-US,CS.70).gif GetPurchaseOrdersForUser Overloaded. Returns the collection of PurchaseOrder objects associated with the specified customer, and with optional time constraints.
Aa153591.pubmethod(en-US,CS.70).gif GetRegionCodes Returns the list of configured region codes.
Aa153591.pubmethod(en-US,CS.70).gif GetShippingMethods Overloaded. Returns the list of configured shipping methods.
Aa153591.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa153591.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa153591.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa153591.pubproperty(en-US,CS.70).gifAa153591.static(en-US,CS.70).gif Current Gets the current instance of the OrderContext.

Top

See Also

Reference

OrderContext Class

Microsoft.CommerceServer.Runtime.Orders Namespace