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 ICouponUsage

Tracks coupon usage for promotions.

Namespace: EPiServer.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public interface ICouponUsage

Methods

Report(IEnumerable<PromotionInformation>)

Handles any reported used coupons, e.g. marking single-use coupon codes as used.

Declaration
void Report(IEnumerable<PromotionInformation> appliedPromotions)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<PromotionInformation> appliedPromotions

The applied promotions, containing the used coupon code where applicable.