Click or drag to resize
DefaultDeliveryBuilderGetItemCustomDataContainers Method
Override this method to populate the supplied list with the custom data containers.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual void GetItemCustomDataContainers(
	List<IDataContainer> containers,
	CalculationRequestItem requestItem
)

Parameters

containers
Type: System.Collections.GenericListIDataContainer
The list of containers to be populated.
requestItem
Type: CMS.EcommerceCalculationRequestItem
The calculation request item for which the custom data is processed.
Remarks
The following code illustrates how to add custom data to DeliveryItem.
protected override void GetItemCustomDataContainers(List<IDataContainer> containers, CalculationRequestItem requestItem)
{
    base.GetItemCustomDataContainers(containers, requestItem);

    containers.Add(requestItem.ItemCustomData);
}
See Also