Overrides the pricing set by the logic in this class to the value supplied.

Namespace: Asi.iBO.Commerce
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
protected void OverridePricing(
	decimal unitPrice,
	decimal undiscountedPrice,
	decimal extendedAmount,
	decimal undiscountedExtendedAmount
)
Visual Basic
Protected Sub OverridePricing ( _
	unitPrice As Decimal, _
	undiscountedPrice As Decimal, _
	extendedAmount As Decimal, _
	undiscountedExtendedAmount As Decimal _
)
Visual C++
protected:
void OverridePricing(
	Decimal unitPrice, 
	Decimal undiscountedPrice, 
	Decimal extendedAmount, 
	Decimal undiscountedExtendedAmount
)

Parameters

unitPrice
Type: System..::..Decimal
The desired unit price to be used, including any discount.
undiscountedPrice
Type: System..::..Decimal
The desired undiscounted unit price.
extendedAmount
Type: System..::..Decimal
The desired price to be used, including any discount, taking quantity into account.
undiscountedExtendedAmount
Type: System..::..Decimal
The desired undiscounted price, taking quantity into account.

Remarks

Only used by descendents to make type specific adjustments to the prices

See Also