Click or drag to resize
DefaultDeliveryBuilderAddItems Method
Adds calculation request items selected by the itemSelector predicate to the constructed Delivery.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected virtual void AddItems(
	CalculationRequest request,
	Func<CalculationRequestItem, bool> itemSelector = null
)

Parameters

request
Type: CMS.EcommerceCalculationRequest
The CalculationRequest object from which the items are added.
itemSelector (Optional)
Type: SystemFuncCalculationRequestItem, Boolean
The predicate deciding which items are added to Delivery. When null, all items are added.
Remarks
All items representing products are included. The itemSelector allows you to further narrow the subset if items placed into constructed delivery.
See Also