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

Class DefaultCouponUsage

Default implementation which doesn't do anything.

Inheritance
System.Object
DefaultCouponUsage
Implements
Namespace: EPiServer.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class DefaultCouponUsage : Object, ICouponUsage

Constructors

DefaultCouponUsage()

Declaration
public DefaultCouponUsage()

Methods

Report(IEnumerable<PromotionInformation>)

Does nothing. This implementation does not care about used codes.

Declaration
public 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.

Exceptions
Type Condition
System.NotImplementedException

Implements