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: 8.2.23
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also