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
- parentShipment
Type: Microsoft.CommerceServer.Runtime.Orders..::.Shipment
A Shipment describing the parent line item to which the discounts belong.
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
- 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.
See Also
Reference
ShippingDiscountCollection Class