• IShoppingCartProvider

IShoppingCartProvider

Namespace: Middleware

Assembly: Middleware

Shopping cart provider interface, used to query shopping cart data. This item must be implemented by the host application and made available via DI.

Methods

GetDetail(Int64) Retrieves detailed information on a shopping cart.
AddToCart(Shared.Classes.UserSession, SharedPluginFeatures.ShoppingCartSummary, Middleware.Products.Product, Int32) Adds an individual product to a shopping cart.
ValidateVoucher(SharedPluginFeatures.ShoppingCartSummary, String, Int64) Validates a shopping cart voucher to determine its validity.
ConvertToOrder(SharedPluginFeatures.ShoppingCartSummary, Int64, Middleware.Accounts.Orders.Order) Converts a shopping cart to an order.

In This Document