Class CatalogPromotionCandidate
Represents a promotion candidate that can be used for the specified product.
public class CatalogPromotionCandidate : IPromotionCandidate
- Inheritance
-
objectCatalogPromotionCandidate
- Implements
- Extension Methods
Remarks
This class is returned by catalog promotion rules to indicate a discount that can be applied to a product's unit price. The price calculation service evaluates all catalog promotion candidates for each product and applies the best one based on the discount amount.
Constructors
CatalogPromotionCandidate()
public CatalogPromotionCandidate()
Properties
UnitPriceDiscountAmount
Gets or sets the nominal discount amount to be applied to the unit price.
public decimal UnitPriceDiscountAmount { get; set; }
Property Value
- decimal
Remarks
This value represents the discount amount that will be subtracted from each unit of the product. The total discount for a line item is calculated by multiplying this value by the quantity.