Click or drag to resize
IDeliveryBuilder Interface
Interface for classes able to create Delivery objects from the shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public interface IDeliveryBuilder

The IDeliveryBuilder type exposes the following members.

Methods
  NameDescription
Public methodAddItem
Adds a cart item to the constructed Delivery.
Public methodBuildDelivery
Creates a new instance of Delivery based on builder settings.
Public methodSetCustomData
Sets custom data under the given key.
Public methodSetDeliveryAddress
Sets an address to which the currently constructed Delivery will be shipped.
Public methodSetFromCart
Sets the currently constructed Delivery according to the supplied shopping cart and adds cart items selected by the itemSelector predicate.
Public methodSetShippingDate
Sets the date of shipping.
Public methodSetShippingOption
Sets the shipping option used for the currently constructed Delivery.
Public methodSetWeight
Sets weight of the package with the whole Delivery.
Top
See Also