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 control allows entering of a promotion or coupon code and applying it to the order.

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

Syntax

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

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      Microsoft.Dynamics.Retail.SharePoint.Web.Controls.RetailWebControl
        Microsoft.Dynamics.Retail.SharePoint.Web.Controls.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.Controls Namespace