Partilhar via


Total Property

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

Gets the sum total of sub total, shipping, handling and taxes for the current order.

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

Syntax

'Declaration
Public ReadOnly Property Total As Decimal
'Usage
Dim instance As OrderGroup
Dim value As Decimal

value = instance.Total
public decimal Total { get; }
public:
property Decimal Total {
    Decimal get ();
}
public function get Total () : decimal

Property Value

Type: System..::.Decimal
The sum total of sub total, shipping, handling and taxes. The total charge.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Sums the total charge for all OrderForm objects in the current OrderFormCollection.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace