Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the buy condition that must be satisfied to qualify for the discount.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public ReadOnly Property Condition As DiscountCondition
'Usage
Dim instance As Discount
Dim value As DiscountCondition
value = instance.Condition
public DiscountCondition Condition { get; }
public:
property DiscountCondition^ Condition {
DiscountCondition^ get ();
}
public function get Condition () : DiscountCondition
Property Value
Type: Microsoft.CommerceServer.Marketing..::.DiscountCondition
A DiscountCondition object that contains information about the buy condition for the discount.
Remarks
The default property values for DiscountCondition are as follows:
Basis = Quantity (A minimum purchase quantity must be met for the condition to be satisfied.)
ConditionExpression = AlwaysTrueExpressionRef (A reference to the expression that is evaluated against each item in the user's basket.)
MinimumAmount = 0 (The minimum quantity or price that a user must purchase for this condition to be satisfied.)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.