Interface ICartProvider
Handles loading and persistence for ICart
Inherited Members
Namespace: EPiServer.Commerce.Order
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
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. |