DefaultDeliveryBuilder Class |
Namespace: CMS.Ecommerce
public class DefaultDeliveryBuilder : IDeliveryBuilder
The DefaultDeliveryBuilder type exposes the following members.
Name | Description | |
---|---|---|
DefaultDeliveryBuilder |
Name | Description | |
---|---|---|
AddContainerToCustomData |
Adds data container to custom data of constructed delivery.
| |
AddItem |
Adds a cart item to constructed delivery.
| |
AddItems |
Adds cart items selected by itemSelector predicate to constructed delivery.
| |
BuildDelivery |
Creates new delivery based on builder settings.
| |
CreateDeliveryItem |
Creates new delivery item for given shopping cart item.
| |
EnsureDefaultValues |
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.
| |
GetItemCustomDataContainers |
Override this method to populate supplied list with custom data containers.
| |
InitCustomData |
Adds custom data to constructed delivery.
Override this method to add some custom data to constructed delivery.
| |
InitItemCustomData |
Adds custom data to constructed delivery item.
| |
SetCustomData |
Sets custom data under given key.
| |
SetDeliveryAddress |
Sets address where the delivery will be delivered to.
| |
SetFromCart |
Sets currently constructed Delivery according to supplied shopping cart and adds cart items selected by
itemSelector predicate.
| |
SetShippingDate |
Sets date of shipping.
| |
SetShippingOption |
Sets shipping option used for currently constructed delivery.
| |
SetWeight |
Sets weight of whole delivery (package).
|