Table of Contents

Class OrderPromotionCandidate

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Represents a promotion candidate that can be used for the whole order.

public class OrderPromotionCandidate : IPromotionCandidate
Inheritance
object
OrderPromotionCandidate
Implements
Extension Methods

Remarks

This class is returned by order promotion rules to indicate a discount that can be applied to the order total. The price calculation service evaluates all order promotion candidates and applies the best one based on the discount amount.

Constructors

OrderPromotionCandidate()

public OrderPromotionCandidate()

Properties

OrderDiscountAmount

Gets or sets the nominal discount amount to be applied to the order total.

public decimal OrderDiscountAmount { get; set; }

Property Value

decimal

Remarks

This value represents the discount amount that will be subtracted from the order total after all line item discounts have been applied.