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).
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |