Kopīgot, izmantojot


DiscountApplicationRecordCollection Constructor

Initializes a new instance of the DiscountApplicationRecordCollection class using the specified parent line item and discount.

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

Syntax

'Declaration
Public Sub New ( _
    parentLineItem As LineItem, _
    lineItemDiscount As Boolean _
)
'Usage
Dim parentLineItem As LineItem
Dim lineItemDiscount As Boolean

Dim instance As New DiscountApplicationRecordCollection(parentLineItem, _
    lineItemDiscount)
public DiscountApplicationRecordCollection(
    LineItem parentLineItem,
    bool lineItemDiscount
)
public:
DiscountApplicationRecordCollection(
    LineItem^ parentLineItem, 
    bool lineItemDiscount
)
public function DiscountApplicationRecordCollection(
    parentLineItem : LineItem, 
    lineItemDiscount : boolean
)

Parameters

  • lineItemDiscount
    Type: System..::.Boolean
    true when this discount collection applies to line item discounts, false when this collection holds order discounts.

Remarks

Manages the collection of discount records associated with the line items of an order form.

Permissions

See Also

Reference

DiscountApplicationRecordCollection Class

DiscountApplicationRecordCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace