Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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>