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 | |
---|---|---|
OrderTemplate | Overloaded. Initializes a new instance of the OrderTemplate class. |
Top
Methods
Name | Description | |
---|---|---|
CheckState | Verifies that the current order group instance has not already been disposed. (Inherited from OrderGroup.) | |
Clear | Clears the contents of the current order group instance. (Inherited from OrderGroup.) | |
ConvertToBasket | Converts the current order template to a basket. | |
Delete | Deletes the current order template instance from the database. | |
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.) | |
Finalize | (Inherited from Object.) | |
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.) | |
GetHashCode | Computes a hash code for the current instance using the values of order group ID. (Inherited from OrderGroup.) | |
GetObjectData | Populates the SerializationInfo with the data needed to serialize the OrderTemplate. (Overrides OrderGroup..::.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Object.) | |
GetXml | Gets the XML representation of the current instance. (Inherited from OrderGroup.) | |
LoadedFromStorage | Called after the entire class graph is loaded from mapped storage to allow custom post-load marshaling. (Inherited from MappedStorageBase.) | |
MemberwiseClone | (Inherited from Object.) | |
RunPipeline | Overloaded. | |
Save | Overloaded. Saves the current order template instance to the underlying database, optionally with a specified name. | |
SavedToStorage | Called after saving a mapped class instance to storage to allow custom post-save marshaling. (Inherited from MappedStorageBase.) | |
SavingToStorage | Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling. (Inherited from MappedStorageBase.) | |
SetBillingAddress | Modifies the billing address for every order form in the order group instance. (Inherited from OrderGroup.) | |
SetChildDirty | Overloaded. | |
SetDirty | Called by local class property set accessors when a change occurs to data members that are mapped to SQL storage. (Inherited from OrderGroup.) | |
SetParent | Called whenever the current order group is associated with a new order group. (Inherited from OrderGroup.) | |
SetPropertyOnOrderForms | Sets the value of the specified weakly-typed property on every order form in the current order group. (Inherited from OrderGroup.) | |
SetShippingAddress | Modifies the specified shipping address for every order form in the current order group. (Inherited from OrderGroup.) | |
ToString | (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
Addresses | Gets the collection of order addresses for the current order. (Inherited from OrderGroup.) | |
BillingCurrency | Gets or sets the billing currency. (Inherited from OrderGroup.) | |
Created | Gets the creation time of the order. (Inherited from OrderGroup.) | |
HandlingTotal | Gets the total handling charge for the current order. (Inherited from OrderGroup.) | |
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.) | |
IsEmpty | Gets a value that indicates whether the line item count is zero. (Inherited from OrderGroup.) | |
Item | Gets or sets a weakly-typed custom property name for an order instance. (Inherited from OrderGroup.) | |
LastModified | Gets the last-modified date for the current order. (Inherited from OrderGroup.) | |
LineItemCount | Gets the current count of line items. (Inherited from OrderGroup.) | |
ModifiedBy | Gets or sets the identity of the user who last modified the current order. (Inherited from OrderGroup.) | |
Name | Gets or sets the name of the order group. (Inherited from OrderGroup.) | |
OrderForms | Gets the order form collection for the current order. (Inherited from OrderGroup.) | |
OrderGroupId | Gets the order group ID. (Inherited from OrderGroup.) | |
ShippingTotal | Gets the total shipping charges associated with the current instance, after all applicable shipping discounts have been applied (Inherited from OrderGroup.) | |
SoldToAddressId | Gets or sets the shopper address ID. (Inherited from OrderGroup.) | |
SoldToId | Gets the user identifier of the shopper. (Inherited from OrderGroup.) | |
SoldToName | Gets or sets the name of the customer placing the order. (Inherited from OrderGroup.) | |
Status | Gets or sets the status of the current order group. (Inherited from OrderGroup.) | |
StatusCode | Gets a status code that indicates the derived type of the current instance. (Inherited from OrderGroup.) | |
StorageLoadInProgress | Gets a value indicating whether a storage load is in progress. (Inherited from MappedStorageBase.) | |
SubTotal | Gets the sub total amount for the current order. (Inherited from OrderGroup.) | |
TaxTotal | Gets the total tax associated with the current order. (Inherited from OrderGroup.) | |
TemplateID | Obsolete. (Obsolete) Use OrderGroupId instead. Gets a value that uniquely identifies the current order template. | |
Total | Gets the sum total of sub total, shipping, handling and taxes for the current order. (Inherited from OrderGroup.) | |
TrackingNumber | Gets or sets a string value that uniquely identifies a placed purchase order. (Inherited from OrderGroup.) |
Top