Share via


ShippingDiscountCollection Constructor

Initializes a new instance of the ShippingDiscountCollection class using the specified parent shipment and discount.

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

Syntax

'Declaration
Public Sub New ( _
    parentShipment As Shipment _
)
'Usage
Dim parentShipment As Shipment

Dim instance As New ShippingDiscountCollection(parentShipment)
public ShippingDiscountCollection(
    Shipment parentShipment
)
public:
ShippingDiscountCollection(
    Shipment^ parentShipment
)
public function ShippingDiscountCollection(
    parentShipment : Shipment
)

Parameters

Remarks

Manages a collection of shipping discount records for the shipments related to an order form.

ShippingDiscountCollection is a sealed implementation class that represents a collection of ShippingDiscountRecord objects.

Permissions

See Also

Reference

ShippingDiscountCollection Class

ShippingDiscountCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace