다음을 통해 공유


CalculationModes 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.

An enumeration used to indicate which combination of calculations should be performed when returning the cart.

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
<FlagsAttribute> _
Public Enumeration CalculationModes
'Usage
Dim instance As CalculationModes
[FlagsAttribute]
public enum CalculationModes
[FlagsAttribute]
public enum class CalculationModes

Members

Member name Description
None No calculations are performed.

This value must be checked directly and not used with HasFlags method.

Prices Prices are calculated.
Discounts Discounts are calculated.
Charges Charges are calculated.
Taxes Taxes are calculated.
Totals Totals are calculated and rounded.
Deposit Deposit and prepayments are calculated.
AmountDue Amount due (balance due) is calculated.
All All calculations are performed.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace