Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.DiscountData Namespace

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Classes

  Class Description
Public class AppliedDiscountApplication
Public class DiscountableItemGroup Class containing groupings of SalesLine objects so that identical items that are on multiple lines can be considered as a single line.
Public class DiscountApplication Class representing a specific application of a discount to a set of line items on a transaction.
Public class DiscountBase Abstract class containing all of the standard properties that are shared across discount types. For specific discount types, see one of the implementations of this class.
Public class DiscountCalculator This class contains methods used to perform the discount calculations on a transaction, determining the correct discounts to apply to the transaction.
Public class DiscountLineQuantity Class containing the discount line and the quantity of items required for that discount line for groups of line items.
Public class MixAndMatchDiscount This class implements the mix and match discount processing, including the determination of which ways the discount can apply to the transaction and the value of the discount applied to specific lines.
Public class MultipleBuyDiscount This class implements the multi-buy (quantity threshold) discount processing, including the determination of which ways the discount can apply to the transaction and the value of the discount applied to specific lines.
Public class OfferDiscount This class implements the standard (single-line) discount processing, including the determination of which ways the discount can apply to the transaction and the value of the discount applied to specific lines.
Public class RetailDiscountLineItem This class contains the item index and discount line for a matching line within a discount application.
Public class RetailDiscountStore Retail discount store.
Public class ThresholdDiscount This class implements the threshold (by amount) discount processing, including the determination of which ways the discount can apply to the transaction and the value of the discount applied to specific lines.