SaaS CMS has officially launched! Learn more now.

Class GiftPromotionReward

Gift promotion reward. Allows promotion engine to specify discount that requires item to be added to the cart. The add operation will be performed by the custom code either in workflow activity or front end source code.

Inheritance
System.Object
GiftPromotionReward
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.Objects
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 class GiftPromotionReward : PromotionReward

Constructors

GiftPromotionReward(String, Decimal, String)

Initializes a new instance of the GiftPromotionReward class.

Declaration
public GiftPromotionReward(string rewardType, decimal amountOff, string amountType)
Parameters
Type Name Description
System.String rewardType

Type of the reward.

System.Decimal amountOff

The amount off.

System.String amountType

Type of the amount.

GiftPromotionReward(String, Decimal, String, GiftPromotionReward.Strategy)

Initializes a new instance of the GiftPromotionReward class.

Declaration
public GiftPromotionReward(string rewardType, decimal amountOff, string amountType, GiftPromotionReward.Strategy strategy)
Parameters
Type Name Description
System.String rewardType

Type of the reward.

System.Decimal amountOff

The amount off.

System.String amountType

Type of the amount.

GiftPromotionReward.Strategy strategy

The strategy.

Properties

AddStrategy

Gets or sets the add strategy.

Declaration
public GiftPromotionReward.Strategy AddStrategy { get; set; }
Property Value
Type Description
GiftPromotionReward.Strategy

The add strategy.