London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 13.30.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>