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 IPromotionExcludedCatalogItemService

Gets the line items that should be excluded by settings of a specific promotion.

Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public interface IPromotionExcludedCatalogItemService

Methods

GetExcludedLineItemCodes(PromotionData, IEnumerable<String>)

Gets the line item codes that are excluded by the promotion setting.

Declaration
IEnumerable<string> GetExcludedLineItemCodes(PromotionData promotionData, IEnumerable<string> codes)
Parameters
Type Name Description
PromotionData promotionData

The promotion.

System.Collections.Generic.IEnumerable<System.String> codes

Codes of line items in the order.

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