Share via


PromotionCode Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

The promotion code web part allows entering of a promotion or coupon code and applying it to the order.

Namespace:  Microsoft.Dynamics.Retail.SharePoint.Web.WebParts
Assembly:  Microsoft.Dynamics.Retail.SP.Web.WebParts (in Microsoft.Dynamics.Retail.SP.Web.WebParts.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Class PromotionCode _
    Inherits RetailWebPart
'Usage
Dim instance As PromotionCode
[ComVisibleAttribute(false)]
public class PromotionCode : RetailWebPart
[ComVisibleAttribute(false)]
public ref class PromotionCode : public RetailWebPart

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.Dynamics.Retail.SharePoint.Web.WebParts.RetailWebPart
              Microsoft.Dynamics.Retail.SharePoint.Web.WebParts.PromotionCode

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Retail.SharePoint.Web.WebParts Namespace