Class AffectedOrder
The affected order of the promotion evaluation, used by order promotions.
Inheritance
System.Object
AffectedOrder
Implements
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: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class AffectedOrder : IAffectedObject
Constructors
AffectedOrder(IOrderForm)
Initializes a new instance of the AffectedOrder class. All line items in the order will be affected.
Declaration
public AffectedOrder(IOrderForm orderForm)
Parameters
Type | Name | Description |
---|---|---|
IOrderForm | orderForm | The affected order by the promotion. |
Properties
LineItems
The line items in the order.
Declaration
public IEnumerable<ILineItem> LineItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILineItem> |
Explicit Interface Implementations
IAffectedObject.SavedAmount
The saved amount.
Declaration
decimal IAffectedObject.SavedAmount { get; set; }
Returns
Type | Description |
---|---|
System.Decimal |