Class RedemptionDescription
The representation of a redeemed promotion's affected ILineItems, affected IOrderForms or affected IShipments.
Inheritance
System.Object
RedemptionDescription
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: 13.30.0Syntax
public class RedemptionDescription
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 FulfillmentStatus? Status { get; }
Property Value
Type | Description |
---|---|
System.Nullable<FulfillmentStatus> |