Partager via


PromoCodeRecord Constructor

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

Initializes a new instance of the PromoCodeRecord class by initializing the promo code and definition Id to empty string.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New PromoCodeRecord()
public PromoCodeRecord()
public:
PromoCodeRecord()
public function PromoCodeRecord()

Remarks

Creates a new instance of the PromoCodeRecord class by initializing the promo code and definition Id to empty string.

PromoCodeRecord is a concrete implementation class that is associated with an OrderForm object. PromoCodeRecord objects are formed after execution of the PromoCode Pipeline component.

Permissions

See Also

Reference

PromoCodeRecord Class

PromoCodeRecord Members

PromoCodeRecord Overload

Microsoft.CommerceServer.Runtime.Orders Namespace