A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface ICartSearchService

This interface is intended to be used internally by EPiServer. We do not support any backward compatibility on this.

Namespace: EPiServer.Commerce.Order.Internal
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public interface ICartSearchService

Methods

FindCarts(OrderSearchFilter, out Int32)

Finds ICart by a set of parameters.

Declaration
IEnumerable<ICart> FindCarts(OrderSearchFilter filter, out int totalRecords)
Parameters
Type Name Description
OrderSearchFilter filter

The filter options when finding cart.

System.Int32 totalRecords

The total records returned.

Returns
Type Description
System.Collections.Generic.IEnumerable<ICart>

A collection of ICart.