SaaS CMS has officially launched! Learn more now.

Class PromotionFilter

Promotion Filer. Defines filtering options that will be applied when promotion engine executes. Use this configuration file to control which parameters are checked.

Inheritance
System.Object
PromotionFilter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public sealed class PromotionFilter

Constructors

PromotionFilter()

Initializes a new instance of the PromotionFilter class.

Declaration
public PromotionFilter()

Properties

IgnoreConditions

Gets or sets a value indicating whether [ignore conditions].

Declaration
public bool IgnoreConditions { get; set; }
Property Value
Type Description
System.Boolean

true if [ignore conditions]; otherwise, false.

IgnorePolicy

Gets or sets a value indicating whether [ignore policy].

Declaration
public bool IgnorePolicy { get; set; }
Property Value
Type Description
System.Boolean

true if [ignore policy]; otherwise, false.

IgnoreRedemptions

Gets or sets a value indicating whether [ignore redemptions].

Declaration
public bool IgnoreRedemptions { get; set; }
Property Value
Type Description
System.Boolean

true if [ignore redemptions]; otherwise, false.

IgnoreSegments

Gets or sets a value indicating whether [ignore segments].

Declaration
public bool IgnoreSegments { get; set; }
Property Value
Type Description
System.Boolean

true if [ignore segments]; otherwise, false.

IncludeCoupons

Gets or sets a value indicating whether [include coupons].

Declaration
public bool IncludeCoupons { get; set; }
Property Value
Type Description
System.Boolean

true if [include coupons]; otherwise, false.

IncludeInactive

Gets or sets a value indicating whether [include inactive].

Declaration
public bool IncludeInactive { get; set; }
Property Value
Type Description
System.Boolean

true if [include inactive]; otherwise, false.

Methods

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare with the current System.Object.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to the current System.Object; otherwise, false.

Overrides
System.Object.Equals(System.Object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current System.Object.

Overrides
System.Object.GetHashCode()
Remarks

Compiler complains that there is no override of the GetHashCode() method. Maybe a separate one can be implemented in the future? For now, just the default definition .NET provides.