Dynamicweb.eCommerce.Discounts Namespace > Discount Class > Discount Constructor : Discount Constructor(Product,ProductDiscount,String,String) |
'Declaration
Public Function New( _ ByRef Product As Product, _ ByRef ProductDiscount As ProductDiscount, _ ByRef SalesDiscountName As String, _ ByRef SalesDiscountDescription As String _ )
public Discount( ref Product Product, ref ProductDiscount ProductDiscount, ref string SalesDiscountName, ref string SalesDiscountDescription )
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