Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.