다음을 통해 공유


DiscountCalculationMode Enumeration

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.

Defines how the pricing calculation should act on the set of lines passed into it.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
<DataContractAttribute> _
<FlagsAttribute> _
Public Enumeration DiscountCalculationMode
'Usage
Dim instance As DiscountCalculationMode
[DataContractAttribute]
[FlagsAttribute]
public enum DiscountCalculationMode
[DataContractAttribute]
[FlagsAttribute]
public enum class DiscountCalculationMode

Members

Member name Description
None Calculate none.
CalculateOffer Calculate discount offer.
CalculateMultipleBuy Calculate multiple buy.
CalculateMixAndMatch Calculate mix and match.
CalculateThreshold Calculate threshold.
CalculateAll Calculate all.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace