OrderForm Class (BCL)

Encapsulates an order form instance.

System.Object
**** Microsoft.CommerceServer.Runtime.Orders.OrderForm

Public Instance Constructor

Constructor Description
OrderForm Constructor Creates a new instance of the OrderForm class.
OrderForm Constructor(String) Creates a new instance of the OrderForm class with the specified attributes.
OrderForm Constructor (IOrderForm) Creates a new instance of the OrderForm class with the specified attributes.
OrderForm Constructor (IOrderForm, String) Creates a new instance of the OrderForm class with the specified attributes.

 

Public Instance Methods

Method Description
Clear Clears all the line items associated with the order form.
Dispose Releases resources used by this object.
GetEnumerator Retrieves an enumerator on this collection from the underlying OrderForm COM Interop object.
SetShippingAddress(String) Sets the specified shipping address on the order form.

 

Public Instance Properties

Property Description
BillingAddress Retrieves or set the billing_address_id on the order form.
Dictionary Retrieves the underlying IDictionary interop object.
DiscountsApplied Gets a collection of the discounts applied for this order form.
HandlingTotal Retrieves the value of the _cy_handling_total key on the order group instance.
Item(String) Retrieves or set the value of the specified order form property.
LineItems Retrieves the line items collection associated with the order form.
Name Retrieves the order form name.
ParentOrderGroup Retrieves the order group owning this order form.
ShippingTotal Retrieves the value of the _cy_shipping_total key from the underlying OrderForm COM interop object.
SubTotal Retrieves the value of the _cy_oadjust_subtotal key on the order group instance.
TaxIncluded Retrieves the value of the _cy_tax_included key on the order group instance.
TaxTotal Retrieves the value of the _cy_tax_total key on the order group instance.
Total Retrieves the value of the _cy_total_total key on the order group instance.

 

Protected Instance Methods

Method Description
Dispose(Boolean) Releases the unmanaged resources used by this class and optionally releases the managed resources.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Orders

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Example Code for the Microsoft.CommerceServer.Runtime.Orders Namespace

Copyright © 2005 Microsoft Corporation.
All rights reserved.