Share via


ShippingTotal Property

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

Gets or sets 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 Property ShippingTotal As Decimal
'Usage
Dim instance As OrderForm
Dim value As Decimal

value = instance.ShippingTotal

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

Property Value

Type: System..::.Decimal
The total shipping charges associated with the OrderForm, after all applicable shipping discounts have been applied.

Exceptions

Exception Condition
ArgumentException

ShippingTotal is set to a negative value.

Remarks

Stores the total shipping charges associated with the current instance, after all applicable shipping discounts have been applied.The ShippingTotal is calculated during execution of the pipeline. If you add line items and access ShippingTotal without executing a pipeline, ShippingTotal will still be set to initial value.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace