World is now on Opti ID! Learn more

Class MarketingOptions

Contains options for the marketing system.

Inheritance
System.Object
MarketingOptions
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class MarketingOptions : Object

Constructors

MarketingOptions()

Declaration
public MarketingOptions()

Properties

DiscountedEntryCacheExpiration

The expiration time for discounted entries.

Declaration
public TimeSpan DiscountedEntryCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan

EvaluablePromotionCacheExpiration

The expiration time for evaluable promotion.

Declaration
public TimeSpan EvaluablePromotionCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 30 seconds

LinkableTypesEnabled

Indicates whether Marketing Links in link selector dialog should be shown or not.

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

Default value is false

PromotionInformationCacheExpiration

The expiration time for promotion information.

Declaration
public TimeSpan PromotionInformationCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 10 minutes

StatisticsCacheExpiration

The expiration time for marketing statistics.

Declaration
public TimeSpan StatisticsCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 24 hours.