Printer Friendly Version      Send     
Click to Rate and Give Feedback
.NET Framework Class Library
Discount Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Defines a single discount within a campaign.

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

Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
Public Class Discount _
    Inherits DisplayableCampaignItem
Visual Basic (Usage)
Dim instance As Discount
C#
[ComVisibleAttribute(false)]
public class Discount : DisplayableCampaignItem
Visual C++
[ComVisibleAttribute(false)]
public ref class Discount : public DisplayableCampaignItem
JScript
public class Discount extends DisplayableCampaignItem

The Discount class defines details of a discount. A Discount object contains information such as the condition, award, offer amount, offer type, and eligibility requirements of a discount. It can also have one PromoCodeDefinition object associated with it. The base type of a discount is the CampaignItem class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker