次の方法で共有


ShippingTotal Property

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

Gets the total shipping charges associated with the current instance, after all applicable shipping discounts have been applied

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

Syntax

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

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

Property Value

Type: System..::.Decimal
The total shipping 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 shipping total for all the OrderForm objects in the OrderFormCollection.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace