Click or drag to resize
DefaultDeliveryBuilder Class
Default implementation of IDeliveryBuilder. Creates delivery objects base on shopping cart.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceDefaultDeliveryBuilder

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public class DefaultDeliveryBuilder : IDeliveryBuilder

The DefaultDeliveryBuilder type exposes the following members.

Constructors
  NameDescription
Public methodDefaultDeliveryBuilder
Top
Methods
  NameDescription
Protected methodAddContainerToCustomData
Adds data container to custom data of constructed delivery.
Public methodAddItem
Adds a cart item to constructed delivery.
Protected methodAddItems
Adds cart items selected by itemSelector predicate to constructed delivery.
Public methodBuildDelivery
Creates new delivery based on builder settings.
Protected methodCreateDeliveryItem
Creates new delivery item for given shopping cart item.
Protected methodEnsureDefaultValues
Sets shipping date of delivery to Now when no specific date was set. Override this method to ensure default data in constructed delivery. This method is called before new delivery is returned.
Protected methodGetItemCustomDataContainers
Override this method to populate supplied list with custom data containers.
Protected methodInitCustomData
Adds custom data to constructed delivery. Override this method to add some custom data to constructed delivery.
Protected methodInitItemCustomData
Adds custom data to constructed delivery item.
Public methodSetCustomData
Sets custom data under given key.
Public methodSetDeliveryAddress
Sets address where the delivery will be delivered to.
Public methodSetFromCart
Sets currently constructed Delivery according to supplied shopping cart and adds cart items selected by itemSelector predicate.
Public methodSetShippingDate
Sets date of shipping.
Public methodSetShippingOption
Sets shipping option used for currently constructed delivery.
Public methodSetWeight
Sets weight of whole delivery (package).
Top
See Also