ShipmentTotal Property

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

Gets or sets the total shipping cost for the current shipment.

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

Syntax

'Declaration
Public Property ShipmentTotal As Decimal
'Usage
Dim instance As Shipment
Dim value As Decimal

value = instance.ShipmentTotal

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

Property Value

Type: System..::.Decimal
The total shipping cost for all the items in the current instance. Default is 0.

Exceptions

Exception Condition
ArgumentException

The value being set is less than zero. Assign ShipmentTotal a value greater than or equal to zero to prevent this exception.

Remarks

Stores the total shipping cost for the current shipment.

Permissions

See Also

Reference

Shipment Class

Shipment Members

Microsoft.CommerceServer.Runtime.Orders Namespace