SaaS CMS has officially launched! Learn more now.

Class PromotionGroup

Presents the marketing promotion group.

Inheritance
System.Object
PromotionGroup
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
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 static class PromotionGroup

Fields

Groups

Create a new Groups dictionary.

Declaration
public static Dictionary<string, string> Groups
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

Methods

GetPromotionGroup(PromotionGroup.PromotionGroupKey)

Gets the promotion group.

Declaration
public static KeyValuePair<string, string> GetPromotionGroup(PromotionGroup.PromotionGroupKey key)
Parameters
Type Name Description
PromotionGroup.PromotionGroupKey key

The key.

Returns
Type Description
System.Collections.Generic.KeyValuePair<System.String, System.String>

GetPromotionGroupValue(PromotionGroup.PromotionGroupKey)

Returns value under specified PromotionGroupKey in Groups collection

Declaration
public static string GetPromotionGroupValue(PromotionGroup.PromotionGroupKey key)
Parameters
Type Name Description
PromotionGroup.PromotionGroupKey key

The key.

Returns
Type Description
System.String