Partilhar via


PromoApplied Property

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

Gets or sets a value that indicates if one or more discounts associated with the current PromoCode definition is actually applied to the Order.

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

Syntax

'Declaration
Public Property PromoApplied As Boolean
'Usage
Dim instance As PromoCodeRecord
Dim value As Boolean

value = instance.PromoApplied

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

Property Value

Type: System..::.Boolean
true if one or more discounts apply to the order; otherwise, false.

Remarks

Stores a value that indicates if one or more discounts associated with the current PromoCode definition is actually applied to the Order. PromoApplied is calculated during execution of the pipeline that contains the PromoCode Pipeline component. Typically, the Basket pipeline will contain this component.

Permissions

See Also

Reference

PromoCodeRecord Class

PromoCodeRecord Members

Microsoft.CommerceServer.Runtime.Orders Namespace