Dynamicweb 8 Documentation
Discount Constructor(Product,ProductDiscount,SalesDiscount)

The product.
The product discount.
The sales discount.
Initializes a new instance of the Discount class.
Syntax
'Declaration
 
Public Function New( _ 
   ByRef Product As Product, _ 
   ByRef ProductDiscount As ProductDiscount, _ 
   ByRef SalesDiscount As SalesDiscount _ 
)
public Discount( 
   ref Product Product,
   ref ProductDiscount ProductDiscount,
   ref SalesDiscount SalesDiscount 
)

Parameters

Product
The product.
ProductDiscount
The product discount.
SalesDiscount
The sales discount.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Discount Class
Discount Members
Overload List

Send Feedback