Partilhar via


IncludeDiscountsWithPromoCodes Property

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

Gets or sets a value that indicates if the filtered DiscountItemCollection should include discounts that have promotion codes (coupons) associated with them. The default value is true.

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

Syntax

'Declaration
Public Property IncludeDiscountsWithPromoCodes As Boolean
'Usage
Dim instance As DiscountCriteriaFilter
Dim value As Boolean

value = instance.IncludeDiscountsWithPromoCodes

instance.IncludeDiscountsWithPromoCodes = value
public bool IncludeDiscountsWithPromoCodes { get; set; }
public:
property bool IncludeDiscountsWithPromoCodes {
    bool get ();
    void set (bool value);
}
public function get IncludeDiscountsWithPromoCodes () : boolean
public function set IncludeDiscountsWithPromoCodes (value : boolean)

Property Value

Type: System..::.Boolean
true to indicate that the DiscountItemCollection should include discounts that have promotion codes (coupons) associated with them; otherwise false.

Remarks

A return value of true indicates that the filtered DiscountItemCollection should include discounts that have promotion codes (coupons) associated with them. A return value of false will cause any discounts with coupons to be excluded from the filtered DiscountItemCollection.

Permissions

See Also

Reference

DiscountCriteriaFilter Class

DiscountCriteriaFilter Members

Microsoft.CommerceServer.Runtime.Marketing Namespace