Share via


OrderTemplate Class

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

Enables customers to create re-usable shopping wish lists. Encapsulates an order template in the Commerce order system.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class OrderTemplate _
    Inherits OrderGroup _
    Implements ISerializable
'Usage
Dim instance As OrderTemplate
[SerializableAttribute]
public class OrderTemplate : OrderGroup, ISerializable
[SerializableAttribute]
public ref class OrderTemplate : public OrderGroup, 
    ISerializable
public class OrderTemplate extends OrderGroup implements ISerializable

Remarks

An OrderTemplate object can be used to represent wish lists, recurring orders, shopping lists, or any other form of saved shopping basket. Multiple templates can exist for each user.

An order template can be later converted to a basket. Order templates are uniquely identified.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime..::.MappedStorageBase
    Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
      Microsoft.CommerceServer.Runtime.Orders..::.OrderTemplate

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OrderTemplate Members

Microsoft.CommerceServer.Runtime.Orders Namespace