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: 10.8.0Syntax
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 |