Class AffectedOrder
The affected order of the promotion evaluation, used by order promotions.
Inheritance
System.Object
AffectedOrder
Implements
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public class AffectedOrder : Object, 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 |