DefaultDeliveryBuilderGetItemCustomDataContainers Method |
Override this method to populate the supplied list with the custom data containers.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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