Class LegacyRemoveDiscountsActivity
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
Assembly: Mediachase.Commerce.Workflow.dll
Version: 12.17.2Syntax
[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 LegacyRemoveDiscountsActivity : OrderGroupActivityBase
Constructors
LegacyRemoveDiscountsActivity()
Declaration
public LegacyRemoveDiscountsActivity()
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
IsGiftLineItem(LineItem)
Determines whether [is gift line item] [the specified line item].
Declaration
public bool IsGiftLineItem(LineItem lineItem)
Parameters
Type | Name | Description |
---|---|---|
LineItem | lineItem | The line item. |
Returns
Type | Description |
---|---|
System.Boolean |
|