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
- 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.
See Also
Reference
DiscountApplicationRecordBase Class