다음을 통해 공유


DiscountValue Property

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

Gets or sets a currency or percentage value for the discount.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property DiscountValue As Decimal
'Usage
Dim instance As DiscountApplicationRecordBase
Dim value As Decimal

value = instance.DiscountValue

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

Property Value

Type: System..::.Decimal
A currency or percentage value for the discount.

Remarks

The meaning of the numeric value of this property is defined by the DiscountType specified in TypeOfDiscount

Permissions

See Also

Reference

DiscountApplicationRecordBase Class

DiscountApplicationRecordBase Members

Microsoft.CommerceServer.Runtime.Orders Namespace