Partager via


MinimumAmount Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the minimum amount (price or quantity) that must exist for this condition to be satisfied.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public Property MinimumAmount As Decimal
'Usage
Dim instance As DiscountCondition
Dim value As Decimal

value = instance.MinimumAmount

instance.MinimumAmount = value
public decimal MinimumAmount { get; set; }
public:
property Decimal MinimumAmount {
    Decimal get ();
    void set (Decimal value);
}
public function get MinimumAmount () : decimal
public function set MinimumAmount (value : decimal)

Property Value

Type: System..::.Decimal
The minimum quantity or price that a user must purchase for this condition to be satisfied. The default is 0.

Remarks

If Basis is set to Price, this value indicates minimum purchase price. If Basis is set to Quantity, this value indicates minimum purchase quantity.

Permissions

See Also

Reference

DiscountCondition Class

DiscountCondition Members

Microsoft.CommerceServer.Marketing Namespace