Share via


DiscountAmount Property

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

Gets or sets the amount deducted from a line item or order.

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

Syntax

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

value = instance.DiscountAmount

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

Property Value

Type: System..::.Decimal
The amount deducted from a line item or order.

Remarks

Stores the amount deducted from a line item or order.

Permissions

See Also

Reference

DiscountApplicationRecordBase Class

DiscountApplicationRecordBase Members

Microsoft.CommerceServer.Runtime.Orders Namespace