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
Inherited Members
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
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 |
|
IgnorePolicy
Gets or sets a value indicating whether [ignore policy].
Declaration
public bool IgnorePolicy { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IgnoreRedemptions
Gets or sets a value indicating whether [ignore redemptions].
Declaration
public bool IgnoreRedemptions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IgnoreSegments
Gets or sets a value indicating whether [ignore segments].
Declaration
public bool IgnoreSegments { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IncludeCoupons
Gets or sets a value indicating whether [include coupons].
Declaration
public bool IncludeCoupons { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IncludeInactive
Gets or sets a value indicating whether [include inactive].
Declaration
public bool IncludeInactive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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
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
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.