Click or drag to resize
IDeliveryBuilderSetFromCalculationRequest Method
Sets the currently constructed Delivery according to the supplied calculation request data and adds request items selected by the itemSelector predicate.

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

Parameters

request
Type: CMS.EcommerceCalculationRequest
The calculation request data to be packed in the constructed Delivery.
itemSelector (Optional)
Type: SystemFuncCalculationRequestItem, Boolean
The predicate deciding which items are added to Delivery. When null, all items are added.
See Also