November Happy Hour will be moved to Thursday December 5th.

Interface ICartProvider

Handles loading and persistence for ICart

Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public interface ICartProvider : IOrderProvider<ICart>

Methods

SaveAsPaymentPlan(ICart)

Saves the ICart as IPaymentPlan.

Declaration
IPaymentPlan SaveAsPaymentPlan(ICart cart)
Parameters
Type Name Description
ICart cart

The ICart.

Returns
Type Description
IPaymentPlan

An IPaymentPlan.

SaveAsPurchaseOrder(ICart)

Saves the ICart as IPurchaseOrder.

Declaration
IPurchaseOrder SaveAsPurchaseOrder(ICart cart)
Parameters
Type Name Description
ICart cart

The ICart.

Returns
Type Description
IPurchaseOrder

An IPurchaseOrder.