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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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