SaaS CMS has officially launched! Learn more now.

Class RecordPromotionUsageActivity

This activity records the usage of the promotions so this information can be used to inforce various customer and application based limits.

Inheritance
System.Object
RecordPromotionUsageActivity
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.Workflow.Activities.Cart
Assembly: Mediachase.Commerce.Workflow.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 RecordPromotionUsageActivity : CartActivityBase

Constructors

RecordPromotionUsageActivity()

Declaration
public RecordPromotionUsageActivity()

Properties

UsageStatus

Gets or sets the usage status.

Declaration
[ActivityFlowContextProperty]
public PromotionUsageStatus UsageStatus { get; set; }
Property Value
Type Description
PromotionUsageStatus

The usage status.

Methods

Execute(ActivityExecutionContext)

Called by the workflow runtime to execute an activity.

Declaration
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
Parameters
Type Name Description
ActivityExecutionContext executionContext

The ActivityExecutionContext to associate with this Activity and execution.

Returns
Type Description
ActivityExecutionStatus

The ActivityExecutionStatus of the run task, which determines whether the activity remains in the executing state, or transitions to the closed state.

Overrides