Jaa


ExtendedPrice Property

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

Gets or sets the total extended price of the current line item when it was added to the order group.

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

Syntax

'Declaration
Public Property ExtendedPrice As Decimal
'Usage
Dim instance As LineItem
Dim value As Decimal

value = instance.ExtendedPrice

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

Property Value

Type: System..::.Decimal
Stores the total extended price of the current line item, the extended price of the current instance when it was added to the order group. Cannot be less than zero.

Exceptions

Exception Condition
ArgumentException

The value being set is less than zero. Assign a value to ExtendedPrice that is greater than or equal to zero to prevent this exception.

Remarks

Extended price is calculated by the CopyDiscounts managed pipeline component, as follows: ExtendedPrice = (ListPrice * Quantity) - LineItemDiscountAmount - OrderLevelDiscountAmount.

Permissions

See Also

Reference

LineItem Class

LineItem Members

Microsoft.CommerceServer.Runtime.Orders Namespace