Class RedemptionDescription
The representation of a redeemed promotion's affected ILineItems, affected IOrderForms or affected IShipments.
Inheritance
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public class RedemptionDescription : Object
Remarks
Instances of this class is created using "CreateRedemptionDescription" methods in EntryPromotionProcessorBase<TEntryPromotion>, OrderPromotionProcessorBase<TOrderPromotion>, or ShippingPromotionProcessorBase<TShippingPromotion>.
Constructors
RedemptionDescription(IEnumerable<IAffectedObject>)
Initialize a new instance of the RedemptionDescription class.
Declaration
protected RedemptionDescription(IEnumerable<IAffectedObject> affectedObjects)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IAffectedObject> | affectedObjects | The objects affected by the promotion. |
Properties
AffectedEntries
The line items affected by the promotion._affectedItems
Declaration
public AffectedEntries AffectedEntries { get; }
Property Value
Type | Description |
---|---|
AffectedEntries |
AffectedObjects
Gets the affected objects.
Declaration
public IEnumerable<IAffectedObject> AffectedObjects { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IAffectedObject> |
AffectedOrders
Gets the affected orders that contains an order level discount.
Declaration
public IEnumerable<AffectedOrder> AffectedOrders { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<AffectedOrder> |
AffectedShipments
Gets the affected shipments.
Declaration
public AffectedShipments AffectedShipments { get; }
Property Value
Type | Description |
---|---|
AffectedShipments |
SavedAmount
Gets the amount saved by the redeemed promotion.
Declaration
public Decimal SavedAmount { get; }
Property Value
Type | Description |
---|---|
System.Decimal |
Status
Gets the status.
Declaration
public Nullable<FulfillmentStatus> Status { get; }
Property Value
Type | Description |
---|---|
System.Nullable<FulfillmentStatus> |