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

Class IOrderSearchServiceExtensions

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version.

Provides convenience extension methods when working with IOrderSearchService.

Inheritance
System.Object
IOrderSearchServiceExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public static class IOrderSearchServiceExtensions

Methods

FindCarts(IOrderSearchService, OrderSearchFilter)

Finds ICart with a specific filter.

Declaration
public static OrderSearchResults<ICart> FindCarts(this IOrderSearchService orderSearch, OrderSearchFilter filter)
Parameters
Type Name Description
IOrderSearchService orderSearch

The order search service.

OrderSearchFilter filter

The search filter.

Returns
Type Description
OrderSearchResults<ICart>

The order search results.

FindPaymentPlans(IOrderSearchService, OrderSearchFilter)

Finds IPaymentPlan with a specific filter.

Declaration
public static OrderSearchResults<IPaymentPlan> FindPaymentPlans(this IOrderSearchService orderSearch, OrderSearchFilter filter)
Parameters
Type Name Description
IOrderSearchService orderSearch

The order search service.

OrderSearchFilter filter

The search filter.

Returns
Type Description
OrderSearchResults<IPaymentPlan>

The order search results.

FindPurchaseOrders(IOrderSearchService, OrderSearchFilter)

Finds IPurchaseOrder with a specific filter.

Declaration
public static OrderSearchResults<IPurchaseOrder> FindPurchaseOrders(this IOrderSearchService orderSearch, OrderSearchFilter filter)
Parameters
Type Name Description
IOrderSearchService orderSearch

The order search service.

OrderSearchFilter filter

The search filter.

Returns
Type Description
OrderSearchResults<IPurchaseOrder>

The order search results.