Partager via


OrderTemplate Members

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.

The OrderTemplate type exposes the following members.

Constructors

  Name Description
Aa153707.protmethod(en-US,CS.70).gif OrderTemplate Overloaded. Initializes a new instance of the OrderTemplate class.

Top

Methods

  Name Description
Aa153707.protmethod(en-US,CS.70).gif CheckState Verifies that the current order group instance has not already been disposed. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif Clear Clears the contents of the current order group instance. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif ConvertToBasket Converts the current order template to a basket.
Aa153707.pubmethod(en-US,CS.70).gif Delete Deletes the current order template instance from the database.
Aa153707.pubmethod(en-US,CS.70).gif Equals Returns a value that determines if the order group ID of the specified order group is equal to the order group ID of the current instance. (Inherited from OrderGroup.)
Aa153707.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa153707.pubmethod(en-US,CS.70).gif GetEnumerator Returns an enumerator that can be used to enumerate over all of the strongly-typed and non-strongly-typed properties exposed by the current order group instance. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif GetHashCode Computes a hash code for the current instance using the values of order group ID. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the OrderTemplate. (Overrides OrderGroup..::.GetObjectData(SerializationInfo, StreamingContext).)
Aa153707.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa153707.pubmethod(en-US,CS.70).gif GetXml Gets the XML representation of the current instance. (Inherited from OrderGroup.)
Aa153707.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.)
Aa153707.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa153707.pubmethod(en-US,CS.70).gif RunPipeline Overloaded.
Aa153707.pubmethod(en-US,CS.70).gif Save Overloaded. Saves the current order template instance to the underlying database, optionally with a specified name.
Aa153707.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.)
Aa153707.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.)
Aa153707.pubmethod(en-US,CS.70).gif SetBillingAddress Modifies the billing address for every order form in the order group instance. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif SetChildDirty Overloaded.
Aa153707.pubmethod(en-US,CS.70).gif SetDirty Called by local class property set accessors when a change occurs to data members that are mapped to SQL storage. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif SetParent Called whenever the current order group is associated with a new order group. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif SetPropertyOnOrderForms Sets the value of the specified weakly-typed property on every order form in the current order group. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif SetShippingAddress Modifies the specified shipping address for every order form in the current order group. (Inherited from OrderGroup.)
Aa153707.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa153707.pubproperty(en-US,CS.70).gif Addresses Gets the collection of order addresses for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif BillingCurrency Gets or sets the billing currency. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif Created Gets the creation time of the order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif HandlingTotal Gets the total handling charge for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif IsDirty Gets or sets a value indicating whether this instance of OrderGroup has been modified since it was loaded from the database. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif IsEmpty Gets a value that indicates whether the line item count is zero. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif Item Gets or sets a weakly-typed custom property name for an order instance. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif LastModified Gets the last-modified date for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif LineItemCount Gets the current count of line items. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif ModifiedBy Gets or sets the identity of the user who last modified the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif Name Gets or sets the name of the order group. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif OrderForms Gets the order form collection for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif OrderGroupId Gets the order group ID. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif ShippingTotal Gets the total shipping charges associated with the current instance, after all applicable shipping discounts have been applied (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif SoldToAddressId Gets or sets the shopper address ID. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif SoldToId Gets the user identifier of the shopper. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif SoldToName Gets or sets the name of the customer placing the order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif Status Gets or sets the status of the current order group. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif StatusCode Gets a status code that indicates the derived type of the current instance. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif StorageLoadInProgress Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.)
Aa153707.pubproperty(en-US,CS.70).gif SubTotal Gets the sub total amount for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif TaxTotal Gets the total tax associated with the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif TemplateID Obsolete. (Obsolete) Use OrderGroupId instead. Gets a value that uniquely identifies the current order template.
Aa153707.pubproperty(en-US,CS.70).gif Total Gets the sum total of sub total, shipping, handling and taxes for the current order. (Inherited from OrderGroup.)
Aa153707.pubproperty(en-US,CS.70).gif TrackingNumber Gets or sets a string value that uniquely identifies a placed purchase order. (Inherited from OrderGroup.)

Top

See Also

Reference

OrderTemplate Class

Microsoft.CommerceServer.Runtime.Orders Namespace