Interface ICartProvider

Handles loading and persistence for ICart

Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
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.