Discount Constructor

Initializes a new instance of the Discount class.

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

Syntax

'Declaration
Protected Friend Sub New ( _
    parent As CampaignItemManager, _
    xmlSerializable As DiscountData, _
    loadedFromDB As Boolean _
)
'Usage
Dim parent As CampaignItemManager
Dim xmlSerializable As DiscountData
Dim loadedFromDB As Boolean

Dim instance As New Discount(parent, _
    xmlSerializable, loadedFromDB)
protected internal Discount(
    CampaignItemManager parent,
    DiscountData xmlSerializable,
    bool loadedFromDB
)
protected public:
Discount(
    CampaignItemManager^ parent, 
    DiscountData^ xmlSerializable, 
    bool loadedFromDB
)
protected internal function Discount(
    parent : CampaignItemManager, 
    xmlSerializable : DiscountData, 
    loadedFromDB : boolean
)

Parameters

  • xmlSerializable
    Type: DiscountData
    Xml proxy object representing a Discount. This is typically an object that was retrieved by the web service.
  • loadedFromDB
    Type: System..::.Boolean
    true if the Discount is just loaded from the database; otherwise false.

Remarks

Discount Constructor. This object is not publicly creatable. It is typically returned through the methods of the CampaignItemManager object.

Permissions

See Also

Reference

Discount Class

Discount Members

Microsoft.CommerceServer.Marketing Namespace